Canonical issue
-
Hi,
Very new to seomoz but very impressed. First report has shown me that I have duplicate pages. Some seem to be duplicate titles and some were duplicates of pages i found on the server.
however the main problem is it seems to be picking up pages with www and without it which I have a vague idea is a canonical issue.
so it throws up pages like this:
http://web-writer-articles.co.uk
and http://www.web-writer-articles.co.uk
I want it just to pick up pages with www
Firstly should it be picking up both and if not how can I make amendments so that it is only picking up pages which include www ?
thank you for your help,
louandel15
-
Yes, now it should work. If not, write to me and I can help you
-
In my htaccess file at the moment I have:
DirectoryIndex index.html index.cgi index.php
Do i just add what you have suggested so it looks like this:
DirectoryIndex index.html index.cgi index.php
RewriteEngine On RewriteCond %{HTTP_HOST} ^web-writer-articles.co.uk RewriteRule (.*) http://www.web-writer-articles.co.uk/$1 [R=301,L]
thanks
louandel15
-
Than you will need to make a 301 redirection to solve the problem. You will need to edit your .htaccess file. You will find it at you public_html fold. If it doesnt exist, create one.
Inside this file you in write the follow:
RewriteEngine On RewriteCond %{HTTP_HOST} ^web-writer-articles.co.uk RewriteRule (.*) http://www.web-writer-articles.co.uk/$1 [R=301,L]
Problem solved and google will not more complain.
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
-
Canonical: Same content but different countries
I'm building a website that has content made for specific countries. The url format is: MyWebsite.com/<country name="">/</country> Some of the pages for <specific url="">are the same for different countries, the <specific url="">would be the same as well. The only difference would be the <country name="">.</country></specific></specific> How do I deal with canonical issues to avoid Google thinking I'm presenting the same content?
On-Page Optimization | | newbyguy0 -
Homepage canonical url with splash or not with splash? All other links are without but logo links with splash
Hello, There is so much contradicting information about the homepage canonical URL. Many websites have all the links without the trailing splash but their homepage URL still contains the splash. Now Moz is an example with this. Their urls don't have the splash, and their canonical does not have the splash. Why is it so and why so much different ways people have it?
On-Page Optimization | | advertisingcloud0 -
Rel="canonical" Wordpress 2015 Best Practice
There are forum posts about how to insert rel="canonical" tags in Wordpress, but I've read about lots of changes in this space recently (updates to Yoast, for example). I'm having a problem with duplicate content on one of my sites, and it seems to be coming from multiple indexes of the same pages. I'll have a blog post show up under the posts, then the archives, then the tags. So, my question is, in early 2015, what are the current best practices for adding rel="canonical" tags in Wordpress? Thanks! Tim
On-Page Optimization | | TimLlew0 -
Rel Canonical help
Is it possible to confirm this to me please? My understanding of the rel canonical tag was to tell google of duplicate content? so for instance product 1
On-Page Optimization | | TeamacPaints
www.ourdomain.co.uk/products/category/subcategory/theproduct1 Product 1a
www.ourdomain.co.uk/products/category/subcategory/theproduct1a same content just a different colour would be rel canonical'd to Product 1 as thats the main product, is my understanding correct? Now here is what I have discovered. www.ourdomain.co.uk/products/category/subcategory/theproduct1 has a rel canonical tag that reverts back to www.ourdomain.co.uk/products/ which isn't optimized as such its just a generic catalog page. This is inccorect and google will dismiss the actial product and revert to the generic catalog page? any help would be great.0 -
Issue: Duplicate Page Content
Hello SEO experts, I'm facing duplicate page content issue on my website. My website is a apartments rental website when client search apartment for availability. Automatic generate same url's. I've already block these url's in robots.txt file but facing same issue. Kindly guide me what can I do. Here are some example links. http://availability.website.com/booking.php?id=17&bid=220
On-Page Optimization | | KLLC
http://availability.website.com/booking.php?id=17&bid=242
http://availability.website.com/booking.php?id=18&bid=214
http://availability.website.com/booking.php?id=18&bid=215
http://availability.website.com/booking.php?id=18&bid=256
http://availability.website.com/details.php?id=17&bid=220
http://availability.website.com/details.php?id=17&bid=242
http://availability.website.com/details.php?id=17&pid=220&bid=220
http://availability.website.com/details.php?id=17&pid=242&bid=242
http://availability.website.com/details.php?id=18&bid=214
http://availability.website.com/details.php?id=18&bid=215
http://availability.website.com/details.php?id=18&bid=256
http://availability.website.com/details.php?id=18&pid=214&bid=214
http://availability.website.com/details.php?id=18&pid=215&bid=215
http://availability.website.com/details.php?id=18&pid=256&bid=256
http://availability.website.com/details.php?id=3&bid=340
http://availability.website.com/details.php?id=3&pid=340&bid=340
http://availability.website.com/details.php?id=4&bid=363
http://availability.website.com/details.php?id=4&pid=363&bid=363
http://availability.website.com/details.php?id=6&bid=367
http://availability.website.com/details.php?id=6&pid=367&bid=367
http://availability.website.com/details.php?id=8&bid=168
http://availability.website.com/details.php?id=8&pid=168&bid=168 Thanks and waiting for your response | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |0 -
Do I need canonical link on target page?
I've placed in my head tag on duplicate content pages, but do i need to place it on the target page such as http://www.example.com/index.html too?
On-Page Optimization | | CaliB0 -
Canonical links
My website is relatively new, January. We climbed steadily to 6th for our search term then overnight rocketed to 1st. This only lasted a week and have been stuck at 9th ever since. When I use the SEO Moz tools our site should theoretically be top...I only joined today btw. Anyway in Google webmaster tools I noticed it said I had duplicate title tags, when I checked to see what the pages were- it was my home page! Google also seems to have cached two versions of our homepage, the root domain and the Default.aspx page. Now I have fixed this canonical linking issue today (using canonical link tag and 301s) so time will tell but has anyone got any first hand experience of this issue? Was it a big factor? Thanks!
On-Page Optimization | | SplashBacksNI0 -
Home page duplicated content issue
Hi there! The home page of my site can be seen under www.mysitename.com and www.mysitename.com/EN/ or www.mysitename.com/ES/ (depending on your language). I understand that this is duplicated content because they show the same content under different URLs. To solve this we've done (depending on your language) a 301 redirect from www.mysitename.com to www.mysitename.com/EN/ or www.mysitename.com/ES/ Is this correct? Thanks!
On-Page Optimization | | Xopie0