Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

mod rewrite - Check Code



12:17 pm on Jan 30, 2005 (gmt 0)

10+ Year Member


I'm trying to use mod rewrite to achieve the following:

FROM: [domain.com...]

TO: [domain.com...]

I've already written some code, but not quite sure if this is correct.

RewriteEngine On
RewriteRule ^/dir/([0-9]+)\/index.php
[domain.com...] [L]

Am I on the right track?

Cheers :o)


12:35 pm on Jan 30, 2005 (gmt 0)

This should work a bit better:

RewriteEngine On  
RewriteRule ^dir/([0-9]+)/index\.php /page.php?id=$1



1:02 pm on Jan 30, 2005 (gmt 0)

10+ Year Member

Thanks dcrombie

Much appreciated for your help.

That works :o)


Featured Threads

Hot Threads This Week

Hot Threads This Month