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

why did you *not* use friendly seo urls?

Discussion in 'General XenForo Discussion and Feedback' started by Marcus, Oct 11, 2011.

  1. Marcus

    Marcus Well-Known Member

    I am planning to migrate to xf 1.1 very soon and I am tempted to enable friendly urls only in the way that the title is not part of the url:

    /forum/thread/435345/
    /forum/forums/1234/

    What are your reasons to not put in the page title within the url? Here are some of my ideas:
    - once you switch the title later, all the older title urls would be different
    - harder to find and replace, manipulate existing urls as you have to rewrite the title, too.
    - possible very minimal effect on page generation time
    - cleaner url
     
  2. ragtek

    ragtek Guest

    erm=> erm.png
     
    bambua and Brogan like this.
  3. Forsaken

    Forsaken Well-Known Member

    Just so you know, the only part that matters in the URL is the ID.

    You can change all the words in the title and leave the ID, and it'll work fine.

    http://xenforo.com/community/threads/random-long-title-for-example.21269/
    http://xenforo.com/community/threads/qwerty.21269/
    http://xenforo.com/community/threads/another-example-title.21269/
     
    jmurrayhead likes this.
  4. Kier

    Kier XenForo Developer Staff Member

    Thread titles hardly ever change.
    No you don't, just use the ID
    So minimal as to be completely inconsequential
    ... which is also significantly less useful to any human seeing the URL and wondering what its content might be before the click it.
     
    Forsaken likes this.
  5. Rho Delta

    Rho Delta Well-Known Member

    what do you have to do to the .htaccess file to get this to work?
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    The supplied .htaccess file needs no changes made to it on a standard installation.
    The server must support mod_rewrite though.
     
  7. Rho Delta

    Rho Delta Well-Known Member

    Just turned it on and now every forum link does this... help?
    Screen shot 2011-10-11 at 10.06.34 AM.png
     

Share This Page