I want to rewrite mysite.com/pokerbono/xyz at mysite.com/pokerbono.php?id=XYZ Is the code that I have added to .htaccess:
#### affiliate linkRev. Raul ^ Pokerbone / ([a-zA-Z0-9 _-] +) $ pokerbono.php? Id = $ 1 [L]
What's wrong with this rule? I tried like 100 variations and always get 404.
I tried every and every change, now I have the following lines in .htaccess:
RewriteRule ^ pokerbono / ([A-zA-Z0- 9 _- ] +) $ Pokerbone.fp? ID = $ 1 [L]
Rematerialized Rules ^ PokerBono / ([A-GAA-Z 0-9 _-] +) / $ Pokerbono.php? Id = $ 1 [L]
Revreitium ^ / Pokerbone / ([a-zA-Z0-9 _-] +) $ pokerbono.php? Id = $ 1 [L]
RewriteRule ^ / pokerbono / ([a-zA-Z0-9 _-] +) / $ pokerbono.php? Id = $ 1 [L]
Rewrite rules / / pokerbone / ([A-zA -Z0-9 _-] +) $ / pokerbone.fp? ID = $ 1 [L]
Rev. Raul ^ / Pokerabono / ([A-GA-0-9 _-] +) / $ / PokerBono Php? Id = $ 1 [L]
Try to include a slash on the front:
rewrite rule / pokerbone / ([a-zA-Z0-9 _-] +) $ / pokerbone.fp? UPD : This works in my environment:
< Code> revive on rewrite ^ qwe / ([-_a-zA-Z0-9] *) $ Qwe.php? Id = $ 1 [L]
Comments
Post a Comment