Duplicate Page Title
-
First i had a problem with duplicate title errors, almost every page i had was double because my website linked to both www.funky-lama.com and funky-lama.com
I changed this by adding a code to htaccess to redirect everything to www.funky-lama.com, but now my website was crawled again and the errors were actually doubled.
all my pages now have duplicate title errors cause of pages like this
www.funky-lama.com/160-confetti-gitaar.html funky-lama.com/160-confetti-gitaar.html
www.funky-lama.com/1_present-time funky-lama.com/1_present-time
-
thank you
-
Go to web-snifer.net Add http://funky-lama.com And see if the status code is 301 and redirecting to http://www.funky-lama.com I checked it now and the redirection is correct
-
how can i test if it works?
-
If you added this RewriteCond %{HTTP_HOST} ^funky-lama.com$ [NC]RewriteRule ^(.*)$ http://www.funky-lama.com/$1 [L,R=301]
try to added it after "RewriteEngine on"
-
This is the entire code in the htaccess
.htaccess automaticaly generated by PrestaShop e-commerce open-source solution# WARNING: PLEASE DO NOT MODIFY THIS FILE MANUALLY. IF NECESSARY, ADD YOUR SPECIFIC CONFIGURATION WITH THE HTACCESS GENERATOR IN BACK OFFICE# http://www.prestashop.com - http://www.prestashop.com/forums order allow,denydeny from 93.174.93.5allow from all RewriteCond %{HTTP_HOST} ^funky-lama.com$ [NC]RewriteRule ^(.)$ http://www.funky-lama.com/$1 [L,R=301]# URL rewriting module activationRewriteEngine on # URL rewriting rulesRewriteRule ^api/?(.)$ /webservice/dispatcher.php?url=$1 [QSA,L]RewriteRule ^([a-z0-9]+)-([a-z0-9]+)(-[_a-zA-Z0-9-])/[_a-zA-Z0-9-].jpg$ /img/p/$1-$2$3.jpg [L]RewriteRule ^([0-9]+)-([0-9]+)/[_a-zA-Z0-9-].jpg$ /img/p/$1-$2.jpg [L]RewriteRule ^([0-9]+)(-[_a-zA-Z0-9-])/[a-zA-Z0-9-].jpg$ /img/c/$1$2.jpg [L]RewriteRule ^([0-9]+)-[a-zA-Z0-9-].html /product.php?id_product=$1 [QSA,L]RewriteRule ^([0-9]+)-[a-zA-Z0-9-]* /category.php?id_category=$1 [QSA,L]RewriteRule ^[a-zA-Z0-9-]/([0-9]+)-[a-zA-Z0-9-].html /product.php?id_product=$1 [QSA,L]RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*) /supplier.php?id_supplier=$1 [QSA,L]RewriteRule ^([0-9]+)([a-zA-Z0-9-]) /manufacturer.php?id_manufacturer=$1 [QSA,L]RewriteRule ^content/([0-9]+)-([a-zA-Z0-9-]) /cms.php?id_cms=$1 [QSA,L]RewriteRule ^content/category/([0-9]+)-([a-zA-Z0-9-]) /cms.php?id_cms_category=$1 [QSA,L]RewriteRule ^lang-([a-z]{2})/([a-zA-Z0-9-])/([0-9]+)-([a-zA-Z0-9-]).html /product.php?id_product=$3&isolang=$1 [QSA,L]RewriteRule ^lang-([a-z]{2})/([0-9]+)-([a-zA-Z0-9-]).html /product.php?id_product=$2&isolang=$1 [QSA,L]RewriteRule ^lang-([a-z]{2})/([0-9]+)-([a-zA-Z0-9-]*) /category.php?id_category=$2&isolang=$1 [QSA,L]RewriteRule ^page-not-found$ /404.php [QSA,L]RewriteRule ^address$ /address.php [QSA,L]RewriteRule ^addresses$ /addresses.php [QSA,L]RewriteRule ^authentication$ /authentication.php [QSA,L]RewriteRule ^best-sales$ /best-sales.php [QSA,L]RewriteRule ^cart$ /cart.php [QSA,L]RewriteRule ^contact$ /contact-form.php [QSA,L]RewriteRule ^discount$ /discount.php [QSA,L]RewriteRule ^guest-tracking$ /guest-tracking.php [QSA,L]RewriteRule ^order-history$ /history.php [QSA,L]RewriteRule ^identity$ /identity.php [QSA,L]RewriteRule ^manufacturers$ /manufacturer.php [QSA,L]RewriteRule ^my-account$ /my-account.php [QSA,L]RewriteRule ^new-products$ /new-products.php [QSA,L]RewriteRule ^order$ /order.php [QSA,L]RewriteRule ^order-follow$ /order-follow.php [QSA,L]RewriteRule ^quick-order$ /order-opc.php [QSA,L]RewriteRule ^order-slip$ /order-slip.php [QSA,L]RewriteRule ^password-recovery$ /password.php [QSA,L]RewriteRule ^prices-drop$ /prices-drop.php [QSA,L]RewriteRule ^search$ /search.php [QSA,L]RewriteRule ^sitemap$ /sitemap.php [QSA,L]RewriteRule ^supplier$ /supplier.php [QSA,L] # Catch 404 errorsErrorDocument 404 /404.php ExpiresActive On ExpiresByType image/gif "access plus 1 month"
-
As Wissam Dandan said, your redirection seems to be not working fine. To redirect to the WWW version, use this instead:
RewriteCond %{HTTP_HOST} ^funky-lama.com$ [NC]
RewriteRule ^(.*)$ http://www.funky-lama.com/$1 [L,R=301]This should resolve the issue.
-
I did a header check on funky-lama.com and its showing a 200 OK . So there is no redirection to the www version.
Please make sure the Code in htaccess is right.
you can paste it here so we can see where the fault is.
Thank you
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
-
Google keeps marking different pages as duplicates
My website has many pages like this: mywebsite/company1/valuation mywebsite/company2/valuation mywebsite/company3/valuation mywebsite/company4/valuation ... These pages describe the valuation of each company. These pages were never identical but initially, I included a few generic paragraphs like what is valuation, what is a valuation model, etc... in all the pages so some parts of these pages' content were identical. Google marked many of these pages as duplicated (in Google Search Console) so I modified the content of these pages: I removed those generic paragraphs and added other information that is unique to each company. As a result, these pages are extremely different from each other now and have little similarities. Although it has been more than 1 month since I made the modification, Google still marks the majority of these pages as duplicates, even though Google has already crawled their new modified version. I wonder whether there is anything else I can do in this situation? Thanks
Technical SEO | | TuanDo96270 -
Duplicate page titles for blog snippets pages
I can't figure the answer to this issue, on my blog I have a number of pages which each show snippets and an image for each blog entry, these are called /recent-weddings/page/1 /2 /3 and so on. I'm getting duplicate page titles for these but can't find anywhere on Wordpress to set a unique title for them. So http://www.weddingphotojournalist.co.uk/recent-weddings/…/2/ has the same title as http://www.weddingphotojournalist.co.uk/recent-weddings/…/3/
Technical SEO | | simonatkinsphoto0 -
Added 301 redirects, pages still earning duplicate content warning
We recently added a number of 301 redirects for duplicate content pages, but even with this addition they are still showing up as duplicate content. Am I missing something here? Or is this a duplicate content warning I should ignore?
Technical SEO | | cglife0 -
New Page Showing Up On My Reports w/o Page Title, Words, etc - However, I didn't create it
I have a WordPress site and I was doing a crawl for errors and it is now showing up as of today that this page : https://thinkbiglearnsmart.com/event-registration/?event_id=551&name_of_event=HTML5 CSS3 is new and has no page title, words, etc. I am not even sure where this page or URL came from. I was messing with the robots.txt file to allow some /category/ posts that were being hidden, but I didn't re-allow anything with the above appendages. I just want to make sure that I didn't screw something up that is now going to impact my rankings - this was just a really odd message to come up as I didn't create this page recently - and that shouldnt even be a page accessible to the public. When I edit the page - it is using an Event Espresso (WordPress plugin) shortcode - and I don't want to noindex this page as it is all of my events. Sorry this post is confusing, any help or insight would be appreciated! I am also interested in hiring someone for some hourly consulting work on SEO type issues if anyone has any references. Thank you!
Technical SEO | | webbmason0 -
Negative Effect of Duplicate Title Tags
Hi guys, I'm trying to figure out if one my problems with search rankings might be a result of 2 of my main pages (home page and tier 2 page linked to main menu) have the same title and description tags. Let's say my keyword is 'building paper airplanes'. The url for my homepage is http://domain.com and the Title Tag is "Building Paper Airplanes I Domain". My tier 2 page url is http://domain.com/building-paper-airplanes and the Title tag is "Building Paper Airplanes I Domain". The home page is more of an introduction page before the user gets into the instructions on the tier 2 page. Can anybody advise if this might be having a negative affect on my search results for the search term 'building paper airplanes'? Thanks.
Technical SEO | | Rogs.SEO0 -
Duplicate title tags and meta description tags
According to GWT, it seems that some of the pages on my website have duplicate title and meta tags. The pages identified by Google are nothing but dynamic pages: http://www.mywebsite.com/page.php
Technical SEO | | sbrault74
http://www.mywebsite.com/page.php?param=1
http://www.mywebsite.com/page.php?param=2 The thing is that I do use the canonical link tag on all pages. Should I also use the "robots noindex" tag when the page is invoked using a GET parameter? Again sorry for my english. Thank you, Stephane1 -
How do I deal with my pages being seen as duplicate content by SeoMoz?
My Dashboard is giving my lots of warnings for duplicate content but it all seems to have something to do with the www and the slash / For example: http://www.ebow.ie/ is seen as having the same duplicate content as http:/ebow.ie/ and http://www.ebow.ie Alos lots to do with how Wordpress categorizes pages and tags that is driving me bonkers! Any help appreciated! Dave. seomoz.png
Technical SEO | | ebowdublin0 -
Backlinks to home page vs internal page
Hello, What is the point of getting a large amount of backlinks to internal pages of an ecommerce site? Although it would be great to make your articles (for example) strong, isn't it more important to build up the strength of the home page. All of My SEO has had a long term goal of strengthening the home page, with just enough backlinks to internal pages to have balance, which is happening naturally. The home page of our main site is what comes up on tons of our keyword searches since it is so strong. Please let me know why so much effort is put into getting backlinks to internal pages. Thank you,
Technical SEO | | BobGW0