WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] wp-super-cache: what looks like htaccess redirect (which I don't want) (3 posts)

  1. loops
    Member
    Posted 6 years ago #

    I'm using the iMP Download plug-in which I modified to get http://mysite/?dl=xx to download binaries.
    When I have wp-super-cache enabled any request from my pages to /?dl=xx redirects to the homepage instead. So it says http://mysite/?dl=123 in the address bar, but instead the blog homepage shows...

    Is this due to changes made by wp-super-cache to the htaccess file? Anybody have an idea?

  2. That sounds odd but if it is .htaccess then try adding a line underneath the s= lines in the wp-super-cache section:

    RewriteCond %{QUERY_STRING} !.*s=.*
    RewriteCond %{QUERY_STRING} !.*dl=.*

    Just inset the secondl ine. That should cause the .htaccess to ignore ?dl=123 and skip right to the WordPress portion.

    If that does not work then iMP Download may conflict with wp-super-cache.

  3. loops
    Member
    Posted 6 years ago #

    Ah.. that makes sense. Works fine adding that second line.
    Thanks a lot!

Topic Closed

This topic has been closed to new replies.

About this Topic