+ Reply to Thread
Results 1 to 6 of 6

Thread: 404 error

  1. #1
    polite is offline New Bee
    Join Date
    May 2008
    Posts
    3
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default 404 error

    i just loaded an image hosting php script, i am not able to verify the site in Google webmaster tools because the problem is that missing pages redirects to homepage of website and am not able to add meta tag in php files as my technical know how is too strong ,

    Can some one please help me in stopping that redirect thing? i has uploaded the website to public folder.

  2. #2
    Alan B's Avatar
    Alan B is offline Super Moderator
    Join Date
    Jul 2007
    Location
    Toronto, Canada
    Posts
    1,386
    WHB Points this Month
    0.00
    WHB Points
    290.00
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Default

    You can verify a site in Google webmaster tools as long as you can either:
    add a META element in the head of the main page, or;
    add a separate verification file, using the filename that Google will generate, to your home directory.

    You can define what you want to happen for error pages (such as 404) in cPanel.

  3. #3
    polite is offline New Bee
    Join Date
    May 2008
    Posts
    3
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i want that missing pages should return 404 error..

  4. #4
    Alan B's Avatar
    Alan B is offline Super Moderator
    Join Date
    Jul 2007
    Location
    Toronto, Canada
    Posts
    1,386
    WHB Points this Month
    0.00
    WHB Points
    290.00
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Default

    They may already be returning a 404 error, but then directing to that page. They are two separate functions. You may prefer to direct them to a custom 404 page, or not direct them at all but instead use a default browser error. See what's listed in the cPanel error pages area, or check your htaccess file.

    If you posted the URL of your site, we could see what you're seeing.

    You can test your error handling:

    http://www.404checker.com/404-checker
    http://www.rexswain.com/httpview.html

  5. #5
    polite is offline New Bee
    Join Date
    May 2008
    Posts
    3
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    image-host.us

    http://http://image-load.us

    But even if i enter http://http://image-load.us/xyz

    it would take me to home page instead of giving a 404 not found error.

  6. #6
    Alan B's Avatar
    Alan B is offline Super Moderator
    Join Date
    Jul 2007
    Location
    Toronto, Canada
    Posts
    1,386
    WHB Points this Month
    0.00
    WHB Points
    290.00
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Default

    Right, it's not generating a 404 error. It's just redirecting. Check your htaccess file as I already suggested.

+ Reply to Thread

Posting Permissions

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