Forward requests for .html files to .aspx files
Re-invent ASP.NET Hosting Community
 Home          Members     Calendar     Who's On

Welcome Guest ( Login | Register )
        



Forward requests for .html files to .aspx... Expand / Collapse
Message
Posted 5/5/2006 3:42:00 PM Post #290
 

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie
Folks:

I'm in the process of converting my website from static HTML files to ASP.NET 2.0. My old files have a .html file type, and a lot of websites have links to the .html files.

The new files will have the .aspx file type. Is there a convenient way to forward requests for .html files to the corresponding .aspx files?

I realize that I can create a .html file that redirects to another file. But is there an easier way?

Sincerely,

Eric Bergman-Terrell
www.PersonalMicroCosms.com


www.PersonalMicroCosms.com
Posted 5/10/2006 1:59:00 PM Post #291
 

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Hello,

I think you are right with the redirect in your html file may be the best bet.  The setup of a 301 server-side redirect on each HTML file to redirect to the desired corresponding .aspx file would be another option.

 



Paul B

Re-invent Technologies LLC
http://www.re-invent.com

Innovative ASP.NET 3.5/2.0 Hosting
Now with Windows 2008 Hosting and SQL 2008
Celebrating 10 Years in Business!

« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Administrator, Re-invent (Paul), Re-invent (Nick)

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 8:17am

Powered By InstantForum.NET v4.1.4 © 2010
Execution: 0.035. 9 queries. Compression Disabled.


Copyright 2008 Re-invent Technologies LLC. All Rights Reserved.