467,212 Members | 1,210 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,212 developers. It's quick & easy.

help on mod_rewrite

Hello. How do I do this:

If a visitor types in any number after my url, I want mod_rewrite to
convert it to my url/anotherpage.html?number=number_visitor_typed

Example:

http://www.mysite.com/12345678.html

would result in:

http://www.mysite.com/anotherpage.html?number=12345678

another example:

http://www.mysite.com/000111000.html

would result in:

http://www.mysite.com/anotherpage.html?number=000111000

Thank you.

Jul 17 '05 #1
  • viewed: 1154
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Westcoast Sheri | last post: by
1 post views Thread by Shabam | last post: by
11 posts views Thread by joelbyrd@gmail.com | last post: by
4 posts views Thread by Hermann.Richter@gmail.com | last post: by
5 posts views Thread by laredotornado@zipmail.com | last post: by
2 posts views Thread by Susanne West | last post: by
3 posts views Thread by Dr. No | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.