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
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
-
Home page duplicate content...
Hello all! I've just downloaded my first Moz crawl CSV and I noticed that the home page appears twice - one with an appending forward slash at the end: http://www.example.com
Technical SEO | | LiamMcArthur
http://www.example.com/ For any of my product and category pages that encounter this problem - it's automatically resolved with a canonical tag. Should I create the same canonical tag for my home page? rel="canonical" href="http://www.example.com" />0 -
Duplicate Page Content and Titles from Weebly Blog
Anyone familiar with Weebly that can offer some suggestions? I ran a crawl diagnostics on my site and have some high priority issues that appear to stem from Weebly Blog posts. There are several of them and it appears that the post is being counted as "page content" on the main blog feed and then again when it is tagged to a category. I hope this makes sense, I am new to SEO and this is really confusing. Thanks!
Technical SEO | | CRMI0 -
Many Pages Being Combined Into One Long Page
Hi All, In talking with my internal developers, UX, and design team there has been a big push to move from a "tabbed" page structure (where as each tab is it's own page) to combining everything into one long page. It looks great from a user experience standpoint, but I'm concerned that we'll decrease in rankings for the tabbed pages that will be going away, even with a 301 in place. I initially recommending#! or pushstate for each "page section" on the long form content. However there are technical limitations with this in our CMS. The next idea I had was to still leave those pages out there and to link to them in the source code, but this approach may get shot down as well. Has anyone else had to solve for this issue? If so, how did you do it?
Technical SEO | | AllyBank1 -
Page titles in browser not matching WP page title
I have an issue with a few page titles not matching the title I have In WordPress. I have 2 pages, blog & creative gallery, that show the homepage title, which is causing duplicate title errors. This has been going on for 5 weeks, so its not an a crawl issue. Any ideas what could cause this? To clarify, I have the page title set in WP, and I checked "Disable PSP title format on this page/post:"...but this page is still showing the homepage title. Is there an additional title setting for a page in WP?
Technical SEO | | Branden_S0 -
How do I 301 redirect a number of pages to one page
I want to redirect all pages in /folder_A /folder_B to /folder_A/index.php. Can I just write one or two lines of code to .htaccess to do that?
Technical SEO | | Heydarian0 -
New page titles not updating in Google results even though recrawlled
I have updated the page title of a website - it's a top product page and very high authority (64 PA on a 63 DA). The page has been recrawlled and the cache updated - but the page tiltle in the Google snippet is still the same. Any ideas?
Technical SEO | | OddDog0