Welcome to WebmasterWorld Guest from 35.153.73.72

Forum Moderators: ocean10000

Message Too Old, No Replies

How to do 301 from page to page in IIS? New question

I did not get an answer here

     
11:48 am on Jul 30, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Oct 8, 2003
posts: 1419
votes: 0


I am an apache guy, hardly worked on IIS. Now for a client, I need to do a 301 for all the files

blugewidgets.com/1.html to go to #*$!/1.html .. also

blugewidgets.com/1.gif to go to #*$!/1.gif

Is there a way we can do it? (I have to do it as we are shifting the domain and want to get the values of the links)

Else I propose another solution. Get the old site out of IIS and host it with a Apache host and do a 301 redirect from there? (I am cruel on MS technologies that I don't understand)

Thanks,
Aji

4:49 pm on July 30, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 24, 2002
posts:894
votes: 0


If your pages are *.html then all you need per page is this in the header

<meta http-equiv=refresh content="3; url=newUrl">
3 is the number of seconds before refresh.

As far as I know you cannot redirect images - if I'm wrong I'm sure someone here will correct me.
Just place the images in the correct directory on the new location.

5:23 pm on July 30, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Oct 8, 2003
posts: 1419
votes: 0


with .htaccess of apache, I can redirect all the files including pdfs, images, doc etc.

Thanks for the reply Staffa, it is highly appreciated.

5:26 pm on July 30, 2008 (gmt 0)

Senior Member from CA 

WebmasterWorld Senior Member encyclo is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 31, 2003
posts:9074
votes: 6


Try: [webmasterworld.com...]

Or more via a search [google.com]. :)

5:52 pm on July 30, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Oct 8, 2003
posts: 1419
votes: 0


Thank encyclo,

I did the search but no easy solution. Page to page redirection is possible, else you need admin access. I have lost faith on hosting companies for a little advanced tech help, they generally screw up my 2 days (minimum).

I think an easy way is to shift it to apache and then do the redirect. Apache with an .htaccess support makes life so easy.

Thanks again,
Aji