homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
Forum Library, Charter, Moderators: ocean10000

Microsoft IIS Web Server and ASP.NET Forum

Setting up 301 redirect for individual pages on IIS

 2:43 pm on Dec 6, 2011 (gmt 0)

I am trying to set up 301 redirects for a website that I have made some changes to - I changing some pages - deleting some and combining some pages and improving the url titles of some pages to make them more relevant and SEO friendly.

It is also important to redirect visitors who are going to the old pages to the new pages, instead of the 404, and also to transfer the link juice from the old to new pages.

I can easily set up 301 redirects using .htaccess, but having trouble with IIS.

I have called my web host numerous times (they are enomcentral) but they have been unable to do it. I have even posted the following link to them:

Is it possible for me to do it myself? Or do I have to give them instructions to do it?

Thanks for your help



 5:09 pm on Dec 9, 2011 (gmt 0)

You can't do individual pages in IIS, but you can code the redirects into individual pages. Just Google '301 redirects' + whatever programming language your site uses.


 9:21 pm on Dec 9, 2011 (gmt 0)

Thanks for your reply,

I have read on multiple sites that you can redirect individual pages in IIS:

Failing that - for the page level, how can I redirect html pages? What do you mean by programming language? They are just simple html pages. I have only found ways of redirecting .asp .php etc. Do you have a link you can send to me for how I can redirect .html pages?

Thanks for your help


 9:23 pm on Dec 9, 2011 (gmt 0)

Are the pages html? Do you have server side access were you can get into the IIS. It is easy to do if you have the access.


 9:24 pm on Dec 9, 2011 (gmt 0)

Opps you posted when I did. U answered the 1st question 2nd question can you remote into the server to access IIS?


 9:29 pm on Dec 9, 2011 (gmt 0)

Hi thanks,

The info is below, let me know what you suggest.

It is being hosted with enomcentral - they have said the following which doesn't really help - I've spent a while on the phone to try to explain but they can't provide any assistance.

"As our hosting is setup on a shared hosting environment, we will not be able to create 301 redirects on a server level. This is not a supported action.

You can however create your own files in your hosting account that will create the 301 redirect on a domain level. Then you will be all set."


 9:30 pm on Dec 9, 2011 (gmt 0)

Lets say you can. Open IIS go to the website open it and veiw all pages. Look for the pages you want to redirect right click the page select properites check redirect add the page /url you want the redirected url to go to, select permanent redirect and then ok. Go through each page you want to redirect this way.


 9:33 pm on Dec 9, 2011 (gmt 0)

Is it possible for me to remote into the server to access IIS through this? If so how could I do it?


 9:36 pm on Dec 9, 2011 (gmt 0)

Can't find a way to access IIS - I believe they have access to it and all the other websites.


 9:41 pm on Dec 9, 2011 (gmt 0)

rogermcdodger123 sorry I can't help you past what I posted you need to follow the hosing directions on setting the 301's up. I doubt you have access to remote in on a shared ecomony plan.


 9:59 pm on Dec 9, 2011 (gmt 0)

Oh ok,
Is it possible to redirect html pages?


 10:37 pm on Dec 9, 2011 (gmt 0)

Wow, I was completely wrong. My co-workers usually come to me for IIS advice, and I was just asked this question 2 days ago. I guess I need to find that guy and tell him I was wrong, too.


 10:58 am on Dec 10, 2011 (gmt 0)

To redirect html pages :
replace all content on the old page that needs to be redirected with the following :

<meta http-equiv="REFRESH" content="0;url=http://www.yourdomain.com/yourdirectory/yourpage.html">

and replace the URL above with the address of the new page


 11:14 am on Dec 10, 2011 (gmt 0)

OK, I thought this was a really bad way of redirecting pages as it is often used by spammers and so it hurts page value for SEO. Isn't that true?

From google:

"If you need to change the URL of a page as it is shown in search engine results, we recommended that you use a server-side 301 redirect. This is the best way to ensure that users and search engines are directed to the correct page. The 301 status code means that a page has permanently moved to a new location."


 11:19 am on Dec 10, 2011 (gmt 0)

does the html method redirect search engine spiders aswell? or just human visitors?


 10:01 pm on Dec 12, 2011 (gmt 0)

Here is an idea as the redirect above will work but I don't like to refresh redirect.

Why don't you just do this since your ability to really do it correct isn't there.
Take the content out of the page put a big moved here with the link to the new page and let it go. This won't hurt your SEO and most people will click the link to the new page. Use a good anchor text to describe the new page and you should be fine.

*Just a thought----Send the host an email and ask them if they can enable ASAPI for you so you can redirect the correct way. If the host is able to ask them the version you will be using.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved