I have url Like http://somesite.com/packagemenu.php?conname=domestic-tours-packages&consubname=kerala-tours-packages
Now, i want to make it seo friendly with php code or htaccess rewriterule
my output should be look like this
http://somesite.com/domestic-tours-packages/kerala-tours-packages
Simply apply the rewrite rule like this:
RewriteEngine On
RewriteRule ^([^/\.]+)/([^/\.]+)$ packagemenu.php?conname=$1&consubname=$2 [NC,L]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With