Mobile app version of vmapp.org
Login or Join
Yeniel560

: Will search engines still see the meta description of my site if I use a php variable for it? I am following the procedure described on this page for including a common header on every page

@Yeniel560

Posted in: #MetaDescription #Php #SearchEngines

I am following the procedure described on this page for including a common header on every page of a website, which uses PHP.

After describing how to include one page in another using PHP, the author then describes how to deal with information that might vary from page to page.

I have included an image of the relevant section below:





My question is, if I set up my website this way, will Google (or other search engines) see the meta description of the page index.php as <?php echo $page_description: ?>, as Description of this page, or just not see it at all?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Yeniel560

1 Comments

Sorted by latest first Latest Oldest Best

 

@Kristi941

Search engines, just like every other user, only see the output of your scripts. Not the source code.

FYI, meta tags do not affect your rankings.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme