Rewriting URLs for Results Pages

2 posts by 2 authors in: Forums > CMS Builder
Last Post: December 15, 2010   (RSS)

Hello Again!
I hope you all are enjoying the holidays!

We came across this post about creating custom links for the details pages of our listings. And the solution works wonderfully. We are very excited.

http://www.interactivetools.com/forum/gforum.cgi?post=75851;search_string=mod%20rewrite;#75851

But now we want to take it a step further and have similar urls for our search results pages. Would this method of "custom links" be the same for the results page url, as it would be for the details?

For example, our details pages will now have a url similar to this.
http://www.rentittoday.com/viewers/costume_rentals_details.php/Christmas/CO/Beaverton/Reindeer%20Costume%20Rental,%20Beaverton,%20Oregon/38
With the details page name (which we will rewrite in our .htaccess to simply costume-rentals), subcategory, state, city, name of listing, item num.

We would like our results page to say something like
http://www.rentittoday.com/viewers/costume_rentals_results.php/subcategory/state/city
The chunks of url would change depending on what search form elements they utilized. So if they only filled out subcategory, only the subcategory would display in the url, not the state and city. We are using a function already to eliminate unused search form fields from the url.

I have read your online documentation about the SEO Urls and how it would say "/size-xl/color-blue". But is it possible to have it even cleaner and just say "xl/blue"?
Also another one of my concerns is that we use the "cities_serviced_keyword" in our cities serviced field, which enables our users to enter all the cities that they service and we do not want this to change. So would this new structure be able to keep that functionality? And if so how do begin to go about it?

Thanks!
Jason Glass