1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Text within [spoiler] tags

Discussion in 'XenForo Questions and Support' started by Rudy, Feb 11, 2016.

  1. Rudy

    Rudy Well-Known Member

    Not a major issue, but I'm curious to know if the text within [ spoiler ] tags will show up in search engine indexing.

    For SEO purposes, I do not want to duplicate a page of content. However, since I use a bridge from WordPress to XF, I could rewrite that plugin to automatically insert the [ Spoiler ] tags before posting to the forum. The only reason is to make it a little more convenient for forum members to read an entire article, vs. hopping to our main site then back to the forum to comment.

    If the text inside the spoiler does show up, then I may use some alternate method. I'm just curious what happens with the text.
    rafass likes this.
  2. Chris D

    Chris D XenForo Developer Staff Member


    The text is there, in the HTML source, so search crawlers will see it and index it. It's only CSS that makes it invisible to humans.
    rafass and Rudy like this.
  3. Rudy

    Rudy Well-Known Member

    ...nevermind, back to the drawing board with my idea...
    Last edited: Feb 11, 2016
  4. EQnoble

    EQnoble Well-Known Member

    I have built my own custom bbcode that works around this issue ( dupe content ) and even though it doesn't involve data from WP it essentially stores that "quote/spoiler" outside of the page and loads it when clicked on.

    It may or may not be a place to start but I figured I would just throw a direction out there for you.
    gldtn and Rudy like this.

Share This Page