i would like to implement a dynamic meta description.
So the main forum should have a general meta description of the forum.
All other Forums should have a meta description like:
Code: Select all
<meta name="description" content="{FORUM_NAME} - {FORUM_DESC}" />
Code: Select all
<meta name="description" content="{FORUM_NAME} - {FORUM_DESC} - {SUBFORUM_NAME} - {SUBFORUM_DESC}" />
Code: Select all
<meta name="description" content="{FORUM_NAME} - {FORUM_DESC} - {SUBFORUM_NAME} - {SUBFORUM_DESC} - {TOPIC_TITLE}" />
Does anybody of you know how i can set a different meta description for the main forum page and how i put in a condition for the three other causes.
At the moment my solution looks like this:
Code: Select all
<meta name="description" content="{FORUM_NAME} - {FORUM_DESC} - {TOPIC_TITLE}" />
[url]view-source:https://www.gis-netzwerk.com/forum/view ... 0&p=17#p17[/url]
I tried to implement a script but obviously im a html noob
Kind regards.