skip to Main Content

Modifying GET parameter on PHP – Apache

I'm very newbie to this, so let me explain the issue: I have a cashback script, the retailer title is stored in the database, my links looking like that: example.com/view_retailer.php?id=232 I want to change that to /view_retailer?title=retailer-title I can't figure…

VIEW QUESTION

RewriteRule in folder breaks parent (.htaccess) – Apache

# /.htaccess RewriteEngine on RewriteBase / RewriteRule "^([^/]+)/root/(.*)" "$1/index.php?root=$2" # /folder/.htaccess RewriteRule "^sub/(.*)" "index.php?sub=$1" Each folder's RewriteRule works in isolation: /folder/root/hi => /folder/index.php?root=hi /folder/sub/hello => /folder/index.php?sub=hello Q: Why does adding any RewriteRule in the subfolder (/folder/.htacces) break the one in…

VIEW QUESTION
Back To Top
Search