-1
I have a problem in Wordpress, I am uploading the images in a specific directory and I need these images to be viewed directly by URL.
From the root of the portal there is a directory called server and inside it has a directory called images, then the access would be:
http://www.meusite.com/server/imagens/minhafoto.jpg
However, Wordpress does not allow direct access to this directory, as example above, presents error 404.
How do I release this rule on .htaccess
wordpress?
Follow my . htaccess
# 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]
</IfModule>
# END WordPress
However, there is still the problem and the file exists.
– Ewerton Melo
I assure you that there is some problem with the address you are accessing, if the image existed and you only have this setting on . htaccess, should display at least "Permission denied" if there was a permission problem or the image would be displayed. .
– Erico
In fact Erico, it was a problem in the same URL, I managed to make the image appear. THANK YOU.
– Ewerton Melo
No problem. Please mark the question as solved so it no longer appears in "No answer"
– Erico