Welcome to WebmasterWorld Guest from 54.163.168.15

Forum Moderators: ocean10000

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:
[bliznet.com...]

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)

WebmasterWorld Senior Member 10+ Year Member



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:
[mcanerin.com...]

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)

WebmasterWorld Senior Member bwnbwn is a WebmasterWorld Top Contributor of All Time 5+ Year Member



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)

WebmasterWorld Senior Member bwnbwn is a WebmasterWorld Top Contributor of All Time 5+ Year Member



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)

WebmasterWorld Senior Member bwnbwn is a WebmasterWorld Top Contributor of All Time 5+ Year Member



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)

WebmasterWorld Senior Member bwnbwn is a WebmasterWorld Top Contributor of All Time 5+ Year Member



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)

WebmasterWorld Senior Member 10+ Year Member



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)

WebmasterWorld Senior Member 10+ Year Member



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

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

and replace the URL above with the address of the new page
11:14 am on Dec 10, 2011 (gmt 0)



Thanks,
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)

WebmasterWorld Senior Member bwnbwn is a WebmasterWorld Top Contributor of All Time 5+ Year Member



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.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month