The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Infinite Loop on simple rewrite

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #43848

    I have the following:

    RewriteRule ^location/([^/.]+)/?$ location?p=$1 [L]

    I got an endless loop in the error log (500 error in the browser).

    So I want to rewrite to

    I assume it’s because I’m redirecting to a page named the same as the url. Is there a good way to accomplish this without renaming the actual page?

Viewing 1 post (of 1 total)
  • The forum ‘Other’ is closed to new topics and replies.