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
-
Duplicate title tags, how to solve that?
We are currently running the "yellow pages". The problem is that Google Webmasters reports a lot of duplicate title tags. It's because we have three languages and the title consists of company name. for example: FCR Media Lietuva, UAB (The same in all languages). Of course we make different meta desriptions and so on. How should we solve this problem or should be just leave it as it is?
On-Page Optimization | | FCRMediaLietuva0 -
Properly changing title, URL and content for new keywords without harming other rankings.
Hello - We are looking to try to bring up some keywords in the SERPs that we are currently ranking fairly low for. We sell Christening clothing for children and people will use both Christening and Baptism to search for the same thing. We currently rank very high for Christening (#1 on Google for certain combinations) but we are fairly low on Baptism.
On-Page Optimization | | BabyBeauBelle
I am trying to figure out the best way to start getting Baptism up by changing some title, URL and content pages to include more Baptism keywords. My concern is messing with the existing because we rank so well for Christening. Since we are ecommerce we can vary this quite a bit on our products, but again I'm nervous to do so fearing changing the wrong things, too many products etc and in the process of trying to raise one set of keywords (baptism) we harm the other set (christening).
Any advice would be appreciated!0 -
Duplicate Content?
Hi All, I have a new client site, a static site with navigation across the top, and down the left side. Two of the menus from the top navigation are replicated in the navigation structure on the left hand side. They have the exact same url structure, they are in fact the same exact page, listed on the site in two areas. My question is - is this a case of duplicate content, or, as they urls are the exact same, will they be seen as a single page? A canonical tag on one would be replicated on the other by the CMS - so do I leave it, or try to get them to re-structure removing one of the links? (I doubt they will do this as its a brand new site they just has developed). Many thanks!
On-Page Optimization | | Webrevolve0 -
What are the benefits of the URL meta tag?
We have too many meta tags and want to get rid of all the outdated ones. However, we don't want to eliminate valuable meta tags by mistake. So, before we say goodbye to the URL meta tag, we want to make sure we understand the pros and cons, if any. By the way, we are not referring to canonical URL tags, just URL as in:
On-Page Optimization | | GRIP-SEO0 -
Bogus duplicate meta descriptions in GWT
UPDATE:
On-Page Optimization | | PatioLifeStyle
The same type of error (returning a page structure with no content and no CSS) can be replicated by adding a trailing slash to any valid URL. This leads me to believe that there is a problem on the server. It should be serving the custom 404 page instead of junk. I have fixed the "ezine" directory problem by doing a wildcard 301 on that directory, so you can ignore that issue. We are experiencing issues on one of our sites that we cannot resolve. It is an issue that many sites seem to have, according to discussions within the Google Webmaster Tools forum. We have tried several of the suggestions made in that forum, without success. We need somebody to help us resolve this: who has experience with this issue who knows exactly what is causing it who knows how to fix it Definition of Problem Location:
Google Webmaster Tools | Optimization | HTML Improvements | Duplicate meta descriptions (similar issues also appear in the same area under Duplicate title tags) By drilling down into a listed error, we see two versions of the problem: Multiple instances of the page are displayed, and appended to the URL is another URL of a page that has no relationship to the first. The screenshot also shows a directory (/ezine) that was deleted and renamed. See attached pic
duplicatemetadescriptions1.jpg Also by drilling down in the same way, some of the instances show unique URLs, but the ones listed (other than the correct one), do not exist. See attached pic
duplicatemetadescriptions2.jpg Please offer only KNOWN solution(s). Thank you. 79cNe0 -
Article on site and distribution, is it duplicate content?
I was always taught to place all original articles on site, let them get indexed by Google, then put out for distribution through various press release outlets. With the latest penguin update, how does this practice work out concerning duplicate content? In theory, I wrote the article so I should get credit for it on my site first, then push through various distribution outlets to get it out to my targeted audience in my niche field. Typing out loud I would tend to think if the article is on my site first then I would get credit and any others following would be hit by duplicate content if in fact google considered it a dupe violation. Any input on this? Am I on track or am I heading for a train wreck.
On-Page Optimization | | anthonytjm0 -
Two different keywords - one URL
We're new to SEO, but have two keywords that are really not quite the same, but Google has targeted the same URL for us ... which means that SEO Moz is recommending we optimize the same URL, for opposite keywords (using the on page SEO). For example, the keywords (these aren't our keywords) of say, "beer brewing" and "ways to make beer for small breweries" are both pointing at our home page. The on page SEO is showing that "beer brewing" is a rank of say, a google ranking of 9. However, "ways to ..." is a google ranking of 47. So ... what am I supposed to do now? Do I rewrite the page to have "ways to ..." more prominent? I cannot really have the title and h1's include both ... What do I do now? We have about 3 or 4 of these "pairs". -- Anthony
On-Page Optimization | | apresley0 -
The URL Inside
Howdy SEO'ers, I have a quick question for the SEO gurus out there. When constructing "better" search friendly URLs would one of these be better than the other? Example 1: http://Domain.com/Category/Sub-Category/Product-name Example 2: http://Category.Domain.com/Sub-Category/Product-name In this example the category could be phones and the sub-category brands of phones. Is either one of these URLs "better" than the other in terms of ranking? Thanks! I'll hang-up and listen to your answer. 🙂 Jonathan
On-Page Optimization | | creativedepartment0