The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Mobile theme and wrong title tag
Hello to everyone. Since google changed to mobile indexing first I am facing the following issue:
I have the mobile theme enabled for old/new browsers and apparently the default VB4 mobile theme has the same <title></title> tag for every single of our threads. So now, since google crawls mainly the mobile theme, our individual thread SEO has gone down the drain. Why does the VB4 default mobile theme display the same title tag for every single thread, and how can we correct this? All other non-mobile themes, are perfectly fine. Thanks! |
#2
|
|||
|
|||
If you look at the SHOWTHREAD template of the mobile style, there should be something like this:
Code:
<title>{vb:raw vboptions.bbtitle}</title> Code:
<title>{vb:raw thread.prefix_plain_html} {vb:raw thread.title}<vb:if condition="$pagenumber > '1'"> - {vb:rawphrase page_x, {vb:raw pagenumber}}</vb:if></title> |
#3
|
|||
|
|||
That seems to have worked, thank you so much Dave!
--------------- Added [DATE]1574211009[/DATE] at [TIME]1574211009[/TIME] --------------- Update: seems to have worked only for thread titles. How do we do the same for forum category and sub-forum titles? Thanks! |
#4
|
|||
|
|||
If you look at the template of those pages and copy the <title> line to the mobile template then it should fix that as well. (forumdisplay template)
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|