fixed redirect .html to .aspx

Store UI, layout, design, look and feel; Discussion on the customer facing pages of your online store. Cascading Style Sheets, Themes, Scriptlets, NVelocity and the components in the ConLib directory.
Post Reply
zanzor
Ensign (ENS)
Ensign (ENS)
Posts: 20
Joined: Fri Aug 05, 2011 4:44 pm

fixed redirect .html to .aspx

Post by zanzor » Sat Feb 11, 2012 11:52 am

was having hard time finding anything in the forum on this topic so here is what i found and it works GREAT!

my old site has ALOT of .html files no .aspx files
i was wanting the safest way to redirect those .html files to the new AC .aspx, my understanding so fare is to use the 301 redirect.
hoever the tool built inside of AC does not work as i have iis 6.

so found this information on another forum.

This is assuming you access to your iis on your server...

*****************************************************************************************
1. Browse the website you want to do the redirect for.
2. In the right pane, right click on the file you want to redirect, and click "Properties"
3. Under the "File" tab, hit the radio selection "A redirection to a URL"
4. Put the target in the "redirect to" textarea.
5. Make sure "The exact URL entered above" and "A permanent redirection for this resource"

That should give you a 301 nicely.
********************************************************************************************
Of course this way you still have to have the .html files littering up your directory, but eh, whatever...


Tim

Post Reply