Jump to content

rewriterule facing problem


shamsuljewel

Recommended Posts

Hi

I have a URLs of my existing site like www.ex.com/content.php?page=client-list

now i make a rewriterul on .htaccess file

RewriteRule content/page/(.*)/ content.php?page=$1

it works fine as www.ex.com/content/page/client-list

 

but i have URLs also like this www.ex.com/content.php?page=client-list&client=overseas

 

and i am using this code

RewriteRule content/(.*)/client/(.*)/ content.php?page=$1&client=$2

but this is not working but if i remove the first rewriterule removed then it works fine..

so can any one help me how to do that???

 

Link to comment
https://forums.phpfreaks.com/topic/174732-rewriterule-facing-problem/
Share on other sites

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.