301 Redirect on ASP Site

Hello friends;

I haven’t done a 301 redirect on an ASP site before. I did some research, but I can’t say I understood much of what was written.

I am going to perform a 301 redirect from the domain siteismi.com to another domain with the extension siteismi.k12.tr. Since ASP sites do not have an .htaccess file, I don’t know where or with which codes to do this. I would be very happy if there are friends who can help.

**Note: **When I entered to do the redirect via webmaster tools, it gave a warning saying “Limited to root-level domains only”. As far as I researched, 301 redirects cannot be done to .TR extension domains. Therefore, only redirection via hosting remains.

Isn’t there anyone who can help, guys?

Hello,

When http://www.siteismi.com/ornek-sayfa.asp is accessed, you must ensure the following code runs.

<%
Response.Status=“301 Moved Permanently”
Response.AddHeader"Location"," http://www.siteismi.k12.tr/ornek-sayfa.asp "
%>