How to redirect 301 for windows server?

301 redirect on 1 page with two server addresses?

  • My Internet provider has mirrored several of my web pages using two different server addresses. As a result, Google and Yahoo have indexed my web pages with two web addresses. I only have one version of each page that I have uploaded to the 1 server, and I am unable to login or gain access to the second server where the pages are mirrored. Is a 301 redirect possible by placing both old server addresses in the single htaccess file, then pointing to the new site address? Will the mirrored versions of my pages update and forward correctly? Is there an exact syntax for this? Thank you!

  • Answer:

    You cannot 301 redirect to 2 different addresses. You could try to make 2 redirects but that's ugly. And you can only redirect what's happening on your server - not someone elses. So if you don't have access to Mirror B, you cannot redirect what's going on on Mirror B on Live Server. What you should do, is confirm everything is on a live server - NOT mirrored. Then see if you cannot get access to the 2 mirrors and 301 redirect from there to the live server. Otherwise, make sure the internet provider has deleted the mirrors, and let them 404 out. 404's are the proper way if you cannot get access. You'll lose some traffic but it will bounce back, and the 404's will go away eventually.

Daniel B at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.