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
-
Utilising Wordpress Attachment Pages Without Getting Duplicate Content Warnings.
I have a wordpres site that relies heavily on images and their usefulness. Each post links to larger sizes of the images with links back to the post and the "gallery" all images uploaded to the post. Unfortunately this goes against the "rules" and our attachment page show as duplicate content in Google (even though the image titles are different). There must be a way to utlise and make the most of attachment pages without getting duplicate content warnings?
Technical SEO | | DotP0 -
Page Title Displaying differently on Google
Hi i am wondering why page title is display differently on google search. The combination of words that are being displayed on google are not on the page and the page title is simply "Camera Filters", however the page is showing as "our range of Camera Filters" (with the same capitalisation). http://awesomescreenshot.com/0cf4r09y27 I have optimised the age as best i can so it removes the OUR RANGE OF preface, however no luck. Any info would be appreciated. Cheers
Technical SEO | | andrewlos0 -
Duplicate page content - index.html
Roger is reporting duplicate page content for my domain name and www.mydomain name/index.html. Example: www.just-insulation.com
Technical SEO | | Collie
www.just-insulation.com/index.html What am I doing wrongly, please?0 -
Does google like Category pages or pages with lots of Products on them?
We are having an issue with getting Google to rank the page we want. To have this page http://www.jakewilson.com/c/52/-/346/Cruiser-Motorcycle-Tires rank for the key word Cruiser Motorcycle Tires; however, this page http://www.jakewilson.com/t/52/-/343/752/Cruiser-Motorcycle-Tires is ranking instead and it has less links and page authority according to site explorer and it is farther down in the hierarchy. I am wondering if google just likes pages that have actual products on them instead of a page leading to the page with all the products. Thoughts?
Technical SEO | | DoRM0 -
SEO Mox reporting all pages & titles as duplicate, but this is not the case.
HI, I am confused . This week SEOMoz is reporting that all my pages and pages titles are duplicate. This is not the case. I have added geo meta tags to each page - could this be causing the duplicate page content condition? I have no theory about the title duplicate condition. I have uploaded pdfs of these seomoz reports here: http://www.2shared.com/document/JAgS2Ni9/Issue_-Duplicate_Page_Content.html http://www.2shared.com/document/gyXcMsoP/Issue-Duplicate_Page_Title-.html Help please. thanks.
Technical SEO | | RichardB20 -
Secondary Pages Indexed over Primary Page
I have 4 pages for a single product Each of the pages link to the Main page for that product Google is indexing the secondary pages above my preferred landing page How do I fix this?
Technical SEO | | Bucky0 -
SEOMoz Crawl Diagnostic indicates duplicate page content for home page?
My first SEOMoz Crawl Diagnostic report for my website indicates duplicate page content for my home page. It lists the home page URL Page Title and URL twice. How do I go about diagnosing this? Is the problem related to the following code that is in my .htaccess file? (The purpose of the code was to redirect any non "www" backlink referrals to the "www" version of the domain.) RewriteCond %{HTTP_HOST} ^whatever.com [NC]
Technical SEO | | Linesides
RewriteRule ^(.*)$ http://www.whatever.com/$1 [L,R=301] Should I get rid of the "http" reference in the second line? Related to this is a notice in the "Crawl Notices Found" -- "301 Permanent redirect" which shows my home page title as "http://whatever.com" and shows the redirect address as http://http://www.whatever.com/ I'm guessing this problem is again related to the redirect code I'm using. Also... The report indicates duplicate content for those links that have different parameters added to the URL i.e. http://www.whatever.com?marker=Blah Blah&markerzoom=13 If I set up a canonical reference for the page, will this fix this? Thank you.0 -
How do I fix Duplicate Content/Title going to memberlist.php page?
I have over 6,000 duplicate title and duplicate content errors going to this link: http://community.mautofied.com/memberlist.php?mode=viewprofile&u=100299 How do I fix this?
Technical SEO | | mautofied0