• Resolved seagraph

    (@seagraph)


    I have created a WP LearnDash site that is using LITESPEED WP CACHE PLUGIN in the .htaccess file.

    I simply want to automaticlly redirect the home page to another page – for example:
    https://music.domain.com (current homepage)
    https://music.domain.com/index.php/courses/theorycourse/ (desired redirect)
    I set the home page in the Astra theme but I don’t have access to the desired redirect page so I can’t set it directly.

    A current section in .htaccess (that I am not supposed to modify)
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    I suspect it might be something like:
    RewriteRule . /index.php/courses/theorycourse/ [L]

    But perhaps I need an aditional rule after the orginal rule but in a new or different section.

    I am in over my head so any help would be greatly appreciated.

    Thanks,
    Carl

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Litespeed Redirect home page to another page in .htaccess file’ is closed to new replies.