Jun
01On one of my sites I’ve been thinking about revamping some of the URLs. On many of the pages there are hyperlinks that map to searches with URLs like this example:
http://www.domainname.com/showpads.php?search=keywords&match=Exact&&string=DVD+Converter
However, I’d like to have hyperlinks/ URLs like this instead:
http://www.domainname.com/featured/dvd-converter/
The main difference is that the keyword is now separated by a hyphen instead of a plus. Any ideas on how a URL like this can be rewritten back to the original example?


Yes, in fact this a problem with cubecart, the software we use for our shopping cart websites. The standard code is like you say with query strings.
However, theres a mod, called the SEO mod, something like that.
There are two main approaches to the mod, which depends on your server configuration.
The first option, requires you to hard code your ftp details, then when ever you create a new product or page on the site, you have to run a generate script. Which generates files and creates folders,
the file(s) has standard code in them, with the product id, which produces the page. You can choose the format of your urls and include categories etc. However this is a bit messy and it doesn’t tidy
up the files if you change your url, however, you may not wish to….
The second and more dynamic approach, is to use rewrites and functions to generate seo friendly urls. The rewrite then transforms nice urls to their query string pages. Simples… che…