More Descriptive SEO Titles

Every web page has a title tag in the head element of the HTML. It lets everybody know what the web page is about including Google. And even when a web page is shared on social media like Facebook. Facebook adds the title into the Facebook post. So it's important that those titles accurately reflect what the web page is about.

Today we are going to make sure that title is as descriptive and accurate as possible. Because right now the title is the same on every blog, category, and home page.

A title can have up to 3 parts separated by pipes. The first part is the name of the website. The second part will be the category of the topic. The third part will be the title of the blog.

So we will 2 variables for each route. One for the category and one for the blog title. Then we will attach it to Klien's $service variable. Then we can use those variables in the header view.

Now I can use the data I passed in for the category and title using $this keyword. So the title tag looks like this.

<title>Zach The Web Guy | <?= $this->category['title'] ?> | <?= $this->title ?></title>

Now when I share my blog I have great titles that let the human and bot readers understand what the web page is about. Now the blog not only looks professional but has improved SEO performance.

Comments

Can you promote these videos on your website? Let me know your quote. Please watch these videos fully to see if they are suitable for promotion:

https://youtu.be/sfLb3b7DDV8
https://youtu.be/PqGoItWtV4g
https://youtu.be/RdLL5qGviC4
https://youtu.be/nc6UzjV1Gsg
https://youtu.be/zYZQQ2HOlcc
https://youtu.be/eFM5XfT5v5U
https://youtu.be/tc_Ub2vtEYE
https://youtu.be/sZSd5EJdcSY
https://youtu.be/Rf75Z-WpN4Q
https://youtu.be/KwojztmyaZ4
https://youtu.be/NPvp9SUNkws
https://youtu.be/PDPslvkQyPk
https://youtu.be/sZkjyXFvrfA
https://youtu.be/-qJWb-Vtbhs
https://youtu.be/sX13FdcykDo

sildenafil 50mg drug - <a href="https://bestusasild.com/">viagra 50mg cost</a> generic sildenafil 50mg

buy prednisolone generic - <a href="https://gabapentinx.store/">buy gabapentin 600mg for sale</a> order cialis 5mg pill

augmentin 375mg ca - <a href="https://tadalcialis.store/">cialis overnight shipping</a> tadalafil 40mg canada

buy sulfamethoxazole generic - <a href="https://xsildenafil.store/">buy viagra 150mg generic</a> viagra 150mg cost

cephalexin price - <a href="https://clindamycin.store/">cleocin 300mg us</a> buy erythromycin online cheap

buy fildena generic - <a href="https://stromectolx.store/">stromectol rx</a> ivermectin tablets uk