guy.4u80 Posted April 14, 2009 Share Posted April 14, 2009 Hi, I am working with PHP and Mysql, working on a classified site. I have Two Question for you: 1. how to make URL like kijiji, like toronto is before kijiji ??? How I can manage to have code like that so my Session variable goes right before my site name. example: http://toronto.kijiji.ca/ 2. How to make URL without extentions like the below, have cat id and RAND() without extension, So how ???????/ http://toronto.kijiji.ca/f-buy-and-sell-cameras-camcorders-W0QQCatIdZ103 Thanks Link to comment https://forums.phpfreaks.com/topic/154124-need-some-hep-with-php-from-an-expert/ Share on other sites More sharing options...
Mchl Posted April 14, 2009 Share Posted April 14, 2009 These are done with Apache's mod_rewrite. We have a separate forum section for it, take a look. Link to comment https://forums.phpfreaks.com/topic/154124-need-some-hep-with-php-from-an-expert/#findComment-810189 Share on other sites More sharing options...
wildteen88 Posted April 14, 2009 Share Posted April 14, 2009 The questions you have asked has nothing to do with PHP, but 1. That form of url is known as a subdomain. Your website host should provide a facility for setting up subdomains. 2. Clean URLs are archived using mod_rewrite Link to comment https://forums.phpfreaks.com/topic/154124-need-some-hep-with-php-from-an-expert/#findComment-810190 Share on other sites More sharing options...
guy.4u80 Posted April 14, 2009 Author Share Posted April 14, 2009 thanks for quick reply guys. Link to comment https://forums.phpfreaks.com/topic/154124-need-some-hep-with-php-from-an-expert/#findComment-810194 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.