.htaccess and exceptions…
-
I have this in my .htaccess – works great for permalinks, instead of what WP puts in it:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ /index.php/$1
Now, I have put a file, named test.php, in my theme-dir. How do I get to see that page in the browser? No matter what I try, I get the standard WP frontpage, which is why I suspect a problem with .htaccess. But how do I make a call tohttps://blog.rander.dk/test.php
display the file? I tried with
RewriteCond %{REQUEST_FILENAME} test.php
RewriteRule ^/$ https://blog.rander.dk/wp-content/themes/peachy/test.php
before the above lines, but it does absolutely nothing…
Any ideas?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘.htaccess and exceptions…’ is closed to new replies.