Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Subscribe to HRA Now!

 



Are you a Google Analytics enthusiast?

Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE! 

 



 

 www.CustomReportSharing.com 

From the folks who brought you High Rankings!



Photo
- - - - -

Permanent 301 Redirect


  • This topic is locked This topic is locked
320 replies to this topic

#46 Randy

Randy

    Convert Me!

  • Moderator
  • 17,540 posts

Posted 18 August 2004 - 11:17 AM

I'll let one of the IIS experts tackle your redirect question scneeble. It's well outside of what I normally deal with on a normal basis, so don't want to give you any bad information.

#47 Pilgrimgal

Pilgrimgal

    HR 1

  • Members
  • Pip
  • 2 posts

Posted 30 August 2004 - 10:55 AM

Hi All,

This is my first time using this forum... I am a complete novice, so please be kind!

I manage a website that has been redesigned. Google and many other search engines still list our old pages, or pages that I "mocked" up, using the old URLS but with the new content. This band-aid approach is clogging up our server with duplicate pages and making file management difficult, as well as making web users confused.

SO, it was suggested to me to do 301 redirects for these pages, and I tried to use the code that was suggested in this forum. But it didn't work. I am not a techy, so it could be my copying and pasting into the code at the top of the page was not the way to do it. Part of the problem is also that the old pages are .htm or .html and the new ones are .asp

There is also some concern amongst my higher ups that doing a redirect would compromise our rankings with Google since they rate on link popularity. Is that the case?

Does anyone have any suggestions for me??? They would be much appreciated.

Thanks,
Pilgrimgal

#48 Jill

Jill

    Recovering SEO

  • Admin
  • 32,982 posts

Posted 30 August 2004 - 11:14 AM

Welcome Pilgrimgal! bye1.gif

You may simply want to wait for the engines to purge your old urls and find your new ones. In most cases, there's no need to redirect. Just let them get rid of the old stuff on their own.

Jill

#49 Randy

Randy

    Convert Me!

  • Moderator
  • 17,540 posts

Posted 30 August 2004 - 11:16 AM

Welcome Pilgrimgal ! bye1.gif

The best way to accomplish what you're trying to is going to depend upon the type of server you're site is on. If you're on a *nix (Linux, Unix) system, placing your redirects into a .htaccess file will be the best and simplest way.

.htacess is nothing more than a simple text file. You'll want to create it with Notepad or some other plain text editor. When you upload it to the root level of your web site (the same place where you main index page resides) it should work in conjunction with your server to handle everything. Note that the .htaccess file really does start with a dot. It needs to be that way.

As far as what to put in this file to redirect the old pages to the new, it would look something like this:
CODE
Redirect 301 /old-file-name.htm http://www.yourdomain.com/new-page.asp


Putting a command like that for each of the old pages should straighten things out and allow you to delete the old pages. I would do it with just a page or two at first to make sure it works, then add all of the old pages.

If you're on a Windows server, there are some instructions a ways back in the thread on how to do that. Or just post back with what you're server is running and somebody will be by to help you sort it out.

#50 Pilgrimgal

Pilgrimgal

    HR 1

  • Members
  • Pip
  • 2 posts

Posted 01 September 2004 - 09:27 AM

crossfingers.gif Thank you both for your helpful responses. I will try it and see what happens!

-Pilgrimgal

#51 PilgrimGuy

PilgrimGuy

    HR 1

  • Members
  • Pip
  • 6 posts
  • Location:Plymouth, Ma

Posted 01 September 2004 - 01:14 PM

Hi there, PilgrimGuy here. I work with Pilgrimgal, she's the website content mgr and I'm the techie. I don't do much web work for work but as a hobbie I have set up a cuppla web sites using Frontpage so I have some knowledge of web hosting and how it works. But obviously not enough or I wouldn't be posting here.

The problem we have here at work is that we had a Frontpage site up and running for several years. We got gazillions of hits annually and were pretty well up there on the search engines for a bunch of keywords. People got used to seeing us at the top of the search engine listings. We're an educational organization and teachers all over the world have our site and internal pages bookmarked.

Problem is, we recently updated the site using asp on a windows server (hosted for us). Now (or soon) all the old search results and bookmarks will no longer go to where the new data is.

We'd like to put redirects for the old pages in to point to the new corresponding pages.

I've looked around this thread and can't find anything that makes sense to me on how to do that..... probably missed it or I'm just too dumb to understand what I'm looking at.

Our boss feels that if we just remove the old pages, letting the engines drop the old and find the new, it will dramatically drop our 'find' rate, and that the currently stored bookmarks in our client schools will be frustratingly absent.

Can anyone spell out the best procedure to do this? It seems like that if this can be done, someone on this forum will have the answer.

