![]() |
Yet more .htaccess help requested...
Hi all. I'm very new to the non-windows side of the web development, and even newer to regex and .htaccess rewrites. I've dug through the forums, and while there's a ton of info, I'm still a little lost.
What I'm trying to do is set upa site that will route like this: www.mysite.com/SomeName/ -rewrites to: index.php?id=abc123 www.mysite.com/anothername/ - rewrites to: index.php?id=def456 and so on - to the tun of about 60-70 unique IDs. I also have to make sure that the faux directory name is case insensitive. Any help is appreciated. thanks in advance! |
Try this one:)
Code:
RewriteRule ^([^/]*).*$ index.php?id=$1 |
| All times are GMT +1. The time now is 07:41 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.