Results 1 to 6 of 6

How to stop all pages from having the same title?

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 ...

  1. #1
    MTD
    MTD is offline
    Senior Member
    Real Name
    Mike
    Join Date
    Apr 2008
    Posts
    141
    Liked
    0 times

    How to stop all pages from having the same title?

    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.

  2. #2
    MTD
    MTD is offline
    Senior Member
    Real Name
    Mike
    Join Date
    Apr 2008
    Posts
    141
    Liked
    0 times
    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.

  3. #3
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    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

  4. #4
    vBSEO Staff Marco Mamdouh's Avatar
    Real Name
    Marco Mamdouh
    Join Date
    May 2010
    Location
    Egypt
    Posts
    3,143
    Liked
    110 times
    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 :
    PHP Code:
    <title>{vb:raw foruminfo.title_clean}</title
    Replace it with :
    PHP Code:
    <title>{vb:raw foruminfo.title_clean} <vb:if condition="$pagenumber > 1">- {vb:rawphrase page_x, {vb:raw pagenumber}}</vb:if></title

  5. #5
    MTD
    MTD is offline
    Senior Member
    Real Name
    Mike
    Join Date
    Apr 2008
    Posts
    141
    Liked
    0 times
    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:

    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>
    Is this part "vb:rawphrase page_x" really necessary? Does that execute to say "Page"? If so, would it be better just to replace:

    "vb:rawphrase page_x"

    -with-

    "Page"

    So there is one less query to execute?

  6. #6
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    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.

Similar Threads

  1. How to stop thread title from being repeated in ever post..?
    By MarkoP in forum General Discussion
    Replies: 6
    Last Post: 08-31-2009, 08:25 AM
  2. Replies: 4
    Last Post: 04-08-2008, 06:52 PM
  3. Error Pages Stop Functioning
    By X1C3W5 in forum Troubleshooting
    Replies: 3
    Last Post: 03-04-2007, 06:45 AM
  4. Will the sitemap stop google indexing other pages
    By spondishy in forum General Discussion
    Replies: 1
    Last Post: 12-08-2006, 08:31 AM
  5. Pages stop opening
    By ang2el in forum Troubleshooting
    Replies: 6
    Last Post: 10-08-2006, 03:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •