RewriteRule http://www.example.com/category_listing.php?cat=([a-zA-Z0-9]+)&city=([a-zA-Z0-9]+) http://www.example.com/$1/$2
Write this rewrite rule in your .htaccess file
More Related Contents:
- How to force file download with PHP
- PHP calculate age
- How do I read any request header in PHP
- Explode PHP string by new line
- Causes of MySQL error 2014 Cannot execute queries while other unbuffered queries are active
- POSTing Form Fields with same Name Attribute
- SMTP Connect() failed. Message was not sent.Mailer error: SMTP Connect() failed
- Check whether a request is GET or POST [duplicate]
- What is the most efficient way to count all the occurrences of a specific character in a PHP string?
- Edit php.ini file
- Simple PHP contact form with Firebase hosting
- limit text length in php and provide ‘Read more’ link
- Getting error in console : Failed to load resource: net::ERR_CONNECTION_RESET
- Inkscape inside PHP/Apache doesn’t render fonts to PNG
- When *not* to use prepared statements?
- Can I use string concatenation to define a class CONST in PHP?
- PHP Deprecated: Methods with the same name
- Installing specific laravel version with composer create-project
- How to force Laravel Project to use HTTPS for all routes?
- PHP 7 RC3: How to install missing MySQL PDO
- How to get info on sent PHP curl request
- How to remove the fatal error when fetching an assoc array
- “Call to undefined function sqlsrv_connect()” when trying to connect to Azure DB from PHP
- How to make CodeIgniter accept “query string” URLs?
- How to properly create HTML links in PHP?
- Limit String Length
- Large hex values with PHP hexdec
- When should I close a database connection in PHP?
- PHP convert nested array to single array while concatenating keys?
- How to safely output HTML from a PHP program?