Techie Warrior Nerds, I Need Help :)

2 replies
Hey Warriors,

How do you go about having a non-existent post or page on your site redirect to a 404 error page instead of the home page. For example, if someone types in a URL to your site that doesn't exist.

Right now if you go to my site and type in a random url that doesn't exist,then the site redirects to the homepage. However, I think that's causing Google to think a bunch of non-existent links/urls point to my homepage because I'm seeing weird crawl errors in google webmaster tools as well as some url's for my sites showing up in Google's index that shouldn't even be actual URL's.

I just recently took a huge hit in the rankings, and I'm not sure if this is why or not, but I'd like to get it fixed either way.

Thanks to anyone who can help.
Derek
#nerds #techie #warrior
  • Profile picture of the author mywebwork
    Derek

    You're new here so let me extend a couple of tips:

    1 - This question really belongs in the Programming forum, not the main one - you will get more of an appropriate audience there.

    2- Insulting the same people who may be able to solve your problem in your thread title is never an intelligent plan.


    Otherwise check out these links:

    How to redirect your 404 error to a custom page - Htaccess Basics
    Custom 404 Error Page :: Using 301 redirects in Apache
    Custom Error Responses - Apache HTTP Server

    Bill
    {{ DiscussionBoard.errors[4495067].message }}
    • Profile picture of the author Derek Blandford
      Hi Bill,

      Thanks for responding. I guess I should of taken more time to pick out a more appropriate forum/thread.

      As for the title, I was being playful, not mean or insulting. Thus the "smiley".

      The title wasn't meant to be offensive or insulting to anyone. If it was, then I apologize.

      I just know there are people here who are much more adept at dealing with the technical side of things than I am. I consider myself a "geek", "a nerd", or whatever else you want to call it. Nothing wrong with that.

      Just looking for an intelligent mind to help me out. I know there's tons of them here.

      Derek
      {{ DiscussionBoard.errors[4495175].message }}

Trending Topics