If you have a blog, you can configure meta tags that help you perform better in search results on Google, Bing or another search engine.
We will use the condition IF and :URL-X: tags from wapkiz. The SEO meta tags we will insert in the Meta Header
- First, if your post link looks like this "/page-post/%id%/%lname%.html"
Paste this code:
(*if :url-0:=post) [*blog]to=:url-1:|| <title>%title%</title> <meta name="title" content="%title%"> <meta name="description" content="%text-20%"> [/blog](/if)
Where the value of :url-0: = post can vary depending on the name of the blog page, if it is for example /page-forum/%id%/%lname%.html the value will be forum.
- And if your blog link is /page-post.html?to-id=%id% just paste this code:
(*if :url-0:=post) [*blog]to=:to-id:|| <title>%title%</title> <meta name="title" content="%title%"> <meta name="description" content="%text-20%"> [/blog] (/if)
Note: Meta description content must be 20 words long so your characters do not exceed 160 what Google recommends.
Remove asterisks in codes.
0 Comments
Leave a Reply