Results 1 to 8 of 8

Why would I be getting these errors?

This is a discussion on Why would I be getting these errors? within the General Discussion forums, part of the vBSEO SEO Plugin category; Hi all I just moved my forums from a subdirectory back to the domain root. I have a .htaccess file ...

  1. #1
    Member
    Real Name
    Bruce
    Join Date
    Aug 2008
    Location
    Riverstone, NSW, AUSTRALIA
    Posts
    64
    Liked
    0 times

    Why would I be getting these errors?

    Hi all

    I just moved my forums from a subdirectory back to the domain root. I have a .htaccess file where the forums used to be to redirect browsers back to the homepage and that seems to be working well.

    However, in my error logs (cpanel) I am now seeing a ton of these:

    Code:
    File does not exist: /home/*******/public_html/forums/ascf-sedans
    as of course the forums directory is now empty. I am assuming Google etc have these somewhere (maybe?), so my question is - what do I need to adjust to make these go away?

    Oh, and of course the "ascf-sedans" part is just one example, the are a whole bunch of different ones.

    Any help appreciated.

    Cheers
    Bruce

  2. #2
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    4 times
    You can do this to redirect all of the old traffic to the new URL: Changing Domains: Directing Old Site to the New Site with htaccess
    The Forum Hosting - Forum Hosting from the Forum Experts

  3. #3
    Member
    Real Name
    Bruce
    Join Date
    Aug 2008
    Location
    Riverstone, NSW, AUSTRALIA
    Posts
    64
    Liked
    0 times
    Hi Micheal
    I tried putting what you have into my .htaccess and it results in this:

    [code]
    http://australianspeedway.com//home/******/public_html/forums
    [/quote]

    when attempting to browse to the old site root.

  4. #4
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    4 times
    What code did you put in it exactly?

    Please note that that .htaccess should be in this directory: /home/******/public_html/forums
    The Forum Hosting - Forum Hosting from the Forum Experts

  5. #5
    Member
    Real Name
    Bruce
    Join Date
    Aug 2008
    Location
    Riverstone, NSW, AUSTRALIA
    Posts
    64
    Liked
    0 times
    I copied and pasted the exact code from your post, changed domain.com to australianspeedway.com and saved.

    Something is dodgy it seems. I put what I had back in and it now goes to the dir root instead of the site root, you know "Parent Directory, cgi-bin" etc. This is what I put in

    Code:
    RewriteEngine On
    RewriteBase /
    RewriteRule ^forums/(.*)$ /$1 [R=301,NC,L]
    RewriteRule ^forums(.*)$ /$1 [R=301,NC,L]
    Cheers
    Bruce

  6. #6
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    4 times
    What do you mean the dir root?

    What if you try something like:

    Code:
    RewriteEngine On
    RewriteBase /
    RewriteRule ^forums/(.*)$ http://www.yoursite.com/$1 [R=301,NC,L]
    RewriteRule ^forums(.*)$ http://www.yoursite.com/$1 [R=301,NC,L]
    The Forum Hosting - Forum Hosting from the Forum Experts

  7. #7
    Member
    Real Name
    Bruce
    Join Date
    Aug 2008
    Location
    Riverstone, NSW, AUSTRALIA
    Posts
    64
    Liked
    0 times
    Quote Originally Posted by Michael Biddle View Post
    What do you mean the dir root?
    Sorry, I meant it displays a listing of what is in the directory "forums" instead of redirecting to australianspeedway.com

    What if you try something like:

    Code:
    RewriteEngine On
    RewriteBase /
    RewriteRule ^forums/(.*)$ http://www.yoursite.com/$1 [R=301,NC,L]
    RewriteRule ^forums(.*)$ http://www.yoursite.com/$1 [R=301,NC,L]
    I'll try that and see what happens

    Cheers
    Bruce

  8. #8
    Member
    Real Name
    Bruce
    Join Date
    Aug 2008
    Location
    Riverstone, NSW, AUSTRALIA
    Posts
    64
    Liked
    0 times
    Nope, still shows a directory listing....

Similar Threads

  1. Errors
    By kau in forum General Discussion
    Replies: 3
    Last Post: 09-25-2008, 06:03 PM
  2. SSL errors
    By CueBlip in forum Troubleshooting
    Replies: 4
    Last Post: 06-02-2008, 01:46 PM
  3. 404 Errors
    By RaceJunkie in forum Troubleshooting
    Replies: 20
    Last Post: 07-24-2007, 02:33 AM
  4. What to do About 500 Errors
    By sinjix_media in forum URL Rewrite Settings
    Replies: 8
    Last Post: 07-10-2007, 06:25 PM
  5. still getting errors
    By smack in forum Troubleshooting
    Replies: 5
    Last Post: 11-11-2006, 01:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •