301 or 302 or leave at 410
-
I have a client who manages vacation rental properties and those properties get links. If an owner pulls their property off the rental market the current status given is a 410 which I instinctively want turned into a 301. The problem is, often those properties come back online with the same URL so the question is, when a 301 is turned into a 200 - has anyone noticed a significant delay in time for that page to rank?I know technically it should probably be a 410 or maybe a 302 but ... you know ... the link weight.
-
Hi Dave,
301 means that the page has been moved permanently. I suspect the search engines take specific actions upon seeing a 301 for a short period of time.
A 410 - means that the page is gone, and gone forever. And a 404 means that the page is temporarily unavailable.
In your case, I think I'd want to setup a process where for 3-7 days, you return a simple 404. I.e. the page is temporarily unavailable. If during those 3-7 days, the page comes back up - start serving it per normal.
If after 3-7 days, the page is still not up, I'd serve up a custom 410 page that offers alternatives that can be clicked through to if the customer/property owner did not list again. If he ever DOES list again, I'd be sure to 301 to the new page, regardless of time delay.
There may also be some thought to allowing pages to display in a historical sense. I.e. - this is what the page you want looked like - but it's no longer available. Thus preserving some of the traffic, which you might find some use for.
Finally - some possible ideas for "missing pages"
- Present other properties very close to the missing property
- Communicate with your viewer what is happening. i.e. - the listing agent/owner removed the listing - but over XX% of properties delisted come back within 10 days! Please check back - would you like us to email you if this property comes back online? (collect email opportunity!)
- Present a historical page showing what the listing used to look like. (legal issues?)
- Display a 404 page - but provide other interesting information/content. i.e. since you know what the old page was like - you probably can figure out related/highly related content to present in it's stead.
Hope this helps
Kevin -
Followup.
I'm not sure if it's possible, will check tomorrow but if we can keep the page up with a "property no longer available" notice and a canonical to an appropriate category page and put it live if the property is re-added ... what do you think?
Not sure why I didn't think of that out of the gate.
-
For more on 301s, read "301 Redirects: The Horror That Cannot Be Uncached." It's not quite true that they can't be uncached, but it's incredibly difficult to do so. From a UI standpoint, if someone has a cottage they like, and has bookmarked the URL, then one day they visit the URL and get a 301, their browser will cache that 301 for months, even if the URL comes back and starts returning a 200 with content.
-
You probably don't want to be going 200 > 301 > 200 too often. Although it may work and may rank again, once you 301 by definition that's a "permanent" redirect. Especially since the property could then go off again ... 200 > 301 > 200 > 301 > 200 ... and somewhere in there, all is lost.
I would make these 302 links. First, if it's 302 long enough, the goodness will pass through the 302 anyways. I don't know if this is 90 days, 180 days or something really unexpected like 102 days ... but eventually it does pass through (same if you 302 a bad domain to your main domain, the penalties will eventually pass through.)
But a 302 would serve you as a temporary redirect, keep the juice on the referring page (unless it never comes back) and then either long term rank the original URL or pass the juice.
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
-
301 Redirect Url Within a Canonical Tag
So this might sounds like a silly question... A client of mine has a duplicate content issue which will be fixed using canonical tags. We are also providing them with an updated URL structure meaning rwe will be having to do lots of 301 redirects. The URL structure is a much larger task that than the duplicate content so i planned to set up the canonicals first. Then it occurred to me id be updating the canonical tags with the urls from the old structure which brings me to my question. Will the canonical tags with the old urls redirect credit to the new urls with the 301? Or should i just wait until we have the new url structure in place and use these new urls in the canonicals? Thanks!
Technical SEO | | NickG-1230 -
.htaccess Redirect 301 issues
I have completely rewritten my web site, adding structure to the file directories. Subsequently added was Redirect information within the .htaccess file. The following example ...
Technical SEO | | Cyberace
Redirect 301 /armaflex.html http://www.just-insulation.com/002-brands/armaflex.html
Returns this response in the URL bar of ...
http://www.just-insulation.com/002-brands/armaflex.html?file=armaflex
I am at a loss to understand why the suffix "?file=armaflex" is added The following code is inserted at the top of the file ...
RewriteEngine On redirect html pages to the root domain RewriteRule ^index.html$ / [NC,R,L] Force www. prefix in URLs and redirect non-www to www RewriteCond %{http_host} ^just-insulation.com [NC]
RewriteRule ^(.*)$ http://www.just-insulation.com/ [R=301,NC] Any advice would be most welcome.0 -
Instead of a 301, my client uses a 302 to custom 404
I've found about 900 instances of decommissioned pages being redirected via 302 to a 404 custom page, even when there's a comparable page elsewhere on the site or on a new subdomain. My recommendation would be to always do a 301 from the legacy page to the new page, but since they're are so many instances of this 302->404 it seems to be standard operating procedure by the dev team. Given that at least one of these pages has links coming from 48 root domains, wouldn't it obviously be much better to 301 redirect it to pass along that equity? I don't get why the developers are doing this, and I have to build a strong case about what they're losing with this 302->404 protocol. I'd love to hear your thoughts on WHY the dev team has settled on this solution, in addition to what suffers as a result. I think I know, but would love some more expert input.
Technical SEO | | Jen_Floyd0 -
Automatically write Mass 301 redirects for csv
Hi Guys Does anyone know if there is away to write say 30 x 301 redirects in one go? I have a list from a client with old links and new links and I want to do it all at once. Any suggestions would be appreciate?
Technical SEO | | Cocoonfxmedia0 -
301 how?
My website is www.photosbykristopher.com, but I have some important links pointing to photosbykristopher.com How do I get my domain without the www to redirect to the domain with the www. PS I use Go daddy for hosting.
Technical SEO | | KristopherWho0 -
301 Redirect on a PDF, DOCX files?
Hi, I have to rename many pdf and docx files. How can I implement 301 redirect on them as they are linked from 'n' number of places? Regards, Shailendra Sial
Technical SEO | | IM_Learner1 -
A script to automatically write 301 redirect rules to htaccess?
I was wondering if anyone could help provide some resources on how to automatically write 301 redirect rules to htaccess. Allow me to explain... I'm building a new website and the primary users are businesses. They have their own profile pages on the site. The URL is based off of their Company Name. In the event that they decided to change their name... reasons being, perhaps they mispelled it the first time, or they're removing LLC or adding Inc, I want to also change the URL and redirect the old URL to the new URL. Since the URL is based off of their Company Name, making a change to the company name would make a change to the URL. I know it doesn't have to work this way, but for our purpose this works best. In case the old URL had any links to it, I wanted to see if there was an way to automatically update an htaccess file with a 301 redirect from the old URL to the new one. Could anyone point me in the right direction of how to do this? Perhaps a sample script. I've done a lot of searches on Google and can't seem to find anything. e.g. Original:
Technical SEO | | bimmer540
Name: XYZ Widgets
URL: website.com/xyz-widgets New - business changes their company name in their profile:
Name: XYZ Widgets, Inc.
URL: website.com/xyz-widgets-inc Upon the user saving the changes in their profile, I'd like to write a 301 redirect to an htaccess file:
Redirect 301 /xyz-widgets http://www.website.com/xyz-widgets-inc I know how to manually write redirects and I've got a pretty smart web developer. We've just never triggered a script to automatically write to an htaccess file before. Is this possible? Any resources are appreciated. Any security risks? Thanks!0 -
Is there a penalty for too many 301 re-directs?
We are thinking of restructuring the URLs on our site and I was wondering if there is a penalty associated with setting up so many 301 re-directs.
Technical SEO | | nicole.healthline0