First time users - forum url and sub domain
Just set up a forum using an app with our hosting - 123 reg. We thought we had set it up so it will show as mywebpage.co.uk/forum.
However nothing comes up on the internet when we put that in and to be able to see the forum when not logged in we have to type in a long url - http://mywebpage.co.uk/websites/123reg/LinuxPackage25/th/e_/ta/mywebpage.co.uk/public_html/Forum/
Looked through the forum under subdomain and custom domain and we can't seem to find the option on the dashboard for custom urls or cnames etc.
Any help would be appreciated - its our first time setting up a web page. Thanks
Best Answer
-
Shadowdare MVP
If your Vanilla installation is within a directory under public_html called
forum
, you can simply changeRewriteBase /
toRewriteBase /forum
. You can always change it back if it doesn't work.The URL you type to get to any page in your public_html directory, usually shouldn't have public_html in the URL. The web server should have public_html set as the root of your domain. This is something that your web host would have to take a look at.
Also, if you find that code you post on these forums gets messed up, please use the HTML pre tag to preserve formatting.
Add Pages to Vanilla with the Basic Pages app
8
Answers
you need to make sure the htaccess file for Vanilla is correct
you may need to specify the forum root as /forum instead of /
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Hi, thanks for the quick reply. How do I check that the htaccess file is correct?
Edit the .htaccess file and change
RewriteBase /
toRewriteBase /forum
.Add Pages to Vanilla with the Basic Pages app
At the moment that file says -
What should it be - do I just change the line #RewriteBase to #RewriteBase/forum
Does it make a difference that in the directory theres a folder called Forum with all the files in and then theres a seperate folder with the name of the website then public_html then Forum but the folders are empty.
We did try to make a subdomain could it be that?
Thanks
If your Vanilla installation is within a directory under public_html called
forum
, you can simply changeRewriteBase /
toRewriteBase /forum
. You can always change it back if it doesn't work.The URL you type to get to any page in your public_html directory, usually shouldn't have public_html in the URL. The web server should have public_html set as the root of your domain. This is something that your web host would have to take a look at.
Also, if you find that code you post on these forums gets messed up, please use the HTML pre tag to preserve formatting.
Add Pages to Vanilla with the Basic Pages app
Thank you so much everyone. Its worked and the forum is on the url it should be.
does this solve the big long address in your email to confirm your address ? don't want to see 123-reg