301 vs 302 redirect
-
Hello Mozers,
I have a website which offers subscriptions on a monthly basis, when one profile expires the link of the profile gets a 301 redirect to the main category, just that if the member chooses to come back after a while he can reactivate the profile and the link will work again and the 301 will disappear,
Should I be doing 302 redirect, as from this point of view it's only a temporarily redirect ?
Thanks in advance
-
I would use a 301.
Reason #1 - Some of those profiles are going to have external links, as Robert stated in his reply.
Reason #2 - A 302 will not remove the URL from the index like a 301 will. Over time you could end up with many more temporary redirects than actual pages, which may look pretty bad. I prefer not to bloat the index with URLs like that.
In the event that someone comes back you can remove the 301 redirect with no ill-effect. If it has been in place for a long time (e.g. a year or more) the profile page may not get its pagerank back from those older links, which would be fine.
Please also keep in mind that Google can choose to treat a 301 like a 404 if the content doesn't match up. This could easily happen with the situation you mention above. However, I don't really think there is any other option other than doing the 302. I'd rather let it be treated as a 404 than a 302 if we're talking about user-generated pages here because they can get out of hand and bloat the index over time.
eCommerce sites that have products coming and going all the time have similar issues. Imagine if every product a store ever sold stayed indexed for years after the product was no longer available. Even if users are redirected I don't think this is an ideal situation.
-
Hello Yiannis,
Thanks for the response, I think this is the right way, as the profiles are erased after 6 month of inactivity ... never thought of it this way
-
Hello Chris, sorry for the lack of details, so the link caries value on each profile, there are inbound links coming to each profile from our social profiles from shares tweets pins and so on, so each profile carries a link weight but the way we structure the website : thewebsite/city/profile-name , and when the subscription expires it redirects from /city/profile-name to /city, so all the link juice will be carried to the city in question, as for the frequency it depends, we have profile being reactivated after 1 week or after 2-3 month ...
-
Ionut, what specifically does the link go to and from originally and how often do members come back?
-
Hello Ionut,
Since they are subscription profiles (and thus there isnt a link value concern) a 302 might be a better option at start.
The way I would do it is set a rule of permanent user expiration and say once someone does not renew for lets say 6 months or 1 year then I make a permanent 301, until then I leave it as a 302. The length of the month may vary but that's something your analytics will tell you.
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
-
Language redirction causing 302 issues
Hi, I am getting an error on Moz campaign for 302 errors. The reason we have this redirection is because we have the website available in different languages and the website redirects to the language according to the area you are in. e.g. www.keyhub.com/en or www.keyhub.com/es I am guessing it might be a common issue for all the websites with multiple languages. Any solutions for this or should we just ignore this error? Thanks, Priyam
On-Page Optimization | | kh-priyam0 -
Duplicate meta data for 301 redirected items
Google webmaster tools tells me that I have duplicate title tags for two items. They have the same product ID. When there is a change in SEO URL, the system does an automatic 301 redirect of the first item towards the second item, like in the example below:
On-Page Optimization | | Madlena
22"x28" White Foam Board School Project Kit|Geographics.com
/p48998/foam-board-school-project-kit-22-x-28/product_info.html /p48998/white-foam-board-school-project-kit/product_info.html What are we doing wrong that Google asks for different meta data for a 301 redirect? Thanks!0 -
Redirecting https pages
If I add 301 redirects from the https versions of the root domain to the http:www.website.com (canonical version), will this prevent users from being able to access the https version? I believe the https version is only accessed once users log into the site. Thank you!
On-Page Optimization | | HiddenPeak0 -
Www to non www redirect
HI there, I was worried that my folder was not being crawled as when I searched for site:www.thekeepsakeco.co.uk/marketplace nothing came up but today I tried site:thekeepsakeco.co.uk/marketplace it does. So it is forwarding the www to the non www. When I do a search on links or analyse the domain it says there is a forwarder in place. My site used to dominate in my niche and now is not doing very well since I moved to the new site. I know I did not handle the move well but wonder what I can do about it and wonder if this redirect is causing issues. So any link building it probably going to www. rather than non www so does that mean they are not counting. What would you do? move everything back to www and could I do a 301 redirect for the whole folder? Any help greatly received! Kindest regards Victoria Thanks Victoria
On-Page Optimization | | vcasebourne0 -
302 Temporary Redirects
Hi, We currently have a number of 302 redirects set up on our e-commerce store that redirect from no forward slash at the end to a forward slash at the end of the url (see below). example: domain.com/treadmills
On-Page Optimization | | DustyBraband
Redirects to
domain.com/treadmills/ Am I correct in saying that this will not pass link juice and the redirects should be changed to 301's (or just removed?). Or are the two urls treated the same (with or without forward slash)? Thanks in advance! Regards,
Dusty0 -
Quick Question on Redirects
This might be a silly question, but one important enough for me to ensure that I understand the best practice of URL redirects... I'm thinking of changing my URL's and hierachy of some of my WP subpages around, in order to logically fit the keyword into the url and place the subpage closer to the root domain. My question is, when doing this, can I simply edit the URL and create a redirect after the fact, essentially killing the old URL. Or, do I create the new page with the updated URL and hierarchy, keeping the old page live and intact, but have that 301 redirect to its new corresponding destination? Thanks
On-Page Optimization | | JayAdams320 -
Attributes vs. Separate Products?
I carry a line of products that come in 4 sizes and 15 colors. Is it better to have separate products for each combination (Red Large, Blue Small, etc), or a product for each size with attributes for the color, or something else? Also, should I put the brand name in each product name, or only put it in the category that contains that brand? Thanks.
On-Page Optimization | | teatable0 -
Absolute vs Relative URLs
What are the pros and cons of these two types of URLs and what type of weight does this hold. It doesn't seem to be a big issue in regards to ranking. Any qualified clarity would help.
On-Page Optimization | | Romancing0