Jump to content

[SOLVED] Different URL style


regdude

Recommended Posts

Btw, is it safe using this way?

It as safe as the original url. All you're doing is making your urls cleaner. You still need to sanitize your data as you would normally.

 

As for why its not working remove the caret symbol ^ from your rewrite rule:

RewriteRule /products/([0-9]+) /products.php?id=$1

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.