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 -
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 -
I Mistakenly uploaded Disavow File to Non WWW version of Webiste in Webmaster Tools...is this a Problem???
Hey guys and gals, I need some advice on this please. I recently had someone perform a negative S.E.O campaign on my site and I was inundated with 13,000 + spammy links pointing to my website and I had to perform a Disavow in Google Webmaster Tools but for some reason, it is showing that I uploaded the Disavow text file to the Non WWW version of the website but the WWW version of my website is the preferred domain and I have all NON WWW queries being 301 redirected to www.pcmedicsoncall.com My question is should I correct this and upload the Disavow text to the preferred domain in Google Webmaster Tools??? Please advise on how I should proceed with this situation.... Thank you. Cam
White Hat / Black Hat SEO | | CamMcArthur0 -
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 -
Is it ok to ask for a non reciprocal link
hey guys, got mini discussion question. With rapgenius.com getting penalized today, it raises some questions about linking. What they did is definitely not ok. A link scheme involving their own affiliate network is against Google guidelines for sure. So is it ok to ask for a non reciprocal link if there is no incentive involved and no money changes hands? ie. Someone writes an article related to your article topic, or they reference you without a link. Then uou email the webmaster requesting a link... They add it. Is this against the guidelines?
White Hat / Black Hat SEO | | Anti-Alex0 -
SEO best practice: Use tags for SEO purpose? To add or not to add to Sitemap?
Hi Moz community, New to the Moz community and hopefully first post/comment of many to come. I am somewhat new to the industry and have a question that I would like to ask and get your opinions on. It is most likely something that is a very simple answer, but here goes: I have a website that is for a local moving company (so small amounts of traffic and very few pages) that was built on Wordpress... I was told when I first started that I should create tags for some of the cities serviced in the area. I did so and tagged the first blog post to each tag. Turned out to be about 12-15 tags, which in turn created 12-15 additional pages. These tags are listed in the footer area of each page. There are less than 20 pages in the website excluding the tags. Now, I know that each of these pages are showing as duplicate content. To me, this just does not seem like best practices to me. For someone quite new to the industry, what would you suggest I do in order to best deal with this situation. Should I even keep the tags? Should I keep and not index? Should I add/remove from site map? Thanks in advance for any help and I look forward to being a long time member of SEOMoz.
White Hat / Black Hat SEO | | BWrightTLM0 -
Ways to find private - non-indexed forums in a niche
I would wondering if there were ways to find non-indexed content in private forums/discussion boards. Is there a scalable 'foot-print' that suggests the forum has a private section?
White Hat / Black Hat SEO | | ilyaelbert0 -
What on-page/site optimization techniques can I utilize to improve this site (http://www.paradisus.com/)?
I use a Search Engine Spider Simulator to analyze the homepage and I think my client is using black hat tactics such as cloaking. Am I right? Any recommendations on to improve the top navigation under Resorts pull down. Each of the 6 resorts listed are all part of the Paradisus brand, but each resort has their own sub domain.
White Hat / Black Hat SEO | | Melia0