HTML url extension
-
I've read some information about the extension of an url. But i couldn't find a clear answer.
What is better for SEO, an extension with html or without?
/make-money-online/how-to-make-a-million-dollars-in-1-year/
or
/make-money-online/how-to-make-a-million-dollars-in-1-year.html/
Is there a difference between a normal website or a blog?
-
Agreed. You can change technology without changing URLs or having to do rewrites, which is a big benefit. Another benefit is that your URLs are shorter by four characters, making them a little easier to share.
-
T.B.H file extension do not matter these days, they work as a hint on the type of document / content being served, but search engines will go by the actual file headers determine what it really is.
You could have all of your files being served up as .hello and it really wouldn't matter that much.
Just be consistent and you certainly don't want to use an extension followed by a / as that just looks confusing to the users.
Personally I'd suggest using an extension purely due to backward compatibility especially if you are looking at using mobile devices, and in particular support for older mobile devices, as they can be very picky as to the naming convention of files.
-
I would go with .html and drop the end "/"
so /make-money-online/how-to-make-a-million-dollars-in-1-year.html
I dont have a point to prove this, but google like static content more then dynamic content, a plain html files (in my humble opinion and faulted research) always ranked better then the one generated by xxx.php?whatever=1&A=2
... my 2 cents
-
Without - it's more user-friendly and if you ever change the coding behind the website the URLs will remain the same. It doesn't matter whether it's a 'normal' website or a blog, without is the way.
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
-
Vertical pip in HTML
How is it considered by google at the end of a sentence ? New paragraph or not ? Thank you,
Technical SEO | | seoanalytics1 -
Why xml generator is not detecting all my urls?
Hi Mozzers, After adding 3 new pages to example.com, when generating the xml sitemap, Iwasn't able to locate those 3 new url. This is the first time it is happening. I have checked the meta tags of these pages and they are fine. No meta robots setup! Any thoughts or idea why this is happening? how to fix this? Thanks!
Technical SEO | | Ideas-Money-Art0 -
Ajax Crawling | Blocked URLs Spike
http://www.zando.co.za/women/shoes/ (for example) Hello, I'm concerned that WMT is reporting a large spike in blocked URLs - now reporting more blocked URLs than good URLs. Our product recommendations get generated via an Ajax call and these autogenerated, unique, URLs are rendered in the /recommendations/ folder which sits in the root of our site: http://www.zando.co.za/recommendations/ I can't see how I can prevent Google from calling the Ajax - I can only assume that's what's happening.This is what the code typically looks like:
Technical SEO | | RocketZando0 -
/out/ URLs in GWMTs
I am recently seeing some URLs come up as 404s in GWMTs for a client. They look like this: http://client-url/out/www.linkedin.com/company/client-linkedin-name /out/client-url/sub-directory/postname/ We thought they might have something to do with the social plugins but they are all over the place and they are sometime for internal pages on the site. Anyone run into these and know why they are happening?
Technical SEO | | DragonSearch0 -
Shorter URLs
Hi Is there a real value in having the keywords in the URL structure? we could use the URL: Mybrand.com/software/tablets/ipad/supertrader.html Or instead have the CMS create the shorter version mybrand.com/supertrader.html and just optimize this page for the keyword 'supertrader ipad software'
Technical SEO | | FXDD1 -
Where to place your brandname in your URL?
Hello everybody! Quick and short question: What is better when you want to rank for your your brandname? www.jobsbrandname.com or www.brandnamejobs.com I think for SEO it's better to use the last one but marketing has the wish to use the first one. Thanks for your responce!
Technical SEO | | ltom0 -
Cyrillic letter in URL - Encoding
Hi all We are launching our site in Russia. As far as I can see by searching Google all sites have URLs in latin letters. Is there a special reason for this? - It seems that cyrillic letters also work. My technical staff says that it might give some encoding problems. Can anyone give me some insight into this? Thanks in advance.. / Kenneth
Technical SEO | | Kennethskonto0 -
Should I use www. or not in my main URL?
I have backlinks coming into my homepage, which has both a www. URL and one that's merely http://mysite.com. Which is the preferred URL for best optimization for search engines and how do I find this out?
Technical SEO | | NetPicks0