How do i add meta tags?

colinsp

Colin
Joined
Sep 5, 2007
Messages
2,316
You add them in exactly the same way as you would in your html files in the head section that you have within your php code.
 
Joined
Jun 18, 2020
Messages
1
Open the HTML file and locate the <head> section near the top of the file. Depending on how you created the page, there may already be a title and some other meta content. The title is between HTML <title></title> tags. The description and keywords are entered in <meta> tags. For example, in the code below, we have meta name=”description” and meta name=”keywords”. The meta http-equiv tag specifies the character encoding and was automatically added by my HTML editor when I created the page.
 
Joined
Jun 15, 2020
Messages
10
Hello!
My question is how do add meta tags to PHP files? Please help!
Your meta tags should be a part of a template for PHP based websites.

just remember to add propper tags in <head> section and include proper DB requests to make things work.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Members online

Top