htaccess file

This topic contains 0 replies, has 1 voice, and was last updated by  gary 1 year, 7 months ago.

  • Author
  • #199


    In the .htaccess file in your site root, add the following ABOVE the WordPress .htaccess directives:

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

You must be logged in to reply to this topic.