0

hello ive been trying to get my .htaccess file working but nothings doing the trick. here is the code that i am using.

RewriteEngine on 
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteCond %{REQUEST_FILENAME}\.php -f 
RewriteRule ^(.*)$ $1.php
4
Contributors
6
Replies
30
Views
4 Years
Discussion Span
Last Post by SureEM25
0

ok so i looked at that and compared my code, and didnt see any issue besides the fact that im missing rewrite base /, also i looked up more about htaccess and found out the code im using is used for wordpress, when im not using wordpress, so my new question is what do i have to change to get this working.

note: im verry new to htaccess and just found the code above online

Edited by SureEM25

0

I'm not very .htaccess litterate either just so you know.
So is what you're trying to do just not working? Or is it giving an error? (usually a 500 error)
The answer is dependent on that, several different things could be the problem.

0

Well its just not doing anything, no error no nothing.

Edited by SureEM25

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.