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

Need some guidance on structure

Discussion in 'XenForo Questions and Support' started by trilogy33, Apr 24, 2011.

  1. trilogy33

    trilogy33 Well-Known Member

    (may need some anyway) :)

    From the very start I'd installed XF into a directory called "community".
    With a URL redirect pointing the domain to /community so that'd be:


    Now, I've installed Jaxel's Portal and not used the index controller. I want to keep the /community directory and not have everything pushed to /forum.

    Question 1 is:
    If I now, release make the redirect to the portal (http://mx5life.com/community/portal), so that all visitors using http://mx5life.com go directly to the portal (follow me?)...will this screw up previously linked material and/or google's index (broken links and general catastrophe?)

    Question 2 is:
    Apart from changing the redirect to community/portal for web AND the /m for the mobile style, is there anything else that I need to do?

    I'm using full friendly URLs with the following .htaccess file:

    RewriteEngine on  AuthName "mx5life" AuthUserFile "/home/mx5lifec/.htpasswds/public_html/passwd"  RewriteCond %{HTTP_HOST} ^.*$ RewriteRule ^/?$ "http\:\/\/mx5life\.com\/community" [R=302,L]  RewriteCond %{HTTP_HOST} ^.*$ RewriteRule ^m\/?$ "http\:\/\/mx5life\.com\/community\/m" [R=302,L]  #    Mod_security can interfere with uploading of content such as attachments. If you #    cannot attach files, remove the "#" from the lines below. #<IfModule mod_security.c> #    SecFilterEngine Off #    SecFilterScanPOST Off #</IfModule>  ErrorDocument 401 default ErrorDocument 403 default ErrorDocument 404 default ErrorDocument 500 default  <IfModule mod_rewrite.c>     RewriteEngine On      #    If you are having problems with the rewrite rules, remove the "#" from the     #    line that begins "RewriteBase" below. You will also have to change the path     #    of the rewrite to reflect the path to your XenForo installation.     #RewriteBase /xenforo      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>
    Many thanks for any help.
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    That won't cause any problems. All forum content will still exist at the same location. There will be no broken links. It's not like you are changing the location of the forum. You are simply adding a cover page.

  3. trilogy33

    trilogy33 Well-Known Member

    Awesome Jake, thank you :)

Share This Page