Quote:
Originally Posted by Plexihost
In your .htaccess file:
Code:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ $1.php [L,QSA]
|
"$1.php" assuming you are using .php
If your pages are .html, you would use "$1.html" and so on.
__________________
██ HostMantis Please login or register to view this content. Registration is FREE
██ Shared • Reseller • 24/7/365 Support • Instant Activation
██ CloudLinux • Softaculous • Fantastico • FFMpeg • PHP 5.3
Last edited by Plexihost; 04-19-2010 at 01:24 PM..
|