How can i rewrite a URL from this : http://www.yourwebsite.com/file.html to this : http://www.yourwebsite.com/file So basically just removing the extension but only on that particular page not the entire site ? Thanks
Try this out: Code (text): RewriteEngine On RewriteCond %{HTTP_HOST} ^prowebcreative.com [NC] RewriteRule ^(.*)$ http://www.prowebcreative.com/$1 [L,R=301] Redirect 301 /file.html http://www.prowebcreative.com/file This is working for me...
Hey River, thanks for the help yesterday I'm just wondering, what is the point of a .html extension? I've been searching, and the only reason I've found is that some people think it looks better.
I think is better without extensions. Why to have longer urls? Maybe some webmasters started in the 90s and they like more the urls with .html and .php extension
HTML / HTM was the standard at the time , it then moved to .php but in those days there was no such thing as mod rewrite so you couldnt do anything , No days it is very much whether you like on extension or another Proweb , no going to PM you , i cant figure it out lol