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
-
Will URLS With Existing 301 Redirects Be as Powerful As New URLS In Serps?
Most products on our site have redirects to them from years of switching platform and merely trying to get a great and optimised URL for SEO purposes. My question is this: If a product URL has alot of redirects (301's), would it be more beneficial to me to create a duplicated version of the product and start fresh with a new URL? I am not on here trying to gain backlinks but my site is tn nursery dot net (proof:)
Intermediate & Advanced SEO | | tammysons
I need some quality help figuring out what to do.
Tammy0 -
Link juice through URL parameters
Hi guys, hope you had a fantastic bank holiday weekend. Quick question re URL parameters, I understand that links which pass through an affiliate URL parameter aren't taken into consideration when passing link juice through one site to another. However, when a link contains a tracking URL parameter (let's say gclid=), does link juice get passed through? We have a number of external links pointing to our main site, however, they are linking directly to a unique tracking parameter. I'm just curious to know about this. Thanks, Brett
Intermediate & Advanced SEO | | Brett-S0 -
Redirect to url with parameter
I have a wiki (wiki 1) where many of the pages are well index in google. Because of a product change I had to create a new wiki (wiki 2) for the new version of my product. Now that most of my customers are using the new version of my product I like to redirect the user from wiki 1 to wiki 2. An example of a redirect could be from wiki1.website.com/how_to_build_kitchen to wiki2.website.com/how_to_build_kitchen. Because of a technical issue the url I redirect to, needs to have a parameter like "?" so the example will be wiki2.website.com/how_to_build_kitchen? Will the search engines see it as I have two pages with same content?
Intermediate & Advanced SEO | | Debitoor
wiki2.website.com/how_to_build_kitchen
and
wiki2.website.com/how_to_build_kitchen? And will the SEO juice from wiki1.website.com/how_to_build_kitchen be transfered to wiki2.website.com/how_to_build_kitchen?0 -
Is there any SEO advantage to sharing links on twitter using google's url shortener goo.gl/
Hi is there any advantage to using <cite class="vurls">goo.gl/</cite> to shorten a URL for Twitter instead of other ones? I had a thought that <cite class="vurls">goo.gl/</cite> might allow google to track click throughs and hence judge popularity.
Intermediate & Advanced SEO | | S_Curtis0 -
Thousands of /img/img/img urls generated by website - where are they coming from?
Hello -just fed website into Screaming Frog and ended up crashing computer as these img/img/img urls went into the 10s of thousands (and the numbers of img/img/img/ in each URL ended up going into the dozens and probably hundreds and more per URL). Never seen anything like it! Any idea what might be going on with this website and why it's generating so many of these URLs - it is anything to worry about? Here's example of shorter URL... www.company.com/discover/img/img/img/img/img/img/img/img/img/img/img/img/img/img/img/img/photo-competition-winners
Intermediate & Advanced SEO | | McTaggart0 -
Correct URL Parameters for GWT?
Hi, I am just double checking to see if these parameters are ok - I have added an attachment to this post. We are using an e-commerce store and dealing with faceted navigation so I excluded a lot of parameters from being crawled as I didnt want them indexed. (they got indexed anyway!). Advice and recommendations on the use of GWT would be very helpful - please check my screenshot. thanks, B0gSmRu
Intermediate & Advanced SEO | | bjs20100 -
SEO consultant/expert
I am looking to hire an SEO expert that can not only make suggestions/perform audit, but also execute changes. Of course lots of companies are available, but I am ideally looking for an individual with a nice track record. No offense to SEO firms, but I am not interested in paying for overhead, etc. Curious to know if others have gone this route and what the experience has been like. Thanks!
Intermediate & Advanced SEO | | MNKid150 -
Url with hypen or.co?
Given a choice, for your #1 keyword, would you pick a .com with one or two hypens? (chicago-real-estate.com) or a .co with the full name as the url (chicagorealestate.co)? Is there an accepted best practice regarding hypenated urls and/or decent results regarding the effectiveness of the.co? Thank you in advance!
Intermediate & Advanced SEO | | joechicago0