Forum Moderators: phranque

Message Too Old, No Replies

The reverse way in mod_rewrite

I want maintain the url with variables in a migration

         

antonello

1:13 pm on Mar 25, 2005 (gmt 0)

10+ Year Member



I have not found information about this in all the forums i have visited. All the people wants more clear urls but i donīt, i am making a migration from xoops to drupal and i want to maintain the old urls.

The objetive is that when the user type the url

[host.com...]

the sytem must resolve

[host.com...]

any help? Thank you very much

[edited by: jdMorgan at 5:33 pm (utc) on Mar. 25, 2005]
[edit reason] Changed storyid to nnn for clarity. [/edit]

antonello

2:09 pm on Mar 25, 2005 (gmt 0)

10+ Year Member



Done:

RewriteCond %{QUERY_STRING} ^storyid=([^&]+)$
RewriteRule article.php$ node/%1 [L]