WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] wp-super-cache: what looks like htaccess redirect (which I don’t want)

[Resolved] wp-super-cache: what looks like htaccess redirect (which I don’t want)

  • 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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Jan Dembowski
    Volunteer Mod. & Brute Squad

    @jdembowski

    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.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] wp-super-cache: what looks like htaccess redirect (which I don’t want)’ is closed to new replies.