Submit Your Article Forum Rules

Results 1 to 2 of 2

Thread: Best way to handle redirect if no javascript

  1. #1
    Junior Member
    Join Date
    Dec 2003
    Posts
    22

    Best way to handle redirect if no javascript

    My site uses a lot of javascript, so I like to test for it's presence upfront:

    Right now I place this at the bottom:


    <NOSCRIPT>
    <META HTTP-EQUIV="refresh" content="0;URL=http://www.hotel-hunter.com/no_javascript_found.htm">
    </NOSCRIPT>

    The page is : http://www.hotel-hunter.com

    One of the SEO analysing tools is flagging this as
    "Found web page with a redirect.
    The most search engines do not index web pages with a redirect to a other web page."

    If this is a anathema to the search engines, I could just included the entire content of the page. I was just trying to write more modular multi-purpose code.

  2. #2
    Senior Member khurramali's Avatar
    Join Date
    Aug 2005
    Location
    Karachi Pakistan
    Posts
    606

    Good Reasons.

    SEO SILVER RULE, Store JAVA script code in an external file.

    Goes same for CSS. use External.

    you would have a good reason to hide your source code.

Similar Threads

  1. Best way to handle redirect/landing pages ?
    By bobitza in forum Search Engine Optimization Forum
    Replies: 7
    Last Post: 06-29-2009, 11:25 AM
  2. Can javascript redirect harm website
    By Ann in forum Search Engine Optimization Forum
    Replies: 28
    Last Post: 10-08-2007, 01:21 AM
  3. Conditional Redirect with Javascript..
    By steve0 in forum Web Programming Discussion Forum
    Replies: 9
    Last Post: 07-26-2006, 08:37 PM
  4. how to handle no longer available pages with a 301 redirect
    By wyattea in forum Search Engine Optimization Forum
    Replies: 1
    Last Post: 07-24-2005, 12:26 AM
  5. Does Javascript redirect affect yahoo ranking?
    By reddy in forum Yahoo! Discussion Forum
    Replies: 1
    Last Post: 07-12-2004, 11:43 AM

Posting Permissions

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