Should I run 302 first before implementing 301?
-
I just want to ask if it is necessary to run 302 redirections first before redirecting old to new URLs permanently. I heard that we should run temporary redirects first so we can check after and to avoid passing the link juice but I want to hear thoughts from experts. Do i need to test 302s for old pages that are still live or should we redirect old URLs once these pages already removed from the site?
-
This is a friend's tool that has some more options.
http://incredibill.me/htaccess-rewrite-wizard -
We will remove a vertical/division from our current site and migrate the URLs (category and product-specific pages) to new URLs under a new domain. Let me know your thoughts Max!
By the way, thanks for sharing the redirect generator tool.
-
Thanks esiow2013 & others for discussing on 301 redirect, I also had same issue.
-
That's also a useful tool Ash, although it won't deal with URLs that that have parameters in such as question marks.
-
I have found that a 301 takes some time to take effect in the index, so I don't bother with a 302 first, There are many redirect tools on the web and I like this one: http://www.rapidtables.com/web/tools/redirect-generator.htm
-
What are you actually doing, redesigning a site and URLs have changed?
Although regardless, the process is normally the same. As soon as you have launched your new site, made live your new page or whatever is you are redirecting, set the redirects at the same time. There is no reason to delay them and again I really wouldn't bother with doing the redirects as 302's to start with. Just set the 301's, then check them all after, then double check. Even if some are incorrect after implementing, its no biggie. Simply edit it again so its correct .
The best thing to do is prepare all your redirects before I hand. I like to get organised and use a spread sheet with two columns, old URLs in one column, new URLs in the 2nd column. This way you can easily map them out.
Also to speed up the process of actually coding the redirects, I use this tool, it saves a huge amount of time: HtAccess 301 Redirect Generator Tool .
-
Thanks Max! Your answers are a big help. Last question, do I need to 301 redirect the old to new URLs within the day we will launch the new site after removing the old site? or should we prepare 302 redirects and check each URL that are still live(will be removed in site launch) if they land on the appropriate and new URLs and run 301 redirections after?
-
Like you mentioned, the reasoning behind doing 302 redirects initially is in case the redirect has been set incorrectly, giving you time to check them before Google re-crawls and updates the index. As 302 redirects are temporary, after setting the redirect the old page will usually stay in Google's index indefinitely.
However I do many 301 redirects every week and I have never taken this approach; I simply set the 301 redirect, then check everything is correct straight after. If you have hundreds of redirects to do you can check them more efficiently using the Screaming Frog web crawler. You can import your list of pages that should have been redirected in a txt file, then Screaming frog will crawl them telling you what response code they are sending and where they are redirecting too.
Even if you set an incorrect 301 redirect, it can takes weeks to months before Google updates the index, so you shouldn't really need to worry about sending the 'juice' to the incorrect page; although I suppose it depends on how long until you check if you have done those redirects correctly!
There could also be adverse issues. Say you were doing a site migration and you 302 redirected every URL on your site to other URLs, I don't know how Google would react to that, but it could be rather bad!
As the saying goes 'Measure Twice, Cut Once'!
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
-
Does Google Index URLs that are always 302 redirected
Hello community Due to the architecture of our site, we have a bunch of URLs that are 302 redirected to the same URL plus a query string appended to it. For example: www.example.com/hello.html is 302 redirected to www.example.com/hello.html?___store=abc The www.example.com/hello.html?___store=abc page also has a link canonical tag to www.example.com/hello.html In the above example, can www.example.com/hello.html every be Indexed, by google as I assume the googlebot will always be redirected to www.example.com/hello.html?___store=abc and will never see www.example.com/hello.html ? Thanks in advance for the help!
Intermediate & Advanced SEO | | EcommRulz0 -
Advanced SEO - What would you do after you run out of keywords?
Hello! Our company has been growing in terms of traffic and ranking well for a couple of years but we are now kind of stagnating because we just don't know what to do next. We have a good blog - and with our blogs, we have been targeting all major keywords with their related keywords as a bucket. - "keyword theme / page" for a long time. But it seems we now don't have any major keyword theme to write about. What is worse is that we don't see any traffic growth since 2014 September. (although we added many good blogs) So what would do you when you run out of keywords? or keyword themes? Would you just keep pumping in more blogs and hope that you get more clicks? or at some point, you just don't care about keywords and write whatever relevant to your site? Wouldn't it hurt our site if we create similar keyword themed pages? (like regurgitating our keywords?) or even same keyword targeting pages? You must have similar experience if you are an owner of a niche site. Can you please share your experience with this kind of headaches? Thank you and look forward to your comments.
Intermediate & Advanced SEO | | joony3 -
When is it time to kill 301 redirects
3 months we updated our site design design and as such lots of page urls changed. At the time we 301 redirected about 100 pages. (All pages are on the same domain - 301 redirects like .com/about-us/company to .com/company) Anyhow my question is should I leave these redirects active indefinitely or kill them assuming value has passed through by now? Your Thoughts are welcomed. Thanks, Glen.
Intermediate & Advanced SEO | | AdvanceSystems0 -
Multiple 301 Redirects for the Same Page
Hi Mozzers, What happens if I have a trail of 301 redirects for the same page? For example,
Intermediate & Advanced SEO | | Travis-W
SiteA.com/10 --> SiteA.com/11 --> SiteA.com/13 --> SiteA.com/14 I know I lose a little bit of link juice by 301 redirecting.
The question is, would the link juice look like this for the example above? 100% --> 90% --> 81% -->72.9%
Or just 100% -----------------------------------------> 90% Does this link juice refer to juice from inbound links or links between internal pages on my site? Thanks!0 -
Does 301 Redirect works on social signals?
Hello, I'm considering strategic change in my site's formation.
Intermediate & Advanced SEO | | BeytzNet
301 redirecting some of the pages is not a problem but the question remains - what will happen with all of my social signals? These pages have Likes, plus ones, and tweets. Thanks0 -
Interesting 302 redirect situation - could they be a good idea??
Just started with a new SEO client. The site is built on Sharepoint Server 2007 running Windows Server 2003 R2 on IIS 6.5 (I know, fun times for me). Being a standard crappy Windows setup, URLs and canonicalization is a huge issue: first and foremost, we get a 302 redirect from the root www.example.com to www.example.com/Pages/default.aspx Now standard SEO best practices dictate that we rewrite and redirect these pages so they're clean URLs. However that may or may not be possible in the current environment - so is the next best thing to change those to 301s so at least link authority is passed better between pages? Here's the tricky thing - the 302s seem to be preventing Google from indexing the /Pages/default.aspx part of the URL, but the primary URL is being indexed, with the page content accurately cached, etc. So, www.example.com 302 redirects to www.example.com/Pages/default.aspx but the indexed page in Google is www.example.com www.example.com/sample-page/ 302 redirects www.example.com/sample-page/Pages/default.aspx but the indexed page in Google is www.example.com/sample-page/ I know Matt Cutts has said that in this case Google will most likely index the shorter version of the URL, so I could leave it, but I just want to make sure that link authority is being appropriately consolidated. Perhaps a rel=canonical on each page of the source URL? i.e. the www.example.com/sample-page/ - however is rel=canonical to a 302 really acceptable? Same goes for sitemaps? I know they always say end-state URLs only, but as the source URLs are being indexed, I don't really want Google getting all the /Pages/default.aspx crap. Looking for thoughts/ideas/experiences in similar situations?
Intermediate & Advanced SEO | | OddDog0 -
Redirects 301
Hello guys, I have a doubt. If I reedirect a url with a pagerank of 2 to a new URL, will I loose the PR? My problem is that I have a long url in one page wich is not effective to target a keyword that Im persuing. Im climbing in Google, however I want to 1º place and I dont think that with this long URL I will make it. Advices? Cheers! Pedro M Pereira
Intermediate & Advanced SEO | | PedroM0 -
Is This 301 Use Best Practice??
I know its effective practice cuz we're getting our arse kicked. I'm curious if its best practice (white, gray or black hat). I'm checking a competitors link profile on its landing page that is hitting the top of page 1 for several keywords. This competitor (national chain) has a strong domain authority (69). The particular landing page I'm checking in OSE has two 301 redirects from its own site among some other directory links to the page. The page shows 15 external links and half of them are very strong including it's own 301's. Aren't they essentially sending their own juice to the landing page to bolster page/domain authority to rank higher in the SERPS for those keywords? Is this a common practice using the 301's to a landing page? Is it white, gray or black hat? They are appearing suddenly appearing on the first page for several category keywords, so we're doing some snooping. Thanks.
Intermediate & Advanced SEO | | AWCthreads0