I've been trying to do some research for whether or not I should include file extensions in my url paths in my website (and whether or not it is detrimental to use relative urls).
Among some of the sites I have visited for this research are listed below:
http://css-tricks.com/snippets/htaccess/remove-file-extention-from-urls/
http://www.seo-theory.com/2011/11/30/how-do-pretty-urls-help-search-engine-optimization/
However, none of them have really answered my questions.
As for whether or not to include file extensions:
Assuming that all of the links are NOT broken, and I have constructed them properly, are there any downfalls to linking to other pages within my site and including the file extension? Originally, I thought I should include them just for specificity's sake, but now I know it doesn't make as pretty of a url.
Does this effect SEO greatly?
Should I go back and erase all .cshtml
, .jpg
, etc. from my url paths? Should I include this removal from the tags that link to my .js
and .css
external files?
If it matters, the context of this question is coming from a C#.net WebMatrix environment.