Results 1 to 4 of 4

Thread: 404 Error Advice

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2009
    Posts
    968

    404 Error Advice

    Hi guys,

    Im thinking of setting my 404 error page to automatically redirect to my websites homepage using .htaccess, like so:

    Code:
    ErrorDocument 404/index.php
    Im wondering will this have any implications to google search results or would it have a negative impact in any way what so ever ?

    Thanks Guys !!
    Last edited by dunlop03; Jun 25th, 2011 at 08:02 AM.

  2. #2
    Addicted Member
    Join Date
    Feb 2010
    Location
    Damascus - Syria
    Posts
    145

    Re: 404 Error Advice

    Im wondering will this have any implications to google search results or would it have a negative impact in any way what so ever ?
    if I were google, this will not make any negative impact for me

    but actually I am not really sure

    regards

    Feras Jobeir

  3. #3
    Frenzied Member
    Join Date
    Apr 2009
    Location
    CA, USA
    Posts
    1,516

    Re: 404 Error Advice

    If you have pages that you've deliberately moved (like say you moved "page1.html" to "page2.html"), then it's best to use a 301 redirect so the search engine can update the URL in its index.

    But if it's a genuine 404 (page never existed), then it shouldn't be a problem for search engines. It could be annoying for your visitors though; I prefer a 404 page that clearly states the problem and maybe offers some help ("if you were expecting something here and didn't find it, email me").

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2009
    Posts
    968

    Re: 404 Error Advice

    Ive created a plugin and ive inserted a jquery script in the plugin file, when the user runs the plugin it looks for the file in the jquery script.

    The thing is, that this file is not in that location unless I need to put it there, its basically renamed untill I decide if the file is needed or not.

    Heres the script (domain & file are just examples):

    vb Code:
    1. <script type="text/javascript">
    2. $.noConflict();
    3. jQuery.ajax({
    4. type: "GET",
    5. url: "http://test.com/file.js",
    6. dataType: "script"
    7. });
    8. </script>

Posting Permissions

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



Click Here to Expand Forum to Full Width