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

How to SEO with own route?

Discussion in 'XenForo Development Discussions' started by timothy259856, Sep 30, 2014.

  1. timothy259856

    timothy259856 Active Member

    Hello guys.

    I have a question a bout SEO with our route. For example, I've create a page which contain many video, I create a route for that page like mydomain.com/videos

    So how to tell Google that they should go to the mydomain.com/videos to read more content?

    Any relation to the sitemap?

    Thank you!
  2. Chris D

    Chris D XenForo Developer Staff Member

    When you say you've created a page, do you mean a page node? And "our route" do you mean you created a Route Filter to change, e.g. pages/videos/ to videos/ ?

    Or is this a page that you have created as a new controller action in an add-on and a new route controller?
    timothy259856 likes this.
  3. timothy259856

    timothy259856 Active Member

    Sorry for unclear content, yes, I created new controller action of my addon and new route controller :) I made it about 10days but don't see Google Bot get into.
  4. Chris D

    Chris D XenForo Developer Staff Member

    In that case, yes, just adding its URL to the sitemap should be sufficient.


    If it was a page node, then these are added to the sitemap by default and uses the canonical form of the URL.
    timothy259856 likes this.
  5. Hoffi

    Hoffi Well-Known Member

    And wait a bit more than 10 days. ;) Sometimes Google need more than a month.
    timothy259856 likes this.
  6. timothy259856

    timothy259856 Active Member

    Yes, maybe, but I think I miss some steps :)

    Where is the Extra sitemap URLs come from? I use 1.3.1 :)

    Is this https://xenforo.com/community/resources/sitemap-for-xenforo.67/ ??
    Last edited: Sep 30, 2014
  7. Brogan

    Brogan XenForo Moderator Staff Member

    It's a 1.4 feature.
    timothy259856 likes this.
  8. timothy259856

    timothy259856 Active Member

    Oops, look like I need to upgrade my site :( Any others way?
  9. Chris D

    Chris D XenForo Developer Staff Member

    Definitely upgrade to 1.4.1.
    timothy259856 likes this.
  10. timothy259856

    timothy259856 Active Member

    Ok thank for your reply. Got it :)

Share This Page