| 12:13 pm on Jun 19, 2010 (gmt 0)|
Hi there hihidavid,
The word you are after is mod_rewrite this is used to mask the technology used and is good to make urls seo friendly.
Give the apache forum a try as it is a module on there. Hope that helps.
| 9:59 pm on Jun 19, 2010 (gmt 0)|
And before you look, this is "the most common mistake" - this is backwards.
You write from the link, www.mysite.com/car/ to the script, www.mysite.com/car/list1.php
RewriteRule ^/car\/*$ /car/list1.php [L]
Of course, one wouldn't hard code it like that, you'd use some sort of regexp to manage hundreds of URL's with one or two lines, but that's the idea . . .
| 7:48 am on Jul 2, 2010 (gmt 0)|
Just a thought.
| 9:07 am on Jul 2, 2010 (gmt 0)|
Hi there capulet_x,
Interesting, though I would think a tad impractical, especially when you consider that a lot of people nowadays turn of JS because of all the pop-ups and other intrusions that come from sites, the easiest way to go with this is from a server-side using rewrite rules.
| 9:59 am on Jul 2, 2010 (gmt 0)|
also, by having all pages loaded onto one page, how would search engines be able to crawl the specific pages, when they all use the same address in the url bar. Use a method where each page has a unique url.
| 6:44 pm on Jul 2, 2010 (gmt 0)|
| 8:59 pm on Jul 2, 2010 (gmt 0)|
Using extensionless URLs with a matching rewrite is the way to go.