steelmanronald06 Posted April 24, 2006 Share Posted April 24, 2006 [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)[code]<IfModule mod_rewrite.c>RewriteEngine OnRewriteRule ^forums$ /forums/ [R]RewriteRule ^news$ /news/ [R]RewriteRule ^tutorial/tutorial.php?id=([0-9])&page=([0-9])$ /tutorial/$1/$2/</IfModule>[/code]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. Link to comment https://forums.phpfreaks.com/topic/8305-mod_rewrite/ Share on other sites More sharing options...
steelmanronald06 Posted April 25, 2006 Author Share Posted April 25, 2006 silence...hmm... Link to comment https://forums.phpfreaks.com/topic/8305-mod_rewrite/#findComment-30703 Share on other sites More sharing options...
steelmanronald06 Posted April 26, 2006 Author Share Posted April 26, 2006 bump* Link to comment https://forums.phpfreaks.com/topic/8305-mod_rewrite/#findComment-31090 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.