I have a duplicate URL from example.html to example without .html
-
I've recently changed my links from example.html to just example, however, moz shows that its been duplicated. Is this effects my ranking? if yes, how i can fix it please?
-
No Shailendra is saying you want a 301 rewrite mechanism so that anyone looking for example.html is redirected to example.
If you have been using example.html for some time what happens to the guys who have linked to these pages, or any links you have created - they need to be handled by a 301 rewrite. The snippet of code below placed in your .htaccess should fix. Take a backup copy first to restore if you hit any problems.
-
in this case i have to change my links to example.html and the redirect them?
-
no i didn't
the only thing i did, is just changed the [example](example.html>example</a> to <a href=)
-
If you want to get rid of the html files you could try the following in your htaccess file. The rule looks for anything (.*), until it gets to the .html then rewrites the first part dropping the .html
RewriteEngine On
RewriteRule ^(.*)+.html$ $1 [R=301,L] -
examlpe.html and example with the same content will be treated as duplicate pages. The best practice is to 301 redirect example.html to example.
Regards
-
did you add a redirect?
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
-
Making Shopify URL's Simpler - Losing the words 'collection', 'product' and 'page' in a Shopify store URL. Any advice?
Hi Mozers! I have a Shopify store (of which there are many advantages) however one big SEO disadvantage, is that my URL structures contravene all Moz advice on dynamic URL structure and whats more I am reminded about this every week when I have a Moz site crawl and I have a batch of URL's that are longe than the 75 characters. A Shopify URL will run www.domain name.com/collections/collection-name/product/product-name. According to advice a it should be www.domain name.com/collection-name/product-name - Don't even get started on sub-collections! I sell portfolio books, album etc and keepsake memory boxes (so long keywords) AND, I have a long(ish) business name. So, For user experience and keyword length, do I just ignore trying to achieve a dynamic URL under 75 characters? When I have asked Shopify, the say their URL's are an integral part of the "Ruby on Rails" system, so nothing can be done Or can it ??? I can't be the only Moz member with this issue can I ??
On-Page Optimization | | nick_HandCo0 -
Duplicated content by the product pages
Hi,Do you thing those pages have duplicate content:https://www.nobelcom.com/Afghanistan-phone-cards/from-Romania-235-2.htmlhttps://www.nobelcom.com/Afghanistan-phone-cards-2.htmlhttps://www.nobelcom.com/Afghanistan-Cell-phone-cards-401.htmlhttps://www.nobelcom.com/Afghanistan-Cell-phone-cards/from-Romania-235-401.html.And also how much impact will it have on a panda update?I'm trying to figure out if all the product pages, (that are in the same way as the ones above) are the reson for a Panda Penalty
On-Page Optimization | | Silviu0 -
Ratings pages are Duplicate Content
This brought up another question. should the review page (which now has a canonical to the item page) be Index,follow? My item review pages are showing up with Duplicate Content errors in MOZ. Here are two examples http://www.americanmusical.com/ItemReview--i-HAM-SK1-LIST http://www.americanmusical.com/ItemReview--i-MAC-203680902-LIST is the problem that the pages contain the same code and questions with very little customer created info?
On-Page Optimization | | dianeb1520 -
Gallery system creates duplicates
Hi, Does anybody know what can I do with those “duplicate content pages”? 1/ home page shows 4 different urls with different parameters. Should I use meta-robots tag to eliminate it? Or block it in robots.txt? http://screencast.com/t/xqNiowCYBwgh 2/ Also, there are dozens of duplicates created by the “gallery system”. Like this: http://screencast.com/t/qTq4YERG All showing for the same url. There are multiple pages for each location. Some people told me that it's irrelevant for rankings anyway. I suggested getting rid of flash website alltogether and getting a smooth wordpress installation, but it's not an option. Can you please help me with it? Best Regards, JJ
On-Page Optimization | | jjtech0 -
Duplicate title tag
Hello,
On-Page Optimization | | JohnHuynh
My site have problems with duplicate title, they were reported from google webmaster. For example:
/extra-services/car-pick-up-service-146.html (1) /extra-services/transportation--car-rails--146.html (2) According to my sitemap the first URL is right (1). But the second URL is wrong, I don't know it occur here.0 -
Duplicate content on ecommerce
We have a website that we created a little over a year ago and have included our core products we have always focused on such as mobility scooters and power wheelchairs. We have been going through and updating product descriptions, adding product reviews that our customers have provided etc in order to improve on our SEO rankings and not be penalized by the Panda update. We were approached by a manufacturer last year about their products and they had close to 10k products that we were able to upload easily into our system. Obviously these all have standard manufacturers descriptions many sites are also using. It will take us forever to go through and change all of these and many products are similar to each other anyway they just vary in size, color etc. Will it help our rankings for our core products to simply go through and delete all of these additional products and categories and just add them one by one with unique descriptions and more detailed information when we have time? We aren't really selling many of them anyway so it won't hurt our sales. I'm clearly new to SEO and any help at all would be greatly appreciated. My main website is www.bestmedicalsuppliesonsale dot com A sample core category that we have changed descriptions for is http://www.bestmedicalsuppliesonsale.com/mobility-scooters-s/36.htm A sample of a category and products we simply uploaded would be at http://www.bestmedicalsuppliesonsale.com/Wound-Care-s/4837.htm I'm open to all suggestions I would just like to see my traffic and obviously sales increase. If there are any other glaring problems please let me know. I need help!
On-Page Optimization | | BestMedical0 -
How do i chaneg a url without losing pre-existing linkjuice?
my client has a page on his site: www.revisitors.com/REF/TEST the page is for a free traffic offer...i have this page currently ranking 25th or so for "free traffic" - a great keyword to rank for to promote this offer with..... i want the url to be www.revisitors.com/free-traffic.html and then change the title tags to free traffic | free targeted traffic or something along those lines....i have hardly put in any linkbuilding work at all to get to 25 - it was a surprise but now that we are there i want to tighten things up and optimize as well as possible.... how do i do this without losing previously built linkjuice and without having a duplicate content issue for having both pages exist with a 301 redirect.... if i am wrong about something please dont hesitate to set me straight...i am only masquerading as an seo expert these days anyway.....thanks.
On-Page Optimization | | Ezpro90 -
What URL Should I use in Google Place Page?
Alright, I have a client that has 1 website and 14 locations. We want to create place pages for each of their locations but my question is which URL should I put in the place page and why? I can put in the root domain into each place page, or should I put in the URL that lands on the actual location on the root. example: domain.com/location1 Thanks!
On-Page Optimization | | tcseopro0