Menu Close

htaccess file

  • Creator
    Topic
  • #199
    kapil Sgary
      Up
      0
      Down
      ::

      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.