
March 8th, 2013, 12:56 PM
|
|
|
|
Multi-Level clean url + php query string
EDIT: The PHP half of this is solved. I need some help with the Mod_Rewrite portion. If a Mod feels this should be moved, please do so.
I'm trying to use a multi-level query string based in a clean url.
So say I have:
www.domain.com/contact
I want a second page under the contact page, such as:
www.domain.com/contact/feedback
I think I may have an issue with my mod_rewrite rule.
Here's my mod_rewrite rule:
Code:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^/?([^/]+)/?([^/]+)/?([^/]+)/? /index.php?p=$1&s=$2&t=$3 [L,QSA]
Last edited by HDFilmMaker2112 : March 8th, 2013 at 01:09 PM.
|