deansaddigh Posted May 14, 2010 Share Posted May 14, 2010 Hi i have uploaded my .htaccess file into htdocs, i basically want it to make extensions so instead of http://www.languageschoolsuk.com/course_enquiry.php I can just type http://www.languageschoolsuk.com/course_enquiry Heres my file i have written (found a tutorial on web ) RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php uploaded it as ascii, and it doesnt seem to do anything, can anyone help me please. Link to comment https://forums.phpfreaks.com/topic/201720-htaccess-file-cant-get-going/ Share on other sites More sharing options...
CodeMaster Posted May 15, 2010 Share Posted May 15, 2010 RewriteEngine on RewriteRule ^(.*)$ $1.php This will do it Link to comment https://forums.phpfreaks.com/topic/201720-htaccess-file-cant-get-going/#findComment-1058876 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.