Mobile app version of vmapp.org
Login or Join
Harper822

: 301 Redirection for classic ASP website with IIS 6 server I am new in the SEO field. I have relaunched my old website to a new one, and my guess is I need to 301-redirect some/many of my

@Harper822

Posted in: #301Redirect #AspNet #Redirects

I am new in the SEO field. I have relaunched my old website to a new one, and my guess is I need to 301-redirect some/many of my old pages.

But I have deleted some of the pages from server which is not required in new website. That pages having good PageRank, so I'm thinking about 301 permanent redirect to relevant pages or home page. My website in classic ASP with IIS 6 server. Problem is that classic ASP does not understand a web.config file.

In an Apache server we can create a .htaccess file and through which we can achieve redirection. So is there any option for classic ASP? I don't want those pages on server otherwise through properties I can set the redirection.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Harper822

2 Comments

Sorted by latest first Latest Oldest Best

 

@Sue5673885

A simplest option is to install an Apache ISAPI rewrite module on Server. It's get integrated with IIS6. You can place an .htaccess file (like Apache) in your website directory installed on server and just play with your redirects.

Check this option (Helicon): www.isapirewrite.com/
I think even the free version will suffice your purpose.

10% popularity Vote Up Vote Down


 

@Nimeshi995

The Microsoft site still has a lot of information on its site that can tell you how to do this, additionally you can also use a HTML redirect or JavaScript too.


SOURCE: Procedures

To redirect requests to another Web site or directory


In IIS Manager, expand the local computer, right-click the Web site or directory you want to redirect, and click Properties.
Click the Home Directory, Virtual Directory, or Directory tab.
Under The content for this source should come from, click A redirection to a URL.
In the Redirect to box, type the URL of the destination directory or Web site. For example, to redirect all requests for files in the
Catalog directory to the NewCatalog directory, type /NewCatalog.


To redirect all requests to a single file


In IIS Manager, expand the local computer, right-click the Web site or directory you want to redirect, and click Properties.
Click the Home Directory, Virtual Directory, or Directory tab.
Under The content for this source should come from, click A redirection to a URL.
In the Redirect to box, type the URL of the destination file.
Select the The exact URL entered above check box to prevent the Web server from appending the original file name to the destination URL.


You can use wildcards and redirect variables in the destination URL to
precisely control how the original URL is translated into the
destination URL.

You can also use the redirect method to redirect all requests for
files in a particular directory to a program. Generally, you should
pass any parameters from the original URL to the program, which you
can do by using redirect variables.

To redirect requests to a program


In IIS Manager, expand the local computer, right-click the Web site or directory you want to redirect, and click Properties.
Click the Home Directory, Virtual Directory, or Directory tab.
Under The content for this source should come from, click A redirection to a URL.


In the Redirect to box, type the URL of the program, including any
redirect variables needed to pass parameters to the program. For
example, to redirect all requests for scripts in a Scripts directory
to a logging program that records the requested URL and any parameters
passed with the URL, type /Scripts/Logger.exe?URL=$V+PARAMS=$P. $V and
$P are redirect variables.


Select the The exact URL entered above check box to prevent the Web server from appending the original file name to the destination URL.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme