No announcement yet.

HTACCESS File Not Working

  • Filter
  • Time
  • Show
Clear All
new posts

  • HTACCESS File Not Working


    I have created a new home page, URL is /sv8/home. I followed the instructions for creating the page and tried to edit the .htaccess file but when I did it kept redirecting to the site's main folder ( This is what I am using:

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^svcommand\.com$
    RewriteRule (.*)$1 [R=301,L]
    RewriteRule ^$ sv8/home [L]

    My goal is to have it when someone goes to it redirects to /sv8/home.

    Is there a specific place I should be putting the code above or am I just doing it wrong?
    Last edited by SteveAngelis; Sat 18th Mar '17, 5:18pm. Reason: Correcting typo

  • #2
    It should be the first redirect. At the top of the redirects we have in the file. Otherwise, we will have already redirected them to index.php
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud customization and demonstration site.
    vBulletin 5 Documentation - Updated every Friday. Report issues here.
    vBulletin 5 API - Full / Mobile
    I am not currently available for vB Messenger Chats.


    Related Topics