Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
integrating MySQL query generated pages succesfully and mod_rewrite
#2
Nice to meet you, antiquarium.

From what I see, the .htaccess rule itself should work properly; it should just be the order that it comes in the rule-set that is messing things up. Have you tried putting your new rules first before the default GetSimple ones like so?

Quote:RewriteBase /

RewriteRule ^/?item/([0-9]+)/([a-zA-Z0-9_]+).html$ item.php?id=$1&pg=$2 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]
Reply


Messages In This Thread
integrating MySQL query generated pages succesfully and mod_rewrite - by Angryboy - 2012-06-10, 06:39:05



Users browsing this thread: 1 Guest(s)