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

HELP - My forum is broken!

Discussion in 'XenForo Questions and Support' started by ddmmh, Dec 31, 2010.

  1. ddmmh

    ddmmh Well-Known Member

    Hi guys,

    Need some help. Ive somehow just killed my forum.

    My forum was currently in the root of mmazone.com.au

    I moved this to /community subdirectory and changed the settings in the basic board information(no trailing slash)

    As soon as I moved it the only part of the forums that works is the forums themselves. Everything else produces a 404 error - Not Found.

    I decided to move the forum back to the root to see if it had something to do with the sub-directory and still 404 not found for everything except the forums.

    I removed the .htaccess thinking that may be it... did not help at all. I moved the forum back to /community and changed the address in basic board settings to relfect this.

    Still having the 404 errors. I have no idea if i did something wrong or if this is something else?

    Ive done this before and it was as simple as chaing the board URL and moving the files.

    Can someone please shed some light? I planned to go live today and this is the worst start so far argh!

    http://www.mmazone.com.au/community - There you will see the forums there but anything that is clicked on has a 404 not found error!! HELP!

    Here is my current setup.

    XF.png
     
  2. Dan

    Dan Well-Known Member

    Anything in your server error log?
     
  3. Brogan

    Brogan XenForo Moderator Staff Member

    Could this have something to do with your .htaccess which seems to be removing www from the URL?
     
  4. ddmmh

    ddmmh Well-Known Member

    Nope no errors at all!
     
  5. ddmmh

    ddmmh Well-Known Member

    I dont think so as I removed the .htaccess as I thought it might be that also. Just removed it again, ill wait 5 mins and try again.
     
  6. ddmmh

    ddmmh Well-Known Member

    Tried in another browser thats definatley not caching my site and yeah it wasnt the .htaccess :(
     
  7. Dan

    Dan Well-Known Member

    Try disabling friendly URL's? This may help rule out htaccess problems
     
  8. ddmmh

    ddmmh Well-Known Member

    Wow that worked straight away. Not sure how this is when ive removed the htaccess? I really really dont want to use non-friendly URL's lol. Im not sure what this did exactly? does the htaccess.txt file in the XF directory do anything also?
     
  9. Dan

    Dan Well-Known Member

    When friendly url's are enabled it is looking for your htaccess. Since you removed it....problems
     
  10. ddmmh

    ddmmh Well-Known Member

    AH i see, when I moved my forum to the /community directory i did add a 301 re-direct to the htaccess.

    So basically I can enable the friendly url options but I need to fix my htaccess?
     
  11. Dan

    Dan Well-Known Member

    yes
     
  12. Brogan

    Brogan XenForo Moderator Staff Member

    Yes, as go blues said, if friendly URLs are enabled then you must keep the rewrite rules in your .htaccess.
    Specifically this content:
    Code:
    <IfModule mod_rewrite.c>
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^.*$ - [NC,L]
    RewriteRule ^(data|js|styles|install) - [NC,L]
    RewriteRule ^.*$ index.php [NC,L]
    </IfModule>
    
     
  13. ddmmh

    ddmmh Well-Known Member

    That is in my htaccess I just think when I moved the 301 re-direct to the top it stuffed something up.

    Thanks to both you guys for the help, very much appreciated.
     
  14. Dan

    Dan Well-Known Member

    Good luck with your Grand Opening!
     
    ddmmh likes this.
  15. TNCclubman

    TNCclubman Well-Known Member

    the xenforo family strikes again. Good to see everyone helping out, love it!
     
  16. ddmmh

    ddmmh Well-Known Member

    I second that, the support on this forum is unreal.
     
  17. Dan

    Dan Well-Known Member

    Brings the excitement back to learning when you aren't afraid to ask questions.
     
    Trombones13 and ddmmh like this.
  18. TNCclubman

    TNCclubman Well-Known Member

    Ive yet to see someone jump on someone for asking even the basic of questions. I know the forum is new, but it really is a team effort here.
     
    Trombones13, Dean, Edrondol and 2 others like this.
  19. Edrondol

    Edrondol Well-Known Member

    I think anyone that does that would be derided mercilessly. About the closest I've seen is the Xencyclopedia Brogan coming in the second post and putting a link to an identical topic. And he's always very nice about it.
     
    ddmmh likes this.
  20. Dan

    Dan Well-Known Member

    LOL
     

Share This Page