Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Should I convert ? and = to slashes

Status
Not open for further replies.

countdrak

Programmer
Jun 20, 2003
358
0
0
US
We have a dynamic website with a page for our product lines. I pull everything from a database and the layout remains the same. So suppose I have a page called productline.cfm ( The site is developed in coldfusion)

Now say if I have three products that we sell say phones,phone accessories and car acessories. My links look like this

when the use clicks the link "Phones"

When the user clicks "Phone Accessories" my link looks like
and so on.

Now google or yahoo cant really display these dynamic pages,it seems like they dont cache the above links. They only cache and that is the problem. I was asked to convert the above links to


so to convert all the ampersands and equal to signs to slashes and then our pages would be cached correctly? Does anyone think that will help? This will require a huge database conversion, coz everything on the website is dynamic even the menu and the links. Please advice. Thanks.
 
The parts do have a page of their own. These URLs are just a way to navigate to them without using cookies or form posts because I read that the crawlers cannot use them.

Dave
 
xtendscott said:
Not sure why you are doing a redirect. I don't know what ASP does, but with ColdFusion I have been using a 404 page to Capture the variables in the url "mode/var1/var2/var3" and then depending on the "mode" in a case, that is where I decide what to do and which page to "Include" for actual processing of the page.

Server.Transfer(cstr(mode) & ".asp?id=var1&xyz=var2&123=var3")

Be cautious though, using an invalid page reference which is not found, running the error script, then that in turn running the target page will add extra processing overhead for almost every hit of your site. For big websites, little things like this add up.

A smile is worth a thousand kind words. So smile, it's easy! :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top