Ending URLs in .html versus /
-
Hi there!
Currently all the URLs on my website, even the home page, end it .html, such as http://www,consumerbase.com/index.html
Is this bad?
Is there any benefit to this?Should I remove it and just have them end with a forward slash?
If I 301 redirect the old .html URLs to the forward slash URLs, will I lose PA?Thanks!
-
As everyone else has said, it doesn't really make a difference whether you have a file/extension as part of the URL. But if you do change your URLs and 301 redirect the old URLs to the new, you will lose some link equity (typically about 10%-15%); I'm not sure if this devaluation is reflected in OSE/Moz metrics.
That said, I would recommend showing the directory without a file extension (using consumerbase.com/ instead of consumerbase.com/index.html). If you change platforms in the future to something that runs off PHP or some other language, displaying .html file types might not be an option but you can always display the directory. If you set yourself up now to display without the doc type, you don't have to worry about these changes in the future as much.
-
In my experience you will generate more consistent inbound links to the root url - http://www.consumerbase.com/index.html - if you were to use that as the root (canonical) url and do the following
1. Ask anyone linking to /index.html to link to http://www.consumerbase.com/
2. Once completed, 301 redirect /index.html to http://www.consumerbase.com/Ask yourself this: how often do you see someone refer an audience to http://www.consumerbase.com/index.html?
There rarely, do - out of convenience and ease of use / standardization.
So, for sharing and for ensuring that all inbound link weight is organized at only one canonical url I would suggest you consider using http://www.consumerbase.com/ at the root.
All other pages can use use .html just fine.
Hope this helps,
Todd -
Hey there!
There's no benefit or negative effect of this either way - so there's really nothing to worry about here.
Furthermore, if you type in http://www.consumerbase.com/ you get redirected to the .html version and it's the same for internal pages. This means you've not got any problems with duplicate URLs or content.
In short, everything is in order and from an SEO point of view there's no reason to make the change - all is well! The only reason why you may want to make the change is from a user experience point of view - but I don't think visitors to your site will be concerned with .html extensions at all.
Hope this helps to put your mind at rest!
-
-
Not bad
-
Benefit only comes from a usability preference. Do you think your readers would rather see it without the html suffix? Some people think so.. I personally don't think it matters at all but a lot of people will say "shorter is better." It also maximizes your compatibility should you ever change your format from an html to an active server page or something of the sort. (i think that's pretty rare though.)
-
No you will not lose PA. 301s maintain link juice (for the most part.)
-
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
-
Same URL-Structure & the same number of URLs indexed on two different websites - can it lead to a Google penalty?
Hey guys. I've got a question about the url structure on two different websites with a similar topic (bith are job search websites). Although we are going to publish different content (texts) on these two websites and they will differ visually, the url structure (except for the domain name) remains exactly the same, as does the number of indexed landingpages on both pages. For example, www.yyy.com/jobs/mobile-developer & www.zzz.com/jobs/mobile-developer. In your opinion, can this lead to a Google penalty? Thanks in advance!
Intermediate & Advanced SEO | | vde130 -
URL structure for SEO
Hi Mozzers, I have a site which is a combination of product pages, and news and advice pages that relate to the products. How would you approach the URL structure for this, following SEO best practice? Approach 1 Product pages:
Intermediate & Advanced SEO | | A_Q
www.website.com/product-category/product-page News and advice pages:
www.website.com/product-category/product-page/news-and-advice-story-1
www.website.com/product-category/product-page/news-and-advice-story-2
etc or Approach 2 Product pages:
www.website.com/product-category/product-page News and advice pages:
www.website.com/news/product-category/news-and advice-story-1 (with internal linking to relevant product page)
www.website.com/news/product-category/news-and advice-story-2 (with internal linking to relevant product page)
etc Or would a different approach be better?0 -
¿Disallow duplicate URL?
Hi comunity, thanks for answering my question. I have a problem with a website. My website is: http://example.examples.com/brand/brand1 (good URL) but i have 2 filters to show something and this generate 2 URL's more: http://example.examples.com/brand/brand1?show=true (if we put 1 filter) http://example.examples.com/brand/brand1?show=false (if we put other filter) My question is, should i put in robots.txt disallow for these filters like this: **Disallow: /*?show=***
Intermediate & Advanced SEO | | thekiller990 -
Canonical URL availability
Hi We have a website selling cellphones. They are available in different colors and with various data capacity, which slightly changes the URL. For instance: Black iphone, 16GB: www.site.com/iphone(black,16,000000000010204783).html White iphone, 16GB: www.site.com/iphone(white,16,000000000010204783).html White iphone, 24GB: www.site.com/iphone(white,24,000000000010204783).html Now, the canonical URL indicates a standard URL: But this URL is never physically available. Instead, a user gets 301 redirected to one of the above URLs. Is this a problem? Does a URL have to be "physically" available if it is indicated as canonical?
Intermediate & Advanced SEO | | zeepartner0 -
Canonical Issue with urls
I saw some urls of my site showing duplicate page content, duplicate page title issues on crawl reports. So I have set canonical url for every urls , that has dupicate content / page title. But still SeoMoz crawl test is showing issue. I am giving here one url with issue. The below given urls shown duplicate content and duplicate page title with some other urls all are given below. Checked URL http://www.cyrusrugs.com/bridge-traditional-area-rug-item-7635 dup page content http://www.cyrusrugs.com/bridge-traditional-area-rug-item-7622&category_id=270&colors=Black_Tones&click=colors&ci=1
Intermediate & Advanced SEO | | trixmediainc
http://www.cyrusrugs.com/bridge-traditional-area-rug-item-7622 dup page Title http://www.cyrusrugs.com/bridge-traditional-area-rug-item-7636&category_id=270&sizes=12x15,12x18&click=sizes
http://www.cyrusrugs.com/bridge-traditional-area-rug-item-7636
http://www.cyrusrugs.com/bridge-traditional-area-rug-item-7622&category_id=270&colors=Black_Tones&click=colors&ci=1
http://www.cyrusrugs.com/bridge-traditional-area-rug-item-7622 But I have set canonical url for all these urls already , that is :- http://www.cyrusrugs.com/bridge-traditional-area-rug-item-7622 This should actually solve the problem right ? Search engine should identify the canonical url as original url and only should consider that. Thanks0 -
How to avoid seo loss after URL restructuring / change?
We are doing On Page SEO over haul of our website. Our old url used to be mydomain.com/send/FlowersInCity-1-CityName.html we are changing it to mydomain.com/send/Flowers-to-CityName Firstly, will it be advisable to do so since we are in the top 10 in most of the Keywords (but losing ranking each month): The website is very content rich site. Till beginning of 2012, we used be in the top three spots mostly due to On Page and Good content, thus getting the inbound links automatically. But now the things have change, industry has lot of competition and few players have already done heavy SEO for their website, both On and off page thus overtaking us in Ranking. We are also doing other requisite On Page and Off Page work but I am struck with the URL decision part. Secondly, and MOST IMPORTANTLY – if I should change the url, how to minimize the risk of losing the present SEO in this kind of URL restructuring case? Thanks Suman
Intermediate & Advanced SEO | | sumanpatra0 -
If I hired you/your company to do my SEO ...
If i hired you or your company to do SEO for my site (http://goo.gl/XUH3f) what would be the first steps you'd take? I'm pretty sure i've covered all of the basics myself, I'm just left trying to figure out what i should do next... rankings have been going up and down for the last few weeks, but even when they're up, they're not high enough 🙂 (and then they go back down anyway) ... I know some of you are going to say build links, please at least give me an example of one or two sites you'd try to get to link to mine... I'm open to any advice or feedback as I'm just a website owner who's been doing their own SEO & learning on the fly... Thanks a lot!
Intermediate & Advanced SEO | | Prime850 -
How to make SEF URL for PHP/MySQL web site
Hi mozzers! I'm fairly new to SEO topic, but I'm learning fast because all of you, so please take my warm thanks first! The problem: I have a web site based on PHP/MySQL that has no SEF addresses, it's made by unknown CMS, so I cannot use any extensions or modules, I have to write my own SEF extension. The question: Would you suggest me, please an article or idea, what I need to make my URLs search engine friendly? What's best to use: .htaccess or something else? This is the aforementioned web site: www.nortrak.bg Thanks a lot, Kolio
Intermediate & Advanced SEO | | kolio_kolev0