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

How do I enable Search Engine Optimisation (SEO)/friendly URLs/remove index.php

Discussion in 'XenForo Questions and Support' started by togermano, Oct 6, 2010.

  1. togermano

    togermano Member

  2. Mike

    Mike XenForo Developer Staff Member

    You have to enable friendly URLs in the options.
     
  3. PGU

    PGU Member

    It is under Admin CP > Options > Basic Board Information > Use Full Friendly URLs
     
  4. zkaraca

    zkaraca Member

    After a new install, is it sufficient to tick this option for Friendly Urls? How do i know if i have them turned on? I did not change anything else like the htaccess. Kinda confused right now :confused:
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

  6. Brogan

    Brogan XenForo Moderator Staff Member

    Just tick the checkbox, the software does the rest.

    You will know it's turned on as the index.php? will no longer appear in the URL.
     
  7. erich37

    erich37 Well-Known Member

    when going into the ACP > Home > Options > Search Engine Optimisation (SEO)

    it shows the following text besides the checkbox:
    -----------------------
    If you enable this option, the links generated by the system will not include "index.php?". However, to enable this, mod_rewrite must be available and an appropriate .htaccess file must be in place.
    ------------------------

    Question:
    - how do I check if I do have "mod-rewrite" available ?
    - which .htaccess file are you talking about ? the one file which came with the XenForo-software in the .zip-File ?

    Not sure what is the best setting for SEO ?
    Currently both checkboxes are being checked as per default.
     
  8. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    mod_rewrite is available on most Apache servers. The .htaccess file in question is in the upload folder of the xF zip file. Just enable the option in the Admin CP and upload that .htaccess file. You will know right away if it's working or not.
     
    erich37 likes this.
  9. Brogan

    Brogan XenForo Moderator Staff Member

  10. erich37

    erich37 Well-Known Member

    Brogan,
    is there any other way to see if this SEO is turned on ?
    I have removed the "index.php" from the URL as you suggested of how to do this in this thread.

    So as I have removed this "index.php" from the URL, I am not sure if I have enabled SEO properly or not ?
     
  11. Brogan

    Brogan XenForo Moderator Staff Member

    What does your forum URL look like?
    If it doesn't have index.php in it then SEO is turned on.
     
    erich37 likes this.
  12. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    erich37 likes this.
  13. Carlos

    Carlos Well-Known Member

    Don't sweat it, I just turned it on and I didn't even have to edit anything.
    You too. Don't sweat it.
     

Share This Page