Jump to content


Photo

mod_rewrite


  • Please log in to reply
2 replies to this topic

#1 steelmanronald06

steelmanronald06
  • Staff Alumni
  • Advanced Member
  • 2,004 posts
  • LocationOk

Posted 24 April 2006 - 09:57 PM

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

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/
</IfModule>

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.

#2 steelmanronald06

steelmanronald06
  • Staff Alumni
  • Advanced Member
  • 2,004 posts
  • LocationOk

Posted 25 April 2006 - 07:45 PM

silence...hmm...

#3 steelmanronald06

steelmanronald06
  • Staff Alumni
  • Advanced Member
  • 2,004 posts
  • LocationOk

Posted 26 April 2006 - 08:46 PM

bump*




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users