Do my redirects on my homepage need to be 301?
-
Our domain name is something like www.I-am-cool.com but most people just type in iamcool.com After doing some research I found that those are 302 redirects and I think they should be 301. If I am correct do I need to redirect www.iamcool.com and iamcool.com or just one or the other?
-
That is exactly what I was looking for. Thank You.
-
Sorry, Niners, I wasn't clear you were talking about two different spellings of the domain as well as the www and non www versions. I had assumed that was just a typo. Sorry 'bout that.
So... if you own iamcool.com and i-am-cool-com, you essentially have four variations for the domain URL you need to address. The Search Engines consider each of these to be different sites:
- www.i-am-cool-com
- i-am-cool.com
- www.iamcool.com
- iamcool.com
Out of all of these, you're going to pick the one that is your primary site address. This will become what's known as your FQDN - Fully Qualified Domain Name. This will be the URL you use for EVERYTHING you control. All links will use this full version, it's what you'll put on business cards, in bio links on guest posts, everything.
Since you say that the version with the hyphens has been in existence the longest, I would recommend that become your primary. And further, I suspect that the www version of it probably has the most incoming links.
So,,, www.i-am-cool.com will become your primary site address - your FQDN. (Assuming you agree with what's stated above.)
Once that's decided, you now need to 301-redirect each of the other versions directly to that www.i-am-cool.com URL. (For example, you specifically want to avoid a situation where iamcoolcom redirects to www.iamcool,com, which then redirects again to the final www.i-am-cool.com.)
Once you've done the redirects, you'll want to keep a close eye on your Webmaster Tools and Analytics to make sure you're not getting 404s from pages not being caught by the redirects correctly. In addition, you can use the hostnames report in Analytics to make sure that only your FQDN is showing up, indicating all the other versions are redirecting correctly.
Hope that clears things up a little more.
Paul
-
definitely keep it then!
-
Changing it to a 301 makes sense. Do I need to change for both with the www and without? I have never quite figured out if that counts as two different urls or not.
-
The only reason we still use the one with the hyphens is because we have been using the same domain name for over ten years.
-
You definitely need to change the 302 to a 301 redirect, Niners. Typically, you check which version has the most incoming links already (since it's an existing site) and make that the primary address. Then you use the 301 redirect to point the other URL to the primary one.
Even though many people may directly type in the URL without the www, most people who are writing it as a link on a webpage will do it including the www. Having those incoming links avoid needing a redirect is more important than the folks typing in direct (since even 301s don't pass absolutely all the link authority.)
Make sense?
Paul
-
302 redirects do not pass PR so you need to 301 the site instead, if there is PR on that site. if not you can just point that domain at the DNS level and it will resolve.
but i would think the version without the hyphens is more desirable. why isn't that your main domain name? obviously you own both domains. people only use the hyphens when the domain name they want is already taken.
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
-
Do bulk 301 redirects hurt seo value?
We are working with a content based startup that needs to 301 redirect a lot of its pages to other websites. Will give you an example to help you understand. If we assume this is the startups domain and URL structure www.ourcompany.com/brand1/article What they want to do is do a 301 redirect of www.ourcompany.com/brand1/ to www.brand1.com I have never seen 301 as a problem to SEO or link juice. But in this case where all the major URLs are getting redirected to other sites i was wondering if it would have a negative effect. Right now they have just 20-30 brands but they are planning to hit a couple of hundreds this year.
Intermediate & Advanced SEO | | aaronfernandez0 -
Redirect Chains
Hi There, I have had conducted a few migrations recently and have a common issue which is this: HTTP (old site) -> HTTPS (old site) -> (HTTPS) (new site) Which causes a redirect chain. How should you prevent this before migration or fix it after migration? Cheers.
Intermediate & Advanced SEO | | kayl870 -
301 Redirects to relative URLs not absolute a problem?
Hi we recently did a migration and a lot of content changed locations see: https://d.pr/i/RvqI81 Basically, the 301 goes to the correct location but its a relative URL (as you can see from the screenshot) rather than absolute URL. Do you think this is a high priority issue from an SEO standpoint, should we get the developer to change the redirects to absolute? Cheers.
Intermediate & Advanced SEO | | cathywix0 -
Images Returning 404 Error Codes. 301 Redirects?
We're working with a site that has gone through a lot of changes over the years - ownership, complete site redesigns, different platforms, etc. - and we are finding that there are both a lot of pages and individual images that are returning 404 error codes in the Moz crawls. We're doing 301 redirects for the pages, but what would the best course of action be for the images? The images obviously don't exist on the site anymore and are therefore returning the 404 error codes. Should we do a 301 redirect to another similar image that is on the site now or redirect the images to an actual page? Or is there another solution that I'm not considering (besides doing nothing)? We'll go through the site to make sure that there aren't any pages within the site that are still linking to those images, which is probably where the 404 errors are coming from. Based on feedback below it sounds like once we do that, leaving them alone is a good option.
Intermediate & Advanced SEO | | garrettkite0 -
How to decide on which site to 301 redirect
Hi there I'd like your opinions please! My client currently has their website at not-very-good-url.it which has a really good link profile they also have duplicate sites at: much-better-brand-name-url.it and much-better-brand-name-url.com but both these other sites have only a handful of links in. How important do you think a better brand url is? And therefore do you think it would be better to 301 to a better brand URL and take the risk that the link profile will get hit? Or leave the main site where it is and 301 the other two to it? Many thanks
Intermediate & Advanced SEO | | Chammy0 -
Is it a problem to have too many 301 redirects within your site
my website is translated into 10+ languages, but our news articles are often only published in 1-2 languages. Currently, URLs are created in the unpublished news languages that then 301 redirect the user to main news page since the content doesnt exist in that language. Is this implementation okay or is there a preferred method we should be using so that we don't have a large number of pages on the site with redirects? Thanks!
Intermediate & Advanced SEO | | theLotter0 -
301 doesn't redirect a page that ends in %20, and others being appended with ?q=
I have a product page that ends /product-name**%20** that I'm trying to redirect in this way: Redirect 301 /products/product-name%20 http://www.site.com/products/product-name And it doesn't redirect at all. The others, those with %20, are being redirected to a url hybrid of old and new: http://www.site.com/products/product-name**?q=old-url** I'm using Drupal CMS, and it may be creating rules that counter my entries.
Intermediate & Advanced SEO | | Brocberry0 -
Question about 301 redirect for trailing / ?
I am cleaning up a fairly large site. Some pages have a trailing slash on the end some don't. Some of the existing backlinks built used a trailing slash in the url and some didn't. We aren't concerned with picking a particular one but just want to get one set and stick to it from now on. I am wondering, would I clean this up within the same redirect in the htaccess file that takes care of the www and non www? example RewriteEngine On
Intermediate & Advanced SEO | | PEnterprises
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.domain.com/ [NC]
RewriteRule ^(.*)$ http://domain.com$1 [L,R=301] I currently use that to redirect the www. to the non www as you can see. However here is what I was confused about. Would this code be enough to redirect ALL pages with a / to the ones without? or would I also need to add another code (so there is 2) to my htaccess like below? RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^domain.com/ [NC]
RewriteRule ^(.*)$ http://domain.com$1 [L,R=301] RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.domain.com/ [NC]
RewriteRule ^(.*)$ http://domain.com$1 [L,R=301] That way, now, even the non www pages with a trailing slash will redirect to the non www without the trailing slash. Hopefully you understand what I am getting at. I just want to redirect EVERYTHING to the non www WITHOUT a / Thank you Jake0