How to fix a canonical problem with no htaccess?
-
Basically I need to find a way to fix my canonical problem. The www and no-www version of my site each show up. This creates duplicate content. I have no htaccess with yahoo. How else can I fix this problem? Does anyone have a sample code I could use?
-
Ok, so I don't need a 301 redirect?
-
In your Google webmaster account add and verify both the domain http://example.com and http://www.example.com
Suppose you want to set www version as preferred method then in the Configuration >> Settings of both the domains under webmaster tool set www version as preferred
Also, you can add the canonical tag under the head section of each page as follows:
<link rel=<a class="attribute-value">canonical</a> href="[http://www.example.com/actual-page-name-comes-here.html](view-source:http://www.snapdeal.com/deals-delhi)"/>
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
-
Best use of Canonical Tag with Mini-Websites
Hello, I was wondering what the best way would be to implement Canonical Tags in kind of a unusual situation. The company I work for creates single property websites for real estate agents. We register a URL such as 123MainSt.com - however through DNS we redirect that to a path. For example: http://www.944milmadadr.com would redirect to: https://www.qwikvid.com/realestate/go/v1/home/?idx=wDg1Gdwt7wnQiR3LMeCx28qPnWTKM0JV If we wanted to rank high in the search engines for our clients: "944 Milmada Dr" - Would it be the best practice to Canonical: http://www.944milmadadr.com ? Thanks in advance for any feedback on this!! Jason
Intermediate & Advanced SEO | | Qwikvid0 -
Pages with similar content: Redirect or Canonical? Or something else?
We have two pages on our site with similar content. One was originally a landing page for a marketing campaign, somewhat of a micro-site feel with a lot of content. We recently optimized another page on the site with much of the same content from the original landing page/micro-site. In order to avoid duplicate content, and to let Google know our authority page is the new page, we're wondering what is best practice: Should we... 301 redirect the old page? No index the old page? Keep both pages and use a canonical to tell Google the new page is authority? Or something else?
Intermediate & Advanced SEO | | seo_1234b0 -
Same content on other domain owned by de company. Canonical is not working
Hi! I am analyzing a website right now. It's a school, let's name it NEWSCHOOL. This school is owned by other school, let's name it, BIGSCHOOL NEWSCHOOL is specialized in tourism degrees, and the BIGSCHOOL is a bigger and older one with a lot of different degrees. What happens is that NEWSCHOOL has a course, let's name it TOURISM DEGREE.
Intermediate & Advanced SEO | | teconsite
BIGSCHOOL has that course too, with the same content, trying to help to promote the content, because this school is older, well known and has a consolidated brand internationally. BIGSCHOOL, has placed a canonical tag, telling Google that content comes from NEWSCHOOL. What is happening is that the result of newschool is beeing omited by google. The first result is the BIGSCHOOL content, and then a lot of training portals, where the degree content is too to increase its visibility. So, I would like to know, how can we do to say google that the content that it should show is the one of NEWSCHOOL and not the one in BIGSCHOOL. It's pretty clear that Google knows that those portals are closed related, because it is omitting the NEWSCHOOL results. I know that we can send a link from the content area from one portal to the other in the content we want. But... would it solve the problem... and y we have to repeat that for each degree, woudn't it be a little dangerous? Would like to know your points of view! Thanks!0 -
Does Bing support cross-domain canonical tag?
Hi folks, We are planning to implement a cross-domain canonical tag for a client and I'm looking for some information on bing supporting cross-domain canonical tag. Does anyone knows if there was a public announcement made by Bing or any representative about the support of this tag? Btw, the best info I've found is a Q&A here on Moz about it http://moz.com/community/q/does-bing-support-cross-domain-canonical-tags but I'm looking for a Bing information on the topic.
Intermediate & Advanced SEO | | fabioricotta-840380 -
SEO Problem with PowerPoint to PDF?
Can anyone think of any reasons why it would be a bad idea to use PowerPoint to create documents and then convert them to PDFs? Do you think this could cause any crawling issues for Google?
Intermediate & Advanced SEO | | BlueLinkERP0 -
Canonical Meta Tag Best Practices
I've noticed that some website owners use canonical tags even when there may be no duplicate issues.For examplewww.examplesite.com has a canonical tag.......rel="canonical" href="http://www.examplesite.com/" />www.examplesite.com/bluewidget has a canonical tag.......rel="canonical" href="http://www.examplesite.com/bluewidget/" />Is this recommended or helpful to do this?
Intermediate & Advanced SEO | | webestate0 -
Status Code: 404 Errors. How to fix them.
Hi, I have a question about the "4xx Staus Code" errors appearing in the Analysis Tool provided by SEOmoz. They are indicated as the worst errors for your site and must be fixed. I get this message from the good people at SEOmoz: "4xx status codes are shown when the client requests a page that cannot be accessed. This is usually the result of a bad or broken link." Ok, my question is the following. How do I fix them? Those pages are shown as "404" pages on my site...isn't that enough? How can fix the "4xx status code" errors indicated by SEOmoz? Thank you very much for your help. Sal
Intermediate & Advanced SEO | | salvyy0 -
Canonical Tags & Search Bots
Does anyone know for sure if search engine bots still crawl links on a page whose canonical tags are set to a different page? So in short, would it be similar to a no-index follow? Thanks! -Margarita
Intermediate & Advanced SEO | | MargaritaS0