Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: Help with htaccess / mod_rewrite
03-17-2011, 11:44 PM #1
- Join Date
- Aug 2006
- Dallas area
- Thanked 0 Times in 0 Posts
Help with htaccess / mod_rewrite
My client has an iframe-type page that utilizes some PHP code to grab content from a 3rd party to display on the page. This "page" has a few navigation buttons that serve up new information.
We're using Joomla's SEF and mod_rewrite functions. Let's assume my Joomla article is located at http://www.mysite.com/joomla-article. When clicking on the iframe navigation, the new URL should become http://www.mysite.com/joomla-article?p=newinfo, but instead it goes to http://www.mysite.com/?p=newinfo which redirects to the frontpage.
I've attempted adding the following line and tweaking it here and there, but I'm not having much luck. Can anybody shed some light on this for me?
RewriteRule ^/?p=([a-z]+)$ /joomla-article?p=$1 [R=301,L]Brady McCain