Add a non www binding.
-
Hello,
I will ask something that is probably been asked before, but I cannot find the answer, so excuse me.
I have a website, www.example.com, and I want to add a binding to my server so when someone also hits example.com (without www in front) to be landed normally to my site.
The question is if this will affect the seo of the site in any way - duplicate content etc?
Thank you!
-
Thank you, this was helpful!!
-
Hello ! You must first choose which version of your website you prefer: www.domain.com or domain.com
Once that is done, go to Google Webmaster Tools and create an account for each version, one for the www and one for the domain.com
Once created, tell GWT which is your favourite !
Then, you need to make a permanent rediretion 301 through your .htacess as follows to take out the www.:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.midominio.com [NC]
RewriteRule ^(.*)$ http://midominio.com/$1 [L,R=301] **Or Viceversa:**
RewriteEngine On
RewriteCond %{HTTP_HOST} ^midominio.com [NC]
RewriteRule ^(.*)$ http://www.midominio.com/$1 [L,R=301]
If you don't do this and both www and non www versions appear, then you have Duplicate Content !
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
-
I want to rank with this page http://www.servicesarab.com/%D9%86%D9%82%D9%84-%D8%B9%D9%81%D8%B4-%D8%A7%D9%84%D9%83%D9%88%D9%8A%D8%AA/
i want to rank with this page http://www.servicesarab.com/%D9%86%D9%82%D9%84-%D8%B9%D9%81%D8%B4-%D8%A7%D9%84%D9%83%D9%88%D9%8A%D8%AA/
White Hat / Black Hat SEO | | saharali150 -
Question about "sneaky" vs. non-sneaky redirects?
One of my client's biggest keyword competitors is using, what I believe to be, sneaky redirects. The company is a large, international corporation that has a local office. They use a totally unrelated domain name for local press and advertising, but there is no website. The anchor text in the backlinks automatically redirects to the corporate website. Is this sneaky or not?
White Hat / Black Hat SEO | | JCon7110 -
Strange referral site: www.cyberonlineclicking.com would like some insights from the community
Hello Mozzers! I've noticed that our site has been receiving a significant amount of referral traffic from a rather suspect looking site: www.cyberonlineclicking.com Can anyone shed any light on this beast. Stopped receiving traffic around 11th November, but was getting 20K sessions over a 4 week period. The traffic was of poor quality, but would be good to know how or why they were linking to my site (fejobs dot com). Looks very suspicious. Thanks Justin
White Hat / Black Hat SEO | | Eteach_Marketing0 -
Obscene anchor text linking to non-existent pages on my site
My website seems to be rapidly accumulating links from what seem to be reputable websites and which are going to non-existent pages on my website. The anchor text of many of these links is obscene. Here is the URL of one of the pages that is linking to me. I contacted the originating site a couple of weeks ago and they are looking into it but I've not heard back. I'm guessing the originating sites have been hacked. Should I be concerned? Why are they linking to pages on my site that don't exist? http://www.radicalartistsagency.com/htmlarea/language/0content_abo_utus.html Looking at the page source of this page reveals the hidden links.
White Hat / Black Hat SEO | | MartinDS0 -
Www.oru.edu & oru.edu
Everyplace I check, the pagerank for both of those domains is either 0 or NA. However on this site oru.edu actually has a pagerank and this is the only source I can find for that. The sub www.oru.edu still has a zero on this site. A historical checker has oru.edu a N/A ranking just a few days ago and in June.
White Hat / Black Hat SEO | | Oklahoma_0 -
Google Penguin for non-English queries?
Does anybody know if non-English queries were also 'hit' by the Google Penguin update? All Penguin horror stories out there are from sites focusing on English queries, and in some (Dutch) industries I'm monitoring, some sites with spammy backlink profiles are still ranking.
White Hat / Black Hat SEO | | RBenedict0 -
Should we add our site to Google Webmaster Tools
Hello, Should we add our site nlpca(dot)com to google webmaster tools? Everything's very white hat but we do have a section on each of our 4 sites for "Our other Sites" that link to the others. It's been there for many years. We're looking for clues as to why we've dropped in rank Thanks!
White Hat / Black Hat SEO | | BobGW0 -
Do bad links "hurt" your ranking or just not add any value
Do bad links "hurt" your ranking or just not add any value. By this I mean, if you do have links from link farms and bad neighbourhoods, would it effectively pull you down in search engine rankings. Or is it more that it's just a waste of time to get these links, as it adds no value to your ranking. Are google saying avoid them because it will not have a positive effect, or avoid them becuase it will have a negative effect. I am under the opinion that it will not harm, but it will not help either. I think this because at the end of the day you are not 100% in control of your inbound links, any bad site could add you and if a competitor, god forbid, wanted to play some black hat games, couldn't they just add you to thousands of bad sites to pull your ranking down? Interested to hear your opinions on the matter, or any "facts" if they are out there.
White Hat / Black Hat SEO | | esendex0