Bleep PHP - HTML - CSS - JAVA ✔ Oct 19, 2012 266 46 May 30, 2013 #1 Hey there, I've just finished developing my site and I have finished everything except the .htaccess I need a code which takes off the .php from the URL. Can anyone help with this? Cheers, Jamie
Hey there, I've just finished developing my site and I have finished everything except the .htaccess I need a code which takes off the .php from the URL. Can anyone help with this? Cheers, Jamie
Kaz BooYah Staff member Nov 16, 2010 3,065 1,034 May 30, 2013 #2 Code: RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php Upvote 0 Downvote
Code: RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php
Bleep PHP - HTML - CSS - JAVA ✔ Oct 19, 2012 266 46 May 30, 2013 Thread starter #3 Kaz said: Code: RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php Click to expand... Thanks alot mate ;D Upvote 0 Downvote
Kaz said: Code: RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php Click to expand... Thanks alot mate ;D
Kaz BooYah Staff member Nov 16, 2010 3,065 1,034 May 30, 2013 #4 Bleep said: Thanks alot mate ;D Click to expand... Updated, stupid thing missed a line, read last message Upvote 0 Downvote
Bleep said: Thanks alot mate ;D Click to expand... Updated, stupid thing missed a line, read last message
Markshall Русский Стандарт Contributor Dec 18, 2010 2,639 2,397 May 30, 2013 #5 Can't see why that shouldn't work, thread closed. Upvote 0 Downvote