SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2006
    Posts
    43
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    show content on the fly

    Hello,
    thanks for reading my post.


    i have a job site where i want to user if a job is expired
    i.e. want to show a warning

    but i don't want search engines to crawl/index this warning message

    so i think showing content using javascirpt/jquery is the solution.

    i am using wordpress and currently i am showing it using normal HTML

    but how can i show it using jquery so that search engines can't crawl?

  2. #2
    SitePoint Zealot Gar onn's Avatar
    Join Date
    Feb 2011
    Location
    Belgium
    Posts
    130
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    if this page is a staric page:
    Code:
    User-agent: *
    Disallow: /error_page/
    in your robot.txt

    If not try googling for a plugin that allows to add a 'noindex' meta tag (or write it yourselves)
    HTML Code:
    <META NAME="ROBOTS" CONTENT="NOINDEX">
    in the head

  3. #3
    SitePoint Enthusiast
    Join Date
    Nov 2006
    Posts
    43
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i am sorry but i think i didn't explain you perfectly.

    i want to impliment a feature which i seen in "referrer detector" plugin for wordpress

    if you want to see how it works,
    please search in google for "referrer detector"
    and visit his page, it shows a welcome message at at top of the post

    i want to impliment such feature,
    even though its from php, it doesn't load with page, i think it loads after end of the page.

    i want to impliment such feature
    i.e. i want to display a message to visitor if a job is expired via javascript/ajax/jquery after page is loaded.

    thanks


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
  •