943,808 Members | Top Members by Rank

Ad:
Sep 14th, 2009
0

Article's within the website URL

Expand Post »
I noticed that alot of sites URL's tend to look like this:

http://www.example.com/the-name-of-t...ted-like-this/

How can I do that? I really don't think that is all manually done. If this belongs in the PHP thread sorry. I am using PHP for creating my blog and its done, but I just wanted to know how those url's are created.

Thanks.
Similar Threads
Reputation Points: 10
Solved Threads: 1
Light Poster
InsaneVr6 is offline Offline
38 posts
since Jul 2009
Sep 14th, 2009
0

Re: Article's within the website URL

apache mod_rewrite
and a bunch of discussions on the subject and tutorials etc "user friendly urls with mod rewrite"
its not hard as long as the
?bla=blah&otherstuff=somethingelse parameter part of the url is structured
Last edited by almostbob; Sep 14th, 2009 at 4:29 pm.
Reputation Points: 562
Solved Threads: 368
Posting Maven
almostbob is offline Offline
2,970 posts
since Jan 2009
Sep 15th, 2009
0

Re: Article's within the website URL

Click to Expand / Collapse  Quote originally posted by InsaneVr6 ...
I noticed that alot of sites URL's tend to look like this:

http://www.example.com/the-name-of-t...ted-like-this/
The way I would do it is by using an error 404 error handler, and parse the URL actually used. On one of my hosts (all hosts do not allow this) I also use this method to parse subdomains, so I don't have to declare them on the host. Very convenient and flexible.
This even allows me to create new subdomains on the fly.

inge
Reputation Points: 16
Solved Threads: 9
Junior Poster
ingeva is offline Offline
106 posts
since Jul 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: Freeware\Opensouce Programs Eqivulant to ...
Next Thread in HTML and CSS Forum Timeline: Web Design Tips





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC