Redirect old URL's from referring sites?
-
Hi
I have just came across some URL's from the previous web designer and the site structure has now changed.
There are some links on the web however that are still pointing at the old deep weblinks.
Without having to contact each site it there a way to automatically sort the links from the old structure
www.mydomain.com/show/english/index.aspx
to just
Many Thanks
-
Hi Yes I think so, but is there a way to check/run a test?
UPDATE - Yes it is enabled its on Dreamhost
-
Does the apache have the mod rewrite installed?
-
Hi Robert
I am trying the following in a .htaccess file but the old URL is not redirecting to the root url?
RewriteEngine on
RedirectMatch 301 http://mydomain.co.uk/show/english/home.aspx http://www.mydomain.co.uk
RedirectMatch 301 http://www.mydomain.co.uk/show/english/home.aspx http://www.mydomain.co.uk
-
Sorry Ocelot, was tied up.
Here is a link to a moz resource from WebConfs.com
On moz here is another good resource page re redirects (where I pulled that link above from).
On WebConfs.com in the left sidebar is a redirect checker, once done put in your url and see how you did.
LMK if you get stuck.
-
Thanks Robert
But what is the correct code needed for the 301 in the .htaccess file as I am not getting this right at the moment! Been trying for the past few hours!
-
For yours, when you know the bad url is www.example.com/how-happened/dont-know
And you have a how-happened page on current site. In the .htaccess file put your 301 from bad link to current url and you will move any links as well.
-
Thanks again Robert!
How would you direct the old links to the relevant pages, as in my example of
www.mydomain.com/show/english/index. aspx
to just
Do you have any working examples that I could modify to suit my scenario above? Would this be done in a .htaccess file or in WMT? or could I just recreate the directory structure and file with a 301 to the new page?
-
Ocelot,
I would use Screaming Frog to spider the site. If you don't have, you should be able to download a free version from the web to whatever browser, etc. you use. When you open it, you will see where to put the domain and below that a row of buttons - use response codes to find what 404's you have. then click on them and use the links button at the bottom to see the links to those pages.
There is no blanket way to redirect the bad links if that is what you are asking. You can look at them in WMT and for the ones that have authority/get traffic, etc. you can redirect those to relevant pages and the others you need to have a good 404 page up that keeps them on the site.
Hope that helps,
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
These days on Google results, it also shows the site map. I submitted my company's sitemap and it still does not show?What am I doing wrong?
Look at the image in the link. I want my company to look like the "pluralsight" website in Google. I want it to show the sitemap. I have already submitted the sitemap to Google few days back, what am I doing wrong? search?sourceid=chrome-psyapi2&ion=1&espv=2&ie=UTF-8&q=pluralsight&oq=pluralsight&aqs=chrome..69i57j0l5.11024j0j8
Technical SEO | | Deein0 -
Old URLs Appearing in SERPs
Thirteen months ago we removed a large number of non-corporate URLs from our web server. We created 301 redirects and in some cases, we simply removed the content as there was no place to redirect to. Unfortunately, all these pages still appear in Google's SERPs (not Bings) for both the 301'd pages and the pages we removed without redirecting. When you click on the pages in the SERPs that have been redirected - you do get redirected - so we have ruled out any problems with the 301s. We have already resubmitted our XML sitemap and when we run a crawl using Screaming Frog we do not see any of these old pages being linked to at our domain. We have a few different approaches we're considering to get Google to remove these pages from the SERPs and would welcome your input. Remove the 301 redirect entirely so that visits to those pages return a 404 (much easier) or a 410 (would require some setup/configuration via Wordpress). This of course means that anyone visiting those URLs won't be forwarded along, but Google may not drop those redirects from the SERPs otherwise. Request that Google temporarily block those pages (done via GWMT), which lasts for 90 days. Update robots.txt to block access to the redirecting directories. Thank you. Rosemary One year ago I removed a whole lot of junk that was on my web server but it is still appearing in the SERPs.
Technical SEO | | RosemaryB3 -
I don't understand how this site is ranking?
This website is ranking for a very high competitive keyword "bail bonds los angeles" http://www.bondgirlsbailbonds.com/ They maybe have one backlink and 10 citations. How are they ranking for 2nd spot? This doesn't seem possible. Almost 5 other domains on page have pr2 and higher and not able to beat this site. Can someone please explain what might be causing this? thanks in advance
Technical SEO | | webbutler130 -
Redirecting old domain to new domain with wordpress
Hi all, I need to change domain name to a website published on wordpress. I'd think to make these steps: trasferring the website (files+db) to a new hosting space to redirect old site (www.oldsite.com) to the new one (www.newsite.com) using rewrite rules. With these steps I'd need to transfer and reinstall files and wordpress so I would like to discover if there's some less time expending procedure to consider. Thanks and ciao Bob
Technical SEO | | bobrock40 -
Keywords based domains redirecting to a site.. is it SPAM?
Keywords based domains redirecting to a site is considered spam isn't it ? And if yes, then is it considered spam in all cases whether those domain based sites are related or non related to main site?
Technical SEO | | Personnel_Concept0 -
Does adding Tool Tips to a site hurt it's SEO?
I'm wanting to add tool tips to my site as it's intended for non-technical people that are wanting high tech equipment and services. I thought that by adding tool tips, I could clear any confusion they may have about a particular word right there rather then them having to search for what it means. I did some research online and saw that it may hurt SEO ratings but wanted to verify here first before deciding.
Technical SEO | | sDevik0 -
Rel cannonical on all my URL's
Hi, sorry if this question has already been asked, but I can't seem to find the correct answer. In my crawling report for the domain: http://www.wellbo.de I get rel cannonical notices. I have redirected all pages of http://wellbo.de to http://www.wellbo.de with a 301 redirect. Where is my error? Why do I get these notices? I hope the image helps. Ep7Rw.jpg
Technical SEO | | wellbo0 -
It's imposible to keep track of rankings?
Hello, here something interesting I'm Using Rank Tracker from SEOMOZ And from the link-assistant's Rank Tracker as Well... I need to track Google.com and Google.co.ve (venezuela) so I did... i got my keyword an here are my results. 1 Keyword A at google.com (united states) Rank Tracker SEOMOZ = pos 6 Rank Tracker OTHER = pos 6 Manual Query on google.com = 9 (I used the exact url seomoz tells me its using) 2 Keyword A at Google.co.ve Rank Tracker SEOMOZ = pos 8 Rank Tracker OTHER = pos 7 Manual query on google.co.ve = pos 8 So.... Why it's that?, so far I think that google.com for me down here (it actually says "Español") it's a different index? for latinamerica? only spanish pages? maybe it's because there's a couple of minutes between looking with one tool and the other... any help, would be great... Dan
Technical SEO | | daniel.alvarez0