: Common header and footer in HTML, should I use JavaScript, PHP or other for SEO? Firstly, I am aware this question is similar to others asked in the paste, however I'm specifically asking about
Firstly, I am aware this question is similar to others asked in the paste, however I'm specifically asking about the reliability of SEO in this question (also many of the other questions are outdated).
I have developed a new website in HTML, where the header and footer are the same on every page (obviously).
I'm currently using jQuery to inject them into every page using:
$("#loadHeader").load("header.html");
$("#loadFooter").load("footer.html");
This works, however as it's client side I'm assuming search engines won't see any of the content stored in header.html, therefore SEO will not work for any of the headers/footers, on any of the pages?
If I use PHP to inject the headers/footers, will SEO work as if they were included directly in the HTML?
If not, are there any other ways around this issue?
More posts by @Nimeshi995
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.