No announcement yet.

Needing to update .htaccess file

  • Filter
  • Time
  • Show
Clear All
new posts

  • Needing to update .htaccess file

    I have pinged Mark and posted on his wall, but did not hear anything back yet. I am hoping someone else on the forum can give me some advise based on his article he wrote before about updating your .htaccess file to read to a Home page rather than the Forum first when going to my website.

    It is from this post before (comments are disabled in it so I am posting here)

    Wondering how I can change my .htaccess file to point to the "Home" page.

    Currently the .htaccess file is set to:

    RewriteCond %{HTTP_HOST} ^ [NC]
    RewriteRule ^(.*)$$1 [L,R=301,NC]

    My forum is on the root directory, NOT in the /forums directory. So I should just have to add:
    RewriteRule ^$ /home [L]

    Just making sure, don't want to break the site.
    Thank you in advance.

  • #2
    Can I get an update on this? Thank you.


    • #3
      If your forum is already in the root directory, then you wouldn't do this with .htaccess.

      You need to use site builder to change the URLs.

      Edit the forum page, it will have a URL of:

      Rename this to:

      Then edit your home page and rename it from whatever it currently is, to:

      NOTE: take a full backup of your database before making the above changes.

      TalkNewsUK - My vBulletin 5.6.3 Demo
      AdminAmmo - My Cloud Demo


      • #4

        I tried this an now cannot get to the Home Page.

        Home page address was:
        Forum page address is:

        I remove the name: home in the site builder and now it shows as just a /
        But going to the site it still goes to forums.

        Also, how when I just put in it goes directly to forums and I cannot get to the home page via the site builder to edit after the change.

        Actually, that worked. Had to also update the navigation bar

        Thank you!


        Related Topics