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
-
Moving content form Non-performing site to performing site - wihtout 301 Redirection
I have 2 different websites: one have good amount of traffic and another have No Traffic at all. I have a website that has lots of valuable content But no traffic. And I want to move the content of non-performing site to performing site. (Don't want to redirect) My only concern is duplicate content. I was thinking of setting the pages to "noindex" on the original website and wait until they don't appear in Google's index. Then I'd move them over to the performing domain to be indexed again. So, I was wondering If it will create any copied content issue or not? What should i have to take care of when I am going to move content from one site to another?
White Hat / Black Hat SEO | | HuptechWebseo0 -
Why to add a product id in the url
Hello ! shop.com/en/2628-buy-key-origin-the-sims-4-seasons/ Why will people use a product id in the link? Is there any advantage like better ranking or else?
White Hat / Black Hat SEO | | kh-priyam0 -
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 -
How to add more quality backlink with moz tools or any good option
How to add more quality backlink with moz tools or any good option
White Hat / Black Hat SEO | | Poojath0 -
Do Wikipedia links add value?
Do Wikipedia pages/links add any value to your website and SEO? We are not an advertiser or seller of products, whereas we help people with planning so say I add an external link from an established page relevant to our service, will we get penalised by Wikipedia? Or is it worth setting up a page about our company, similar to say - the BBC with an external link? Thanks!
White Hat / Black Hat SEO | | Jaybeamer0 -
Sure, but what about non-keyword rich anchor text links?
Could spammy non-keyword rich anchor text liks help your website rank? Of course, there's been a lot of discussion around Google's update of its link scheme. Specifically, they target press releases with do-follow links on keyword-rich anchor text and "Large-scale article marketing or guest posting campaigns with keyword-rich anchor text links". Well, that leaves the question unanswered, what if you're doing these spammy linking techniques, but on non-keyword rich anchor text, such as "click here", "find information", and "click here". Will you still get smacked down by Google then? Given that links on non-keyword anchor text can still help increase domain authority, it seems like Google left a door open here for large scale publication of a certain class of spammy links that can still assist rank, no? Also, in answering, please distinguish between best practice, and effective. For instance, purchasing links isn't a good practice, but it can still be an effective technique. While spammy links on non-keyword rich anchor text is certainly not a good practice, is it nonetheless effective?
White Hat / Black Hat SEO | | ExploreConsulting0 -
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