Redirect questions
-
Hi!
A client of mine have created a new site with a new URL structure which they launched the other day. They have done a 301 redirect on all pages on the old site to the start page on the new site. E.g:
www.olddomain.com/subfolder1/index.html -> www.newdomain.com
www.olddomain.com/subfolder2/index.html -> www.newdomain.comI'm thinking of fixing this now so the redirect instead looks someting like this:
www.olddomain.com/subfolder1/index.html -> www.newdomain.com/newsubfolder1/index.html
www.olddomain.com/subfolder1/index.html -> www.newdomain.com/newsubfolder1/index.htmlTwo questions:
1. Is it worth doing the latter kind of redirect in all cases (after all, it involves quite a lot more work compared to the first solution)? or do you recommend the first solution for all redirect projects?
2. Now that they have already done the first solution, is it at all worth amending this to the latter or is everything spoiled now that they have already gone ahead with the first solution?Many thanks in advance!
-
Thanks guys!
So my interpretation of your feedback and the short answer to my questions are:
1. Yes, it's worth doing.
2. Yes, it's worth doing.Cheers!
-
You should only need one redirect if link stucture is the same,
point both domains at the new site
then create a rule if HTTP_HOST is not newdomain.com then redirect to new domain,
here is the rule for IIS
<rule name="CanonicalHostNameRule1"><match url="(.*)"><conditions><add input="{HTTP_HOST}" pattern="^thatsit.com.au$" negate="true"></add></conditions>
<action type="Redirect" url="http://thatsit.com.au/{R:1}"></action></match></rule>http://thatsit.com.au/seo/tutorials/how-to-fix-canonical-domain-name-issues
-
From a visitors perspective, if you've got links to deep pages, then it would be worth creating redirects to the relevant content on the new site.
If someone follows a link from another site with anchor text along the lines of "see this great article about x" and it just goes to the homepage, the visitor is going to find it rather jarring...
-
Agree with Rasmus pm the whole.
I'd still go with the updated subfolder version even if google has crawled the pages...these things take a while to settle down.
If there are lots of pages, check out the tool Russ Jones shared for using Levenshtein distance to automate creating redirects http://www.seomoz.org/blog/set-it-and-forget-it-seo-chasing-the-elusive-passive-seo-dream
There's another great post for larger sites that could help: http://www.seomoz.org/blog/scripting-seo-5-pandafighting-tricks-for-large-sites-14455
And here's another version that creates the htaccess redirects for you (though I've not tried it so don't know how well it works) http://www.conversationmarketing.com/2010/10/levinshtein_link_fixer_aka_the.htm
-
in cpanel there is an option to redirect all at once, keeping the structure of site. try cpanel.yourdomain.com
-
I would recommend making the redirects from subfolder to subfolder. If you redirect all pages to the new frontpage Google needs to crawl the new site from scratch in order to index all pages.
If you make the 301 redirect from old pages to corresponding new pages I would say it is worth the effort. Otherwise www.newdomain.com/newsubfolder1/index.html needs to build up its own new page ranking since it is a new URL that Google does not know.
Question is if Google has already crawled a lot of the old URLs, but if it was me I would get on making the correct redirects before Google crawls to many of the old URLs. This will give the new site better ranking from the start I should think AND it will save time for the Google crawlers. One should always anticipate a drop when changing domain, but it is always a good idea to take precautions in order to ensure a quick bounce back.
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
-
Bulk redirection of blogs
Hi all, we're going to changing the url structure of our website. Moving from: /news-and-views/blog/thisistheblogpost to /blog/thisistheblogpost (ie removing the /news-and-views/ portion of the url). There's approximately 300 posts. I have 2 questions - will this have an impact on domain wide authority? and is bulk 301 redirects the best solution? The blogs themselves don't get a huge amount of traffic but we just want to make sure we don't do something that will be penalized by search engines.
Technical SEO | | francisclark2 -
Redirecting homepage to subdirectory
Any issues with 301 redirecting a site's homepage to the English version subdirectory? Example: Original homepage: www.mysite.com New homepage: www.mysite.com/en/ The site is very old and very authoritative and trusted with lots of traffic.
Technical SEO | | SoulSurfer80 -
Which way round to 301 redirect?
Hi We have just added a new layered navigation menu to our website. so for example we had Before : www.tidy-books.co.uk/chidlrens-bookcases (this has the seo juice) And Now: http://www.tidy-books.co.uk/childrens-bookcases-book-storage/childrens-bookcases Might be a stupid question but do I redirect the 'now' url to the 'before' url or the the other way round I look forward to hearing your thoughts Thanks
Technical SEO | | tidybooks0 -
Windows IIS 7 Redirect Question
I want to redirect the following 4 pages to the home page: http://www.phbalancedpool.com/pool-repair/pool_repair_arizona.html http://www.phbalancedpool.com/About%20Pool%20Cleaning%20Arizona/About_Page_Pool_Cleaning_Arizona.html http://www.phbalancedpool.com/specials/Pool%20Cleaning%20and%20Pool%20Repair%20Specials.html http://www.phbalancedpool.com/service-areas-in-arizona/Chandler_Gilbert_Mesa_Queen%20Creek_San%20Tan%20Valley.html This is what I am currently using for my Web.config file: <configuration></configuration> <match url=".*"></match> <add input="{HTTP_HOST}" pattern="^phbalancedpool.com$"></add> <action type="Redirect" url="http://www.phbalancedpool.com/{R:0}" <="" span="">redirectType="Permanent" /></action> <location path="pool-repair/pool_repair_arizona.html"></location> <location path="About%20Pool%20Cleaning%20Arizona/About_Page_Pool_Cleaning_Arizona.html"></location> <location path="specials/Pool%20Cleaning%20and%20Pool%20Repair%20Specials.html"></location> <location path="service-areas-in-arizona/Chandler_Gilbert_Mesa_Queen%20Creek_San%20Tan%20Valley.html"></location> Only the first one is actually redirecting and I can't figure out why. What do I need to do to fix this?
Technical SEO | | JordanJudson0 -
Pagination question
I have a website http://www.example.com with pagination series starting with page1.html upto page10.html. With backlinks to some of the pages ( page1.html, page2.html----page7.html). If i include rel="next" and rel="prev" on page1.html to page10.html pages. Will value of those links will be transfered to http://www.example.com This is what i interpret from http://bit.ly/mUOrn2 Am i right ?
Technical SEO | | seoug_20050 -
Duplicate content question with PDF
Hi, I manage a property listing website which was recently revamped, but which has some on-site optimization weaknesses and issues. For each property listing like http://www.selectcaribbean.com/property/147.html there is an equivalent PDF version spidered by google. The page looks like this http://www.selectcaribbean.com/pdf1.php?pid=147 my question is: Can this create a duplicate content penalty? If yes, should I ban these pages from being spidered by google in the robots.txt or should I make these link nofollow?
Technical SEO | | multilang0 -
Query String Redirection
In PHP, I'm wanting to store a session variable based upon a link that's clicked. I'm wanting to avoid query strings on pages that have content. My current workaround is to have a link with query strings to a php file that does nothing but snags the variables via $_GET, stores them into $_SESSION, and then redirects. For example, consider this script, that I have set up to force to a mobile version. Accessed via something like a href="forcemobile.php?url=(the current filename)" session_start(); //Location of vertstudios file on your localhost. Include trailing slash $loc = "http://localhost/web/vertstudios/"; //If GET variable not defined, this page is being accessed directly. //In that case, force to 404 page. Same case for if mobile session variable //not defined. if(!(isset($_GET["url"]) && isset($_SESSION["mobile"]))){ header("Location: http://www.vertstudios.com/404.php"); exit(); } //Snag the URL $url = $_GET["url"]; //Set the mobile session to true, and redirect to specified URL $_SESSION["mobile"] = true;header("Location: " . $loc . $url); ?> Will this circumvent the issue caused by using query strings?
Technical SEO | | JoeQuery0