Changed forum directory to root and now problems

toejam

Member
I moved all the files inside /community to the root /public_html

I changed the acp, basic board setting, board url from .com/community to .com as the forum home page.
The admin pages are working fine but the site itself is showing the home page but all the pages are giving a 404 page not found. I am on a shared plan through hostgator and forget about trying to get help from them.
Any help would be grateful.
 
If it wasnt in the community file then no. There is a .htaccess inside the root directory that was moved from /community
 
Its there and it was hidden. So there is a hidden .htaccess and a .htaccess.txt file that has differnt code inside it.
 
Just use the .htaccess file as that is the one which has been in use for the site.

However, if there are any custom rewrite rules in place, that may account for the 404's.

You can check if it's all working as expected by temporarily renaming the .htaccess file and disabling Friendly URLs in the ACP.
 
I disabling Friendly URLs in the ACP and it fixed the problem. Can this be resolved so it can still use Friendly URLs?
 
Then there must be another issue on the server, which doesn't really make sense if all you did was move the files from a sub directory to the root.

The requirements for FURLs are listed here: https://xenforo.com/help/friendly-urls/

You may need to get your sysadmin or host involved.
 
I submitted a ticket yesterday and still havent gotten any response. Thanks for helping me, at least the site is working again.
 
The text inside the .htaccess file and the text inside the .htaccess.txt were not the same. I changed the .htaccess file to match the text in this link and it worked. https://xenforo.com/community/htaccess.txt

I changed the .htaccess.txt to match the link above and it didnt do anything. Iam not sure why there are two files that have the same information in them in the same directory with different names.

Thanks Brogan for helping me.
 
Back
Top Bottom