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

XF 1.5 Problem with the route changes.

Discussion in 'XenForo Questions and Support' started by dondomainer, Aug 20, 2016.

  1. dondomainer

    dondomainer Active Member

    I followed the specifications but i can not change any routes after / :cautious:

    and new route do not disable the old routes, so i have two routes

    /register <-- orginal route work

    /registro <--new route route work

    is this is ok ?!..
  2. Mike

    Mike XenForo Developer Staff Member

    This is ok and expected. It primarily changes the URLs that are generated by the system.
    dondomainer likes this.
  3. dondomainer

    dondomainer Active Member

    Thanks. for your reply. but them why example :


    redirect to new route /categorias/title.22


    redirect to new route /miembros/

    and continues, the same thing should happen with

    /register and /registro

    Best regards
    Last edited: Aug 20, 2016
  4. dondomainer

    dondomainer Active Member

    Plz, nobody can help me.
  5. Chris D

    Chris D XenForo Developer Staff Member

    We don't automatically canonicalize all URLs.

    As a result, some locations where you apply route filters, you may find that you can still visit the original URL. The register route is a good example of this.

    For the more crucial public facing URLs, we do canonicalize the URLs to ensure the old URL can't be visited. Forums, categories, threads are all examples of this.

    On the whole, this really shouldn't have a negative impact on anything. If this poses a major issue for you, you can just implement a server side 301 redirect.
    dondomainer likes this.
  6. Mike

    Mike XenForo Developer Staff Member

    On a side note, I saw your initial reply (which was just acknowledging my response) and never saw that you edited it to include questions a while after initially posting. If you have additional questions, it's generally worth making sure you ask them in an new message to ensure that they can be seen.
    dondomainer likes this.
  7. dondomainer

    dondomainer Active Member

    Thanks for the clarification, we just want to be sure to do everything right

Share This Page