Announcement

Collapse
No announcement yet.

renamed my pages...can I bounce old page names to homepage?

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

    renamed my pages...can I bounce old page names to homepage?

    Hi folks!
    I spent some time last week renaming my pages so they're less "old-actinic" and more professional looking (much shorter too!)
    Trouble is (and I knew this would be an issue for a while, at least) the search engines currently have my site indexed by it's old pages and they are all (apart from links to homepage and /acatalog) coming up as not found.
    Is there anything I can do (my end, server-end?) to bounce anything not found at www.budget-bumps.co.uk/acatalog/whatever to www.budget-bumps.co.uk/acatalog so potential customers have something to see (not all will both to check the root page like I do..lol)
    There must be some way to put in an automatic re-direct for any page not founds, surely?
    If there is, I'm sure someone here will know!
    Thanks in advance
    Tracey
    Tracey

    #2
    What you need is a .htaccess file (assuming you're on a unix server)

    Place it in the acatalog folder on your server with the following content.

    <Files .htaccess>
    order allow,deny
    deny from all
    </Files>
    Redirect Permanent /acatalog/oldfilename.html http://www.domain.co.uk/acatalog/New_File_Name.html

    You'll need to repeat the 'Redirect Permanent' line for each page that needs re-directing.

    The easiest way (for me anyway) to do this is to create the file in a text editor, save it as htaccess.txt and then upload to the server. Once there, you can simply rename it to be .htaccess (no file extension) and that's it.

    Mike

    PS. Some ftp programs won't show files like .htaccess unless you specifically set them up to do it. In that case the file will apparently disappear once you've renamed it, so if I were you I'd check your ftp program first. You do want to be able to access the file once it's on the server so you can delete it if something doesn't work quite right.
    -----------------------------------------

    First Tackle - Fly Fishing and Game Angling

    -----------------------------------------

    Comment


      #3
      Talk to you hosting company, i have a error 404 redirect set up on my site that automatically redirects to what ever url i want when a page is not found. I am able to make these changes myself through my control panel.

      Some one here i am sure would know of a way you can upoad a file to do this for you but it is whether the hosting company allows though

      Cheers
      Darren

      Comment


        #4
        Hi,

        We've just upgraded a site for a client from V4 to V7 (www.bonasana.com) and had the same problem. We don't use a server setting but sorted it by editing the "old" pages to read as follows:

        Old File Path/Name: http://www.bonasana.com/woh/acatalog..._Range_23.html

        Content replaced with:

        <HTML>
        <HEAD>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
        <meta HTTP-EQUIV="refresh" CONTENT="0; URL=http://www.bonasana.com/woh/v7/acatalog/Dr_Sarah_Brewer_s_Trilogy_Range.html">
        <TITLE>Bonasana - Redirection</TITLE>
        </HEAD>
        <BODY>
        <p align="center">&nbsp;</p>
        <p align="center"><font face="Verdana, Helvetica, Sans-Serif" size="2">Automatically redirecting your request
        - <a href="http://www.bonasana.com"> click here </a> if you are not automatically redirected.</font></p>
        </BODY>
        </HTML>


        The <meta HTTP-EQUIV="refresh" line is the important one as this actually redirects the page to the new version automatically.

        Hope this helps.

        IMIS
        IMIS
        www.crombie.co.uk
        www.bonasana.com
        www.discount-aromatherapy.co.uk

        Comment


          #5
          Hi,

          Create a .htaccess file in the acatalog folder with the content:

          ErrorDocument 404 http://www.budget-bumps.co.uk/acatalog/

          Then, any page which is not found within your acatalog folder will result in being directed to the default content of the acatalog folder.

          If you can not get it working, then check with your hosting company provider that they allow htaccess file operations

          Comment


            #6
            Fantastic thanks!

            I've only just seen these replies (for some reason I never got the notification email when they were answered, suspect hungry Norton AntiSpam!)
            HUGE thanks to Mike (Olderscot) and TechnoWeb!
            Used the text from TechnoWeb post
            ErrorDocument 404 http://www.budget-bumps.co.uk/acatalog/
            and made a .txt file containing it (as Mike suggested)
            Uploaded and renamed .htaccess and BINGO, works a treat!
            Then proceeded to try and do a web search to bring up an old filename to no avail..lol..typically, the search engines are only showing new pages now but, hey ho!
            At least if an old page *IS* linked anywhere, it now bounces straight to the /acatalog page!
            Thank you, thank you!
            Now I'll do the same for Chariots On Hire and I'll never worry about "page not found" again!
            Cheers
            Tracey
            Tracey

            Comment

            Working...
            X