-
Pretty links
is there any way to make pretty links?
My links include .htm at the mo and i have this code to change them:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.htm -f
RewriteRule ^(.*)$ $1.htm
but i have done everything needed and it doesnt work. i like how simple it is to upload from xara and can't be bothered to have to go down the filezilla route to just get rid of .htm
but is there any trick i don't know about?
im using MX premium.
-
Re: Pretty links
Welcome to TalkGraphics
I'm not sure what you are trying to accomplish here.
Can you elaborate a bit? There might be an easier way.
-
Re: Pretty links
equi, your code requires two things: your site is hosted on an Apache server and you can write and change your .htaccess file.
Look at http://eisabainyo.net/weblog/2007/08...-via-htaccess/ to see if the article there helps anyhow.
Google for ".htaccess remove htm".
Acorn
-
Re: Pretty links
The code you posted is for adding to your .htaccess file, it has nothing to do with Web Designer.
There's no other way to create Clean Urls.
You may have to ask your hosting support as not all rewrite rules work the same on every host.