/    Sign up×
Community /Pin to ProfileBookmark

Dynamically Generated Meta Tags

If I put all my meta tags information in a php include file, and included into each of my pages. Would search engines still be able to see them?

to post a comment
PHP

5 Comments(s)

Copy linkTweet thisAlerts:
@ratcatemeAug 16.2008 — yea no problems with that

Scott.
Copy linkTweet thisAlerts:
@NogDogAug 16.2008 — Search engines access your site via HTTP requests just like browsers do, so they see just what a browser would see: the [X]HTML output of the page, not the PHP source code.
Copy linkTweet thisAlerts:
@DragonkaiauthorAug 17.2008 — So you're saying that search engines won't be able to see my meta tags that are generated using an php include?
Copy linkTweet thisAlerts:
@NogDogAug 17.2008 — No, I'm saying the opposite. They will see the exact same thing your browser sees. If you do a "view source" from your browser after loading your PHP page and you see the meta tag, then the search engines will see it, too.
[list=1]
  • [*]browser OR search engine requests PHP page via HTTP

  • [*]server interprets HTTP request and invokes PHP parser for selected PHP file

  • [*]PHP processes PHP file, sending all standard output back to the web server

  • [*]Web server sends the output back to the client (browser or search engine)

  • [*]client reads that output and does whatever it wants to with it

  • [/list]
    Copy linkTweet thisAlerts:
    @DragonkaiauthorAug 18.2008 — Ah cool thanks.
    ×

    Success!

    Help @Dragonkai spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.18,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @AriseFacilitySolutions09,
    tipped: article
    amount: 1000 SATS,

    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,
    )...