Forum Moderators: open

Message Too Old, No Replies

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

I did not get an answer here

         

AjiNIMC

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

WebmasterWorld Senior Member 10+ Year Member



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

Staffa

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

WebmasterWorld Senior Member 10+ Year Member



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.

AjiNIMC

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

WebmasterWorld Senior Member 10+ Year Member



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

Thanks for the reply Staffa, it is highly appreciated.

encyclo

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

WebmasterWorld Senior Member 10+ Year Member



Try: [webmasterworld.com...]

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

AjiNIMC

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

WebmasterWorld Senior Member 10+ Year Member



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