htaccess redirect subdomain
-
i know there are a lot of similar questions on this forum, but i still don’t “get it”. i have a wordpress install located in subdirectory: https://www.bethany-ag.org/nightlife but i want users to be able to use the URL: nightlife.bethany-ag.org to get to there.
how do i use the .htaccess 301 redirect to do so? and how does this coincide with the General Settings page where I can edit the WordPress Address (URL) and the site address (URL)?
and can anyone explain what the individual lines of code mean? the .htaccess file i have already looks like this:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
thanks loads!!
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘htaccess redirect subdomain’ is closed to new replies.