301-redirect
-
Hi
My website is fairly new and i wasnt aware of the difference btw 'website.com' and 'www.website.com' when i started up. It doesnt matter which one i use as long as i am consistent right ?
Most of my ingoing links are to mainpage on 'website.com'. I have som ingoing links to 'www.website.com' but also some to 'www.website.com/brandname'. is it enough to 301-redir 'www.website.com' to 'website.com' or does it need to be done on several levels ?
I need to have someone do the redirect for me - how can i check its working when its done ?
Dan Lærum
-
Use relative paths, and you lose all link juice when someone scrapes your content and reposts it.
-
On Google WMT, there's an option for preferred domain setting. You can use this. But I do agree with Ryan that it'll solve the issue only for Google not for other search engines.
-
There are other SE's out there then google and you don't want to loose that traffic, so as Ryan stated you can't fix it in GWT.
-
To be clear, you would use Google IN ADDITION TO the other changes, not instead of.
Google WMT will alter how your URL appears on their search pages. If you don't address the issue on your site you will still have the same negative effects.
-
2 things you should keep in mind about with and without www:
- how many pages does google have indexed with and without
- how many links do you have that points towards www vs non-www.. this one is important since not all of your PR will get passed on after a 301. Most but bot all of it
hope it helped
-
Didnt know i could do through google webmaster, thanks.
-
Does it really matter which direction i redirect ? Is it most common to redir to -->www. ?
-
Yes...it should be redirected to www. through .hactess or it can be done through Google webmaster tools.
-
Right back at you Ryan, good point
-
excellent point Rene
This works well for links you create but not for any UGC
-
Ryan is clearly less lazy then me just a short remark to the internal linking:
use relative paths and you will never have to worry about it.
meaning use: /images/someImg.jpg instead of www.yourdomain.com/images/someImg.jpg
-
Your host can create one entry to redirect all non-www traffic to it's www equivalent.
It's easy to confirm the change was made properly. Simply go to any page on your site and you should see it in the "www" form. Then, go to your address bar and remove the "www." portion of the URL, hit enter, then the "www." portion should be re-added and you should be on the same page.
Also, use your SEOmoz toolbar Analyze Page > Page Attributes and check the Status Code section at the bottom. When you try to access a "www." page the status code should show as 200. When you try to access a non-www page the status code should show a 301 redirect to the www page.
Lastly, check every internal link of your site to ensure you are using the www version, along with any signatures and company pages you may have on facebook or other locations.
-
short answer: yes
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
-
Redirect 410
I used http status code as 410 for some low quality pages in my site to Redirect to homepage. is this useful to improve my homepage authority?
Technical SEO | | ghorbanimahan
my website is: Nitamoshaver.com0 -
Http:// to https:// 301 or 302 redirect
I've read over the Q & A in the Community, but am wondering the reasoning behind this issue. I know - 301's are permanent and pass links, and 302s are temporary (due to cache) and don't pass links. But, I've run across two sites now that 302 redirect http:// to https://. Is there a valid reason behind this? From my POV and research, the redirect should 301 if it's permanent, but is there a larger issue I am missing?
Technical SEO | | FOTF_DigitalMarketing1 -
Where to put 301 redirects in Magento?
I will be changing the URL structure in a magento store from "base/category/subcategory/product" to "base/product" which means i have to make over 1000 URL 301 redirects so our old links still work. Should i put the redirects in a .htaccess file so they stay intact no matter what or should i just put them in with all the other rewrites (in Magento 's URL rewrite manager)? Thanks
Technical SEO | | tilenkrivec0 -
301 and joomla
I was looking at the subpages of my website www.mywebsite.com/my-sub/page.html and i noticed that when I type mywebsite.com/my-sub/page.html ( without the www.) in front it I get re-directed to the homepage. Is that a known issue of joomla and does it mean that google cache both version of my site causing site wide duplicate content ? Thank you,
Technical SEO | | seoanalytics0 -
Will rankings for my micro site rank better if I 301 redirect it to my main site?
This is my first time asking so I will try to be as clear as possible. Ok, I have a micro site that is an (exact match domain) and the domain is a couple 3-4 years old and ranks very well for several search terms. The main two terms it ranks for are like this. houses for rent in XXXXX XXXXX homes for rent (XXXXX equals a city name) The issue is this site has no backlinks, zero advanced SEO, I only did basic optimization to it when i set the site up. Even site structure, url structure all are not good.
Technical SEO | | Robbie8299
The only page I have ever even seen rank is the main root url. But with all that the site does really good in the top 1-2 results for key search terms. Now, I have a main site that is a very big site that has steadily been climbing in search terms every month with great backlinks, optimized for the city and all.
It currently ranks on second page for the listed search terms listed above. What I want to do is 301 redirect this microsite to my city page on my main site that is much better optimized for the key city terms.
The 301 redirect would point this "root domain" (mymicrosite.com) to my city page that looks like this. www.mymaindomain.com/city/XXXXXXX If I do this will Google rank my main URL city page as well as it ranks this microsite with zero links, seo, etc, etc. What happens if it does not? Will I be able to turn off the 301 redirect and keep the microsite rankings? My main reason for wanting this is I want this city page to rank well and I only want to optimize one site instead of both. Any help would be great!0 -
Do search engines treat 307 redirects differently from 302 redirects?
We will need to send our users to an alternate version of our homepage for a few hours for a certain event. The SEO task at hand is to minimize the chance of the special homepage getting crawled and cached in the search engines in place of our normal homepage. (This has happened in the past so the concern is not imaginary.) Among other options, 302 and 307 redirects are being discussed. IE, redirecting www.domain.com to www.domain.com/specialpage. Having used 302s and 301s in the past, I am well aware of how search engines treat them. A 302 effectively says "Hey, Google! Please get rid of the old content on www.domain.com and replace it with the content on /specialpage!" Which is exactly what we don't want. My question is: do the search engines handle 307s any differently? I am hearing that the 307 does NOT result in the content of the second page being cached with the first URL. But I don't see that in the definition below (from w3.org). Then again, why differentiate it from the 302? 307 Temporary Redirect The requested resource resides temporarily under a different URI. Since the redirection MAY be altered on occasion, the client SHOULD continue to use the Request-URI for future requests. This response is only cacheable if indicated by a Cache-Control or Expires header field. The temporary URI SHOULD be given by the Location field in the response. Unless the request method was HEAD, the entity of the response SHOULD contain a short hypertext note with a hyperlink to the new URI(s) , since many pre-HTTP/1.1 user agents do not understand the 307 status. Therefore, the note SHOULD contain the information necessary for a user to repeat the original request on the new URI. If the 307 status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued.
Technical SEO | | CarsProduction0 -
Is this a safe 301 redirect?
We are moving our site from one platform to another. Currently on our site we have two homepages. "www.homepage.com" and "www.homepage.com/Index" Both pages have some high quality links pointing in on them. The problem: We are going to be doing a 301 redirect from "www.homepage.com/Index" page to "www.homepage.com" as we are moving platforms at this time we weren't going to create a "www.homepage.com/Index" page all. This leaves this page as an empty URL. With this webpage disappearing all together will we lose traction as we are redirecting an empty URL? Or is it better to recreate this "www.homepage.com/Index" on our new platform redirect it and wait for google to deIndex this page for us? As well is there a tutorial for how to implement 301 redirects or is this something worth looking for a developer and pay someone to do?
Technical SEO | | HCGDiet0 -
What are the SEOmoz-suggested best practices for limiting the number of 301 redirects for a given site?
I've read some vague warnings of potential problems with having a long list of 301 redirects within an htaccess file. If this is a problem, could you provide any guidance on how much is too much? And if there is a problem associated with this, what is that problem exactly?
Technical SEO | | roush0