Menu Close

htaccess file

This topic contains 0 replies, has 1 voice, and was last updated by kapil S gary 2 years, 4 months ago.

  • Author
    Posts
  • #199
    kapil S
    gary

    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]
    </IfModule>

You must be logged in to reply to this topic.

Skip to toolbar