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
-
Blog archive pages are meta noindexed but still flagged as duplicate
Hi all. I know there several threads related to noindexing blog archives and category pages, so if this has already been answered, please direct me to that post. My blog archive pages have preview text from the posts. Each time I post a blog, the last post on any given archive page shifts to the first spot on the next archive page. Moz seems to report these as new duplicate content issues each week. I have my archive pages set to meta noindex, so can I feel good about continuing to ignore these duplicate content issues, or is there something else I should be doing to prevent penalties? TIA!
Technical SEO | | mkupfer1 -
Duplicate Content from long Site Title
Hello! I have a number of "Duplicate Title Errors" as my website has a long Site Title: Planit NZ: New Zealand Tours, Bus Passes & Travel Planning. Am I better off with a short title that is simply my website/business name: Planit NZ My thought was adding some keywords might help with my rankings. Thanks Matt
Technical SEO | | mkyhnn0 -
Wrong page title in Google
Hi there, A while ago we took over the domain www.hoesjes.nl and forwarded it to our website www.telefoonhoesjesxl.nl. If you perform a search for the keyword 'hoesjes' in Google then we (www.telefoonhoesjesxl.nl) show up on an organic number 1 position. The problem is that the page title isn't correct. Google shows the page title of the website hoesjes.nl we took over and (correctly?) redirected to our domain www.telefoonhoesjesxl.nl. Does anybody have any idea how to get rid of this wrong page title in Google?
Technical SEO | | MarcelMoz
Here you can find a screenshot of what I mean. Thanks! Marcel0 -
Google Displaying wrong URL but correct page title and description in SERPS
Hi. Our second highest performing page on Google is messed up in the SERPS. This is our login page. It always ranks high. It still does, but the URL is incorrect. Google is referencing an old redirect that was for a one off campaign from January 2014. This page has long been redirected. But now the vanity url for this page is what is displayed in Google. The link goes to our login page but once you log in it redirects you to a page saying the offer has expired instead of your account details. This is a huge issue for us. Can anyone shed some light? I'm having a rel canonical added since this page is used for a lot of vanity deeplinks.
Technical SEO | | PollyKane0 -
Duplicate content or Duplicate page issue?
Hey Moz Community! I have a strange case in front of me. I have published a press release on my client's website and it ranked right away in Google. A week after the page completely dropped and it completely disappeared. The page is being indexed in Google, but when I search "title of the PR", the only results I get for that search query are the media and news outlets that have reported the news. No presence of my client's page. I also have to mention that I found two URLs of the same page: one with lower case letters and one with capital letters. Is this a duplicate page or a duplicate content issue coming from the news websites? How can I solve it? Thanks!
Technical SEO | | Workaholic0 -
Duplicate content / title caused by CAPITALS
What is the best way to stop duplicate content warning (and Google classing them as duplicate content), when it is caused by CAPITALS (i.e www.domain.com/Directory & www.domain.com/directory ). I try to always use lower case (unless a place name then i use Capitals for the first letter), but it looks like i have slipped up and got some mixed up and other sites will also be linking to Capitals Thanks Jon
Technical SEO | | jonny5123790 -
Duplicate Page Title & Content Penalty On Website Tonight Platform
I built my primary website on Website Tonight (WT) five years ago when I was a net newbie and I'm presently new to seomoz. The initial crawl indicated a problem with duplicate page title and duplicate content with my website home page in WT. It turns out that the WT platform makes you assign a file name to your homepage i.e: www.business.com/homepage.html that differs from the www.business.com that you want as your homepage url. Apparently the search engines are recognizing these identical pages as separate and duplicate. I know that the standard answer would be to just do a 301 redirect from the long file name to the short file name - end of story. But WT does not allow you to do 301 redirects and they also do not give you the ability to go into the htaccess file to fix this yourself manually. I spoke to the folks at WT tonight and they claim that they automatically do 301 redirects on the platform. But if this true then why am I getting the error message in seomoz? Does anyone know if this is a problem? If so, does anyone here have a fix? Thanks in advance. Sincerely - Bill in Denver
Technical SEO | | anxietycoach0 -
Having both <title>and <meta name="title"...> on a web page?</title>
Hi All, Client of mine using reversed Meta Tags format in their website and Honestly i never saw such Meta Tags formats. In my opinion having 2 Title tags and wrong reversed description tag is not correct and the needs to be removed, and other tags need to be changed,too But they said that it probably doesn't make a difference because they don't think it affects search engine results and won't remove it just based on opinion. Because weird thing is Search Engines are apparently able to index them. So should i persist on correcting them or just hope for the best and ignore it?!?!?! Thanks!
Technical SEO | | DigitalJungle0