N
N
Ninja Mate2017-03-02 17:20:12
Apache HTTP Server
Ninja Mate, 2017-03-02 17:20:12

How to share files and folders in htaccess for wp?

You need to open access to files in the wp plugin folder.
I tried to change .htaccess in the root like this

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


SetEnvIf Request_URI "(/opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/sinco_mate/admin/partials/images/)$"         allow

# END WordPress

How to do it right?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Ninja Mate, 2017-03-02
@victorzadorozhnyy

everything was correct, the server made distinctions between
when I fixed it, it worked immediately

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question