Shivam Chawla wrote:
I want to rewrite two urls.
some.site.tk/displayone.php?id=595 to
some.site.tk/jokes/595.html
And
some.site.tk/categorize.php?category=Animal to
some.site.tk/Animal.html
What do i need to add to .htaccess file?
RewriteEngine On
RewriteRule ^jokes/([^/]).html$ /displayone.php?id=$1 [L]
RewriteRule ^([^/]).html$ /categorize.php?category=$1 [L]
This is ten percent luck, twenty percent skill
Fifteen percent concentrated power of will
Five percent pleasure, fifty percent pain
😂And a hundred percent reason to remember the name!