Hey all so this is my .htaccess, I want the ability for it to split up the URL multiple times.Code:DirectoryIndex redir.php Order deny,allow RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ([^_]+)[^\.html] Index.php?id=$1&id2=$2&id3=$3 [L]
for example my url is
hello_there_how_are_you.html
and if I do print($_GET) in the php code, all that comes up with is array(id => hello, id2 =>,id3 =>)
I want to be able to continiously split the string, any advice here?
I wuold of thought I had to add a /g param to the regex but I have no idea how this is done through .htaccess


Reply With Quote
Bookmarks