Announcement

Collapse
No announcement yet.

Changing Page Names

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Changing Page Names

    I have made quite a few changes to my site and changed section names and therefore the associated page names. I have noticed a lot of errors from surfers trying to access my old page names. Is there any way I can put the original page names into my site and divert users searching on these pages to the new page names while the new pages are getting ranked by search engines?

    #2
    You could use a .htaccess file to do the redirect for you. See http://www.javascriptkit.com/howto/htaccess7.shtml for a tutorial.

    Alternatively, if it's only a few pages, you could make a set of pages to replace the missing ones and use a META REFRESH that takes the user to the live page.

    Code:
    <html>
    <head>
    <title>This page has moved</title>
    <meta http-equiv="refresh" content="1;URL=http://www.mysite.com/acatalog/newpage.html">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    
    <body>
    <h2 align="center"><font face="Arial, Helvetica, sans-serif" size="4">This page has moved</font></h2>
    <p align="center"><font face="Arial, Helvetica, sans-serif" size="4">If you're 
      not automatically redirected then go <a href="http://www.mysite.com/acatalog/newpage.html">here.</a></font>
    </p>
    </body>
    </html>
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      3 choices -

      1 either create a page with the old name and use the following code
      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
      "http://www.w3.org/TR/html4/loose.dtd">
      <html>
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
      <title>Untitled Document</title>
      <meta http-equiv="refresh" content="2;URL=http://www.partystockroom.co.uk/newpagename.html">
      </head>
      <body>
      </body>
      </html>
      2 use a 301 redirect see here for more info

      http://www.internetbasedmoms.com/seo/301-redirect.html

      3 go to your hosting control panel, find the icon for Error Pages and set up a 404 error document. Create a page to explain to people what is happening and upload that page. See http://www.surf-wax.co.uk/pagenotfound.htm for an example.


      I would personally opt for 2 or 3. Go for 2 if you have the time to do a 301 properly, go for 3 for a quick simple solution that will cover you for any eventuality of pages being deleted in the future

      Comment


        #4
        Wow loads of options. Jo I have looked at your 3rd option and wish it was the site I hosted with you guys as this looks really easy, will bear this in mind when I make page name changes for the party stockroom.

        Am struggling with the 301 redirect option, have had a go but unsuccessful, I stupidly don't even know whether I am hosted on a unix or a windows server and the instructions differ so in the short term would like to recreate the old sections as per your option 1. Where do I actually insert the code as I cannot see anywhere within the section info and assume I need to update a template somewhere (gulp!).

        Dee

        Comment


          #5
          Its always a good idea to have a 404 error page as standard. this way you never lose a customer to the dreaded 404 not found

          Comment

          Working...
          X