Click here to Skip to main content
15,894,291 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi ,

I have a website about new. Now I want to switch my site to static site which consist of html files. But now I can't find a method to do it.

thank you ! alextiffy
Posted
Updated 12-Jan-10 6:36am
v2

Why dont you create a normal html page and place all your html content there ?

It will work. :rose:
 
Share this answer
 
Two methods.

1 - Just extract the HTML from ASPX pages and create static pages.
2 - Write a program that render each ASPX page and writes the rendered HTML to a html file.

BTW, Please don't post email address on your post. That is not the way this discussion forums works.
 
Share this answer
 
A third method:
Open the page in a browser and copy the source from "View Source" window in the browser.
 
Share this answer
 
i want to find template or example about to generate static html page or class library .
because i generate my whole website i can't success ,some links or css lost ,i hope a new solution is it can generate static page from website map ,like googel spider ,i am also do seo , i hope you can help me ! yeah ,thank you !
 
Share this answer
 
use response.redirect("page.html");

for switch another website
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900