Jump to content


This topic is now archived and is closed to further replies.



Recommended Posts

[code]RewriteRule ^tutorial/tutorial.php?id=([0-9])&page=([0-9])$ /tutorial/$1/$2/ [/code]

Is that correct? The live url is something like: [a href=\"http://mysite.subdomain.com/tutorial/tutorial.php?id=1&page=0\" target=\"_blank\"]http://mysite.subdomain.com/tutorial/tutor...php?id=1&page=0[/a]

Here is my entire .htaccess (it all works but that one line)

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^forums$    /forums/    [R]
RewriteRule ^news$      /news/      [R]
RewriteRule ^tutorial/tutorial.php?id=([0-9])&page=([0-9])$ /tutorial/$1/$2/

I want the url to look like: [a href=\"http://mysite.subdomain.com/tutorial/1/0/\" target=\"_blank\"]http://mysite.subdomain.com/tutorial/1/0/[/a] I think I am on the write track, but still, it isn't working.

Share this post

Link to post
Share on other sites


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.