Jump to content
xisto Community
Sign in to follow this  
lalit7

How Do I Write My Rewriterules In .htaccess

Recommended Posts

Hello everyone

I want my url : /affiliate-programs-directory.html?cid=anystring&subid=anystring

 

to look like search engine friendly as:

 

/affiliate-programs-directory/anystring/anystring.

 

And also i am using joomla and i have written a php script which uses values of cid and subid from the url.

So my question is what RewriteRule should i write in my .htaccess file for the above problem and aslo i should get my cid and subid values in the php script to display the pages.

Thank you in advance for your help....

Edited by lalit7 (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.