PDA

View Full Version : How to translate .asp pages into html pages?


andresef
25-01-2003, 05:41/05:41AM
hi!

I'd like to translate dynamic pages for our web site to like url's like
http://www.domain.com/products.asp?productid=123 into a static html page like
http://www.domain.com/products.asp/product/id123.html for instance

I've read different articles on the Internet about Overcoming Query Strings and "Making Dynamic Sites Visible to search engines" and i know there is companies that offer solutions for that. I was just wondering if you knew any companies that provide that kind of solutions that convert .asp pages into static pages?

Andre

chopsticks
26-01-2003, 00:42/12:42AM
since you mentioned that you already read about query string conversions... I have to ask: Why?

Google is more than capable of indexing pages with query strings. (Yes, there is more to life than Google... but don't quote me on that).

One solution I found for myself is to just use MSIE's "SAVE AS" function. Then I slap the HTML (that's been dynamically generated) up on my server with a new name... i.e. without the query string.

Here's an example link: static page of database query (http://www.chopsticks.com/PH/default2.asp)

In my case it wasn't necessarily to remove the query string itself... but to reduce the overhead of the database query itself.

---

Another solution would be to make an ASP page that just "included" the page WITH query string:

include virtual "/dir/filename.asp?value=123"

thus, you could name the file 123.asp... and it would transparently load the correct file with the query string hidden from the end-user.

(of course that's not too workable if you have thousands of values to pass in the query string)

Dom99
27-01-2003, 06:23/06:23AM
Hi,
I have written a file that does exactly this because we were concenred about the same thing.
Let me know if you want to speak more about it.