Jump to content

Recommended Posts

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

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.