Home .htaccess issue, folder in wordpress?
Reply: 0

.htaccess issue, folder in wordpress?

user818 Published in March 21, 2018, 8:13 pm

I have a folder called /mf/ that is not related to the wordpress install but it is in the same root folder. When I visit the folder path (www.domain.com/mf) it gives me a 500 error. I know that this is an .htaccess issue.

I've modded my root .htaccess to do the below code but it still does not work:

 <IfModule mod_rewrite.c>
 RewriteEngine On
 RewriteBase /
 RewriteCond %{REQUEST_URI} ^/mf/(.*)$ [OR]
 RewriteRule ^.*$ - [L]

 # BEGIN WordPress
 <IfModule mod_rewrite.c>
 RewriteEngine On
 RewriteBase /
 RewriteRule ^index\.php$ - [L]
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule . /index.php [L]
 # END WordPress

Any advice on how to fix this .htaccess issue?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.300658 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO