Forums

Give help. Get help.

  • # April 2, 2013 at 2:02 pm

    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 mysite.com/location/mega-mall to mysite.com/location?p=mega-mall

    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)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag