Support » Plugin: Swift Performance Lite » Swift and .htaccess Rewrite rules

  • Swift generates its set of .htaccess Rewrite rules.

    Where should they be placed if you have a site with “WordPress in a folder”?

    Should they be in the site root .htaccess or should they be placed into the WordPress folder .htaccess?

    I see different caching plugins place their rules sometimes before the standard WP rules and sometimes after… Where do you think they should go? Does it make any difference if running “WordPress in a folder”?

    If I have security rules (including rewrite rules) in my .htaccess, where should they be placed relative to the rules generated by the Swift plugin?

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Contributor Fred

    (@fredawd)

    That depends how you installed WordPress, but most likely in .htaccess file in your subdirectory. Swift rules comes before the standard WP rules and security/rewrite rules should always be at the top of the .htaccess file (so before Swift).

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.