Vanity URL's and http codes
-
We have a vanity URL that as recommended is using 301 http code, however it has been discovered the destination URL needs to be updated which creates a problem since most browsers and search engines cache 301 redirects.
Is there a good way to figure out when a vanity should be a 301 vs 302/307?
If all vanity URL's should use 301, what is the proper way of updating the destination URL?
Is it a good rule of thumb that if the vanity URL is only going to be temporary and down the road could have a new destination URL to use 302, and all others 301?
Cheers,
-
Like I said in the last paragraph, if this is temporary, 302 redirect the original destination URL to the new destination URL as well as the redirecting URL to the new destination. If these changes are permanent, make them 301 instead of 302 redirects.
-
That does answer my question partly. How do you handle the cached URL for the original 301 that points to the invalid URL?
Example. www.bob.com/hello points to www.bob.com/directory/folder/file.aspx
It needs to now point to www.bob.com/directory/folder2/file2.aspx
If browsers and search engines cache the first 301 since it's meant to be permanent, visitors that have been to the first URL will not get passed off to the new one.
-
Let me make sure I understand you. You have a vanity URL like bit.ly or something. It redirects to your website which is bitly.com or something like that. This redirect is a 301 permanent redirect.
Are you asking if bitly.com changed what you should do with the redirect? That's how I understood the question. So say bitly.com now goes to bitly.com/new or something along those lines.
If this is the case, all you want to do is change your 301 redirect of bit.ly to the new destination URL and keep it a 301. That is, unless bitly.com/new is only a temporary URL. If it will be reverting back to bitly.com then don't do that.
Instead, when you redirect bitly.com to bitly.com/new use a 302 redirect, keeping the 301 from bit.ly to bitly.com in tact. Hopefully that answers your question. Let me know if your scenario is different.
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
-
Is it bad from an SEO perspective that cached AMP pages are hosted on domains other than the original publisher's?
Hello Moz, I am thinking about starting to utilize AMP for some of my website. I've been researching this AMP situation for the better part of a year and I am still unclear on a few things. What I am primarily concerned with in terms of AMP and SEO is whether or not the original publisher gets credit for the traffic to a cached AMP page that is hosted elsewhere. I can see the possible issues with this from an SEO perspective and I am pretty sure I have read about how SEOs are unhappy about this particular aspect of AMP in other places. On the AMP project FAQ page you can find this, but there is very little explanation: "Do publishers receive credit for the traffic from a measurement perspective?
Algorithm Updates | | Brian_Dowd
Yes, an AMP file is the same as the rest of your site – this space is the publisher’s canvas." So, let's say you have an AMP page on your website example.com:
example.com/amp_document.html And a cached copy is served with a URL format similar to this: https://google.com/amp/example.com/amp_document.html Then how does the original publisher get the credit for the traffic? Is it because there is a canonical tag from the AMP version to the original HTML version? Also, while I am at it, how does an AMP page actually get into Google's AMP Cache (or any other cache)? Does Google crawl the original HTML page, find the AMP version and then just decide to cache it from there? Are there any other issues with this that I should be aware of? Thanks0 -
URLs contains other language than English
I am in need of your advice in regards to urls of my new sites. I have got one site from gulf region site is in English and Arabic language. The issue is we are getting url from both. Some are Arabic, do you guys think it will effect the ranking result? url example is : www.mydomain.com/بيع-بي-سيارة
Algorithm Updates | | Mustansar0 -
Anyone have experience with using HTTPS compared to HTTP and how it could affect rankings?
Are there any negative or positive effects of using https over http when it comes to rankings?
Algorithm Updates | | classifiedtech0 -
Crosslinking & Managing Multiple Domains in Same Webmaster Tool's Account
I am wondering if there are any consequences if you manage multiple websites in the same Webmaster Tool's account and cross link between them? My guess is that this would be a very easy thing for Google to detect and build into their algorithms. Hence affect the link juice from those domains that are owned by the same person. I am looking for verification on this. Thanks, Joe
Algorithm Updates | | csamsojo0 -
What are the advantages and disadvantages of having multiple folders in URL?
Example: http://www.domain.com.ph/property-for-sale/city/area/ (3 folders) Would it be great if we'll just use http://www.domain.com.ph/property-for-sale-area-city/ (All pages will be under 1 folder)? Thanks in advance! 🙂
Algorithm Updates | | esiow20130 -
Don't use an h1 and just use h2's?
We just overhauled our site and as I was auditing the overhaul I noticed that there were no h1's on any of the pages. I asked the company that does our programming why and he responded that h1's are spammed so much so he doesn't want to put them in. Instead he put in h2's. I can't find anything to back this up. I can find that h1's are over-optimized but nothing that says to skip them altogether. I think he's crazy. Anyone have anything to back him up?
Algorithm Updates | | Dave_Whitty0 -
What's better .NET or a hyphenated.COM domain
What's better .NET or a hyphenated .COM domain I know this is simple but in selecting a domain for my current project and I only have two options. firstname-lastname.COM or
Algorithm Updates | | RonSparks
firstnamelastname.NET I'm leaning to the .COM as after reading the how to choose a domain name post. http://www.seomoz.org/blog/how-to-choose-the-right-domain-name Thanks1 -
Whats happaning with Plus1's
What do we know about googles +1's, are they used as a signal? i noticed that they have some reports on them in google web master tools.
Algorithm Updates | | AlanMosley0