Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter pshing

    (@pshing)

    Hi Vasyl,

    Thanks for your reply. It is still not working even I have made the changings in .htaccess. The only way I can work is to remove the .htaccess, but it is meaningless since it have given up the physical file protection.

    Let me try to explain more. I have made two changes on the .htaccess, since my project is hosting in testing environment and it isn’t located under the root of /var/www/html/. My project location –> /var/www/html/XXX/XXX/.

    # BEGIN AAM Media Access Control
    RewriteEngine On
    RewriteBase /XXX/XXX/ <– 1. Set the base path to my sub directory.
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteCond %{REQUEST_URI} !(\.css|\.php|\.js)$
    RewriteRule . index.php?aam-media=1 [L] <- Remove the starting ‘/’, try to use wordpress project’s index.php instead of the root’ index.php.
    # END AAM Media Access Control

    Does the plugin only support for the wordpress which is installed under root directory? (/var/www/html/)

    Or how can I revise the .htaccess to make it workable?

    Thanks again,
    pshing

Viewing 1 replies (of 1 total)