Support » Plugins » Hacks » Can anyone explain why this does not work?

  • Hi,

    I have this in my .htaccess file

    RewriteRule ^morepages/([^/]+).html /index.php?s=$1 [QSA,L]

    with the intention that domain.com/morepages/keyword.html redirects to domain.com/index.php?s=keyword

    If I change the rule so it goes through mod_proxy, by changeing L to P as follows RewriteRule ^morepages/([^/]+).html /index.php?s=$1 [QSA,P] it works.

    The issue with that is every request is going through my server twice.

    Any ideas how to get the top version working?

    Stephen.

  • The topic ‘Can anyone explain why this does not work?’ is closed to new replies.