• Support
  • Install forum before in domain.com and then move it in /forum/ folder?

Hi,
I can before install forum in root (mydomain.com), run the community, users, posts etc and then, in future, move all forum in /forum folder? I'll have problems with cookies or other settings?

Because for now I don't know how to do homepage (I would like show posts, images, etc) but for now I want only run community. In this way mydomain.com will not be empty and when users arrive on my site they sees the community. Then in the future, if and when I am more experienced, I will also make a dynamic homepage.

Thank you in advance,
Debora

    • [deleted]

    debynory I can before install forum in root (mydomain.com), run the community, users, posts etc and then, in future, move all forum in /forum folder? I'll have problems with cookies or other settings?

    Yes, you can. There some small settings changes - mostly config.php but this is certainly workable - and you'd of course need to clear the cache post move. More to the point though - how will you handle 301 redirects once Google is crawling any content ? This is likely to cause you problems as it would potentially mean if you used a wildcard redirect, then no traffic would ever hit the main page - you'd need to set an explicit redirect using .htaccessor nginx.conf

    My recommendation would be to perhaps develop this in a locked down area or locally first. If you really want to develop on the domain itself, use a robots.txtfile to tell Google to ignore crawling content (which isn't guaranteed), or use a .htaccess to restrict access to the site until you're ready to release it.

      [deleted] Thank you for the reply.

      Instead what do you think if I use Pages extension? (I don't know how this extension works). I create the "Portal" page with this extension and then with .htaccess or similar I make it become the homepage.

        • [deleted]

        debynory That won't work, as it needs the flarum instance to be running where that extension is installed. In all honesty, you're much better off placing flarum inside it's own subdomain (which I do), so for example, forum.domain.com - this means the root domain can do whatever you want it to independently of the sub domain.

          • [deleted]

          debynory That's a custom WordPress function I wrote which uses the Flarum API.