![]() |
simple htaccess question
i want www.domain.com/test
translated to www.domain.com/?bla=test i want www.domain.com/yeah translated to www.domain.com/?bla=yeah i want www.domain.com/whatever translated to www.domain.com/?bla=whatever etc.. except for index.php ... Any ideas? |
It isn't simple at all, but it's do-able for sure.
|
i know i know :winkwink:
|
Quote:
|
I think you need an index.cgi file... something like this... http://www.calpoint.com/content/html...t_listing.html
I saw one that used variables and did exactly what your asking for, but I can't find it right now... if you know any scripting you should be able to modify it yourself... |
If you want to do it at the PHP level, check this out..
http://zend.com/zend/trick/tricks-apr-2003-urls.php |
Quote:
since all pages on the domain are generated from the index.php i was planning on giving individual users a profile like www.domain.com/johnny.. But ill just make it www.domain.com/profiles/johnny using the rewrite trick described in your file.. Thanks :thumbsup |
All times are GMT -7. The time now is 02:36 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123