Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Business SEO Basics Better SEO Through Code Title Tag

Title tag and h1 generated by PHP for SEO

say, if i had 200 titles of post and its content stored in database then I only had 1 page which is called post.php?id=1. and i fetch the title by $_GET['id']

and inside the title tag i wrote php->echo_>title that refers that id from database

how will google see my page? is it a good example for SEO practices

2 Answers

Konrad Pilch
Konrad Pilch
2,435 Points

Im not 100% sure what you mean and how it works, but , from my experience, the title tag counts, so if you make it dynamic for te post you are on, like if you look now up , there your title in the title of the tab.

It will look automatically, i THINK for h1 tags.

I might be wrong, but tahts what i noticed from the websites i did.

im sorry, i've added some explanation there. thankyou for the answer anyway

thankyou for your effort

im sorry, i've added some explanation there.

Konrad Pilch
Konrad Pilch
2,435 Points

Make sure to delete



On each link otherwise it will break it. The best way would to put it into this kind of link