Thanks in advance for your help.

Pilgrimguy and Pilgrimgal at www.plimoth.org

Edited by PilgrimGuy, 01 September 2004 - 02:09 PM.


#52 Shane

Shane

    HR 6

  • Active Members
  • PipPipPipPipPipPip
  • 850 posts
  • Location:Atlanta, GA

Posted 01 September 2004 - 01:18 PM

Pilgrimguy,

1. How many unique URLs are we talking about?
2. What level of access do you have to the old server? Just FrontPage, or can you actually get into the IIS settings?

#53 PilgrimGuy

PilgrimGuy

    HR 1

  • Members
  • Pip
  • 6 posts
  • Location:Plymouth, Ma

Posted 01 September 2004 - 01:34 PM

I'll have to check with PilgrimGal on the actual numbers but I'm guessing in the neighborhood of 50.

I do not have personal access to the IIS as the hosting is provided thru an ISP. We don't do the actual hosting. My tech rep at the hosting company is very accomodating and will probably make changes if requested. We're a big client of his.

The new site is not done in Frontpage. I do have FTP access.

#54 Shane

Shane

    HR 6

  • Active Members
  • PipPipPipPipPipPip
  • 850 posts
  • Location:Atlanta, GA

Posted 01 September 2004 - 02:35 PM

Okay, 50 is a very manageable number. Are they HTM's or ASP's? If they're ASP's, it's a breeze. Replace each of their contents with this code:

<%
Response.Status = "301 Moved Permanently"
Response.AddHeader "Location", "<New URL Goes Here>"
%>

If they're HTM's, it's a little more complicated. You'll have to get the server administrator to change IIS so that HTM's are run through ASP.dll just like ASP's are. Then your HTM's will behave just like ASP's and you can use the code above.

Let me know if either of those will work.

#55 PilgrimGuy

PilgrimGuy

    HR 1

  • Members
  • Pip
  • 6 posts
  • Location:Plymouth, Ma

Posted 01 September 2004 - 02:45 PM

The old pages are HTM's, the new are asp's.

If I use the terminology you used in your last post, should the admin understand ?

Could you be a little more explicit in explaining what needs to be done, please. It might help me explain it to him and I always like learning something new !


Thanks very much for taking the time to help us. It's very much appreciated.

Dennis

#56 incrediblehelp

incrediblehelp

    HR 6

  • Active Members
  • PipPipPipPipPipPip
  • 591 posts
  • Location:Kentucky

Posted 01 September 2004 - 02:58 PM

PilgrimGuy,

Are you going to use a 301 redirect as the solution??

#57 BrianR

BrianR

    Is it just me, or is it getting cooler in the evenings...?

  • Members
  • PipPipPipPipPipPipPip
  • 1,621 posts
  • Location:Chester, UK

Posted 01 September 2004 - 03:37 PM

Dennis

We have discussed this topic several times on the forum, so you might want to do a forum search on '301 redirect' - the resulting threads should give you more background info on the topic.

BrianR

#58 Randy

Randy

    Convert Me!

  • Moderator
  • 17,540 posts

Posted 01 September 2004 - 03:44 PM

Dennis,

Your server admin may or may not want to have .htm/.html files pre-proscessed as ASP. It adds load to the server's CPU and Memory, and if they have to change this for every site on the server they may balk at that for obvious reasons.

Ian (mcanerin) made a post on the first page of this thread of how to do what you need to accomplish for a whole site. I don't work with IIS myself, but I'm 99% sure the same can be done on an individual page level by the server admin. There's a link in Ian's post to more info on IIS server redirects.

If it were me, I would give your server admin a ring and tell them what needs to be done regarding your site changing, along with the two options. Doing the redirect at the server level, or enabling HTML pages to be pre-processed by the ASP engine. They know the server and will choose the best way to go about it for everybody involved.

By all means, feel free to reference this thread with them.

#59 mltgroup

mltgroup

    HR 1

  • Members
  • Pip
  • 6 posts

Posted 01 September 2004 - 06:36 PM

Can I use 301 redirects to redirect domains to specific pages of a new domain? And not be penalized?

e.g.

www.domain1.com (redirect to) www.domainhome.com/domain1.html
www.domain2.com (redirect to) www.domainhome.com/domain2.html
www.domain3.com (redirect to) www.domainhome.com/domain3.html

Thanks for any info.

#60 Randy

Randy

    Convert Me!

  • Moderator
  • 17,540 posts

Posted 02 September 2004 - 07:18 AM

Yup mltgroup. In fact a lot of multi-national sites with multiple TLD domains do exactly that!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

SPAM FREE FORUM!
 
If you are just registering to spam,
don't bother. You will be wasting your
time as your spam will never see the
light of day!