: 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
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?
More posts by @Yeniel560
1 Comments
Sorted by latest first Latest Oldest Best
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.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.