1. REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Duplicate title tags for showcase items and discussion threads

Discussion in 'Showcase Support' started by TomChuck, Jan 16, 2017.

  1. TomChuck

    TomChuck New Member Showcase

    Is there an easy way to resolve the duplicate title errors I'm getting in webmaster tools where the thread created from a showcase item has the same title? See screenshot. Ideally, I could append the title of the thread with - 'discussion'. Thanks.
     

    Attached Files:

  2. Bob

    Bob Developer Staff Member

    You can accomplish this via Template edit.

    Template: nflj_showcase_thread_view_header

    ADD this template code to the very top of the template:
    HTML:
    <xen:title>{xen:helper showcasePrefix, $scItem, escaped}{$scItem.item_name} | Discussion {xen:helper pagenumber, $page}</xen:title>
    so it looks like this...

    Selection_797.png


    Selection_798.png


    Includes appending the PAGE for multipage discussion threads.

    Selection_799.png
     
  3. Bob

    Bob Developer Staff Member

    NOTE: i've added this to core (so during the next update, it will be included for you so you won't have to apply it again).
     
    TomChuck likes this.
  4. TomChuck

    TomChuck New Member Showcase

    Great. Works perfect. Thank you.
     
    Bob likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.