These should both work...
Quote:
Originally Posted by Shadab Try to put the following code in the .htaccess file of your document root. Code: RewriteEngine On
RewriteRule ^game/1406/(.*)$ Jocuri/$1 I can't guarantee that this given code will work.
I'm no expert in .htaccess and rewrites. |
Quote:
Originally Posted by QueenZ I'm learning url rewriting and i'll try to help you out here..
RewriteEngine On
RewriteRule ^game/1406/Hate-that-Frog.html$ Jocuri/Hate-that-Frog.html [R]
this should work if you don't need any parameters.. |
If you want to replace the number then replace it with "([0-9]+)" and then increment the access number:
Code:
RewriteRule ^game/([0-9]+)/(.*)$ Jocuri/$1/$2
[/code]
I would consider myself quite experienced with rewriting rules so if you need to give me the info and I'll write it for you
