Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7639927
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T08:32:58+00:00 2026-05-31T08:32:58+00:00

As time goes on we are sometimes required to change a page that is

  • 0

As time goes on we are sometimes required to change a page that is ranked well to a new page name. For instance, GreatInfo.asp to be replaced by the same content but called GreatInfo.php

It’s basically a 301 redirect but on the page level. I’m running Windows Server (IIS7) and can do full site 301 redirects but not clear on the same goal for a single page.

I researched this page but still it is not clear:
http://www.seomoz.org/learn-seo/redirection

This page concludes in saying to simply paste code on your page to achieve the individual page 301 redirect:
http://www.bruceclay.com/blog/2007/03/how-to-properly-implement-a-301-redirect/
but yet no reference is given to such code..

So I would have to say my question is what code is used at a page level to do a single page 301 redirect?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T08:32:59+00:00Added an answer on May 31, 2026 at 8:32 am

    I believe I found the answer:

    301 redirects in PHP

    In some cases, you can’t do it with .htaccess so you’re stuck doing it at the page level. If you need to do a 301 redirect in PHP, here’s how:

    <?php
    header(“HTTP/1.1 301 Moved Permanently”);
    header(“Location: http://www.example.com/”);
    ?>
    

    Note: you’ll need to make sure you don’t echo out any HTML or text before executing these functions.
    301 redirects in ASP

    If you’re using ASP, it looks like this:

    <%
    Response.Status = "301 Moved Permanently"
    Response.AddHeader "Location", "http://www.example.com/"
    Response.End
    %>
    

    Now whether this retains any positive SEO ranking from the page setting the 301 redirect, I do not know… Also I’ve not found the same page level methods for a static html page redirect. But at least for classic asp and php the methods above will work well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I set up a hitcounter so that each time someone goes to my site,
Sometimes my system call goes into a never ending state. To, avoid that I
I'm building an application and as time goes on, I have more and more
Processing time doubles as Y goes to the right. Can anybody tell me why?
After wasting some time to figure out what goes wrong, I finally have to
I had much luck last time I submitted a question so here goes: I
I am getting time out from using JsonpRequestBuilder. The entry point code goes like
When my website opens for the first time , it directly goes to this
I have php scripts that call perl scripts to do various things and sometimes
Our web app automatically emails us when a page execution goes beyond a second

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.