Results 1 to 4 of 4

Thread: Ajax Includes Script use instead of iframe?

  1. #1
    Join Date
    Nov 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ajax Includes Script use instead of iframe?

    Is there a way to use the Ajax Includes Script so that if someone clicks a link, different pages show up in the designated area - like a iframe? I need to use something like an iframe, but don't want to use it because of seo reasons.

    Thanks!

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format for asking a question.

    Hmmm, unfortunately no, as the external content is dynamically and directly pasted to your page (similar to SSI), unlike an iframe.

    FYI the Ajax script isn't SEO friendly as far as the included content being viewable by search engines. This is because that content as mentioned is dynamically added to the page using the DOM, and physically isn't there (if you view source, that content isn't there).

  3. #3
    Join Date
    Nov 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks. Guess I will go back to the drawing board or figure a seo way of using a iframe.

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    One way to seo iframe content is to have invisible links on your page to the pages that can potentially be displayed in the iframe. For example:

    HTML Code:
    <a href="some.htm" style="display:none;">This Link is actually a page that I sometimes put in an iframe</a>
    or:

    HTML Code:
    <a href="some.htm" style="text-decoration:none;"> </a>
    Another way is to put normal visible code for these links inside the iframe tag's borders:

    HTML Code:
    <iframe src="some.htm"><a href="some.htm">Link</a></iframe>
    Browsers that show iframes don't show what is inside there but se's will see it and spider that page as a linked page.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

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