When you click on a given forum page 2, 3, and so on all have the same meta title. How can you change it to make them unique? I would like to add " - Page 2" or something onto the end.
This is a discussion on How to stop all pages from having the same title? within the General Discussion forums, part of the vBulletin SEO Discussion category; When you click on a given forum page 2, 3, and so on all have the same meta title. How ...
When you click on a given forum page 2, 3, and so on all have the same meta title. How can you change it to make them unique? I would like to add " - Page 2" or something onto the end.
No one can help?? This is what I have been recommended to do:
you have duplicate titles on most of your forum threads. The title for page 2 is exactly the same as page 1. I'd add " - Page 2" or something to the titles on the additional pages to ensure each one is unique.
vb removed this in vb4 for some reason. I don't have the template tags handy, but yes, you'll want to do as above and add in the page number to urls
Brian Cummiskey / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
vBulletin already add the pagination title to showthread pages for example : vBulletin Community Forum
So you I think you mean forumdisplay pages ? If so then you can make this modification in your forumdisplay template :
Find :
Replace it with :PHP Code:<title>{vb:raw foruminfo.title_clean}</title>
PHP Code:<title>{vb:raw foruminfo.title_clean} <vb:if condition="$pagenumber > 1">- {vb:rawphrase page_x, {vb:raw pagenumber}}</vb:if></title>
Marco Mamdouh Fahem / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
First of all, I know this is an old thread but see I forgot to thank you Brian and Marco... so thanks!
About this same issue, I have another question. I'm using the recommended code:
Is this part "vb:rawphrase page_x" really necessary? Does that execute to say "Page"? If so, would it be better just to replace: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>
"vb:rawphrase page_x"
-with-
"Page"
So there is one less query to execute?
Yes, but then you need to find a way to get 'x' to print on it's own anyway, so there's no savings to hard-coding it.
Brian Cummiskey / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!