How do I make a folder accessible on a WordPress site?

I’ve uploaded a folder to a WordPress site. I’d like to access it e.g http://my.url.com/myfolder

The problem is WordPress’ .htaccess file which assumes I’m trying to load a page or post and doesn’t load the folder.

Read More

If you were in my boots, what would you do to overcome this situation?

My .htaccess looks like so:

Options +FollowSymLinks

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

# END WordPress

Related posts

Leave a Reply

1 comment

  1. This

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    

    checks if the requested url is an existing file or directory and only if that is not the case, wordpress jumps in and tries to interpret the url via index.php.

    Try setting a different chmod (Permission) for your folder (e.g. 777).
    Also try adding a / to the end of your url http://my.url.com/myfolder/