Cannot Rewrite wp base URL to bluehost domain
-
Hello,
I am trying to have my WP website redirect to my bluehost domain.
This is the domain: https://midnight-scans.com/
When I click on any of the links, I receive a 404 error from bluehost.The following is my .htaccess code. And honestly, I’m not sure if this is the correct code to use to solve my problem:
#protect wpconfig at all cost <Files wp-config.php> order allow,deny allow from all </Files> # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /ms-site/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{HTTP_HOST} ^.*/ms-site/$ [NC] RewriteRule ^(.*)$ https://midnight-scans.com$1 [R=301,L] </IfModule> # END WordPress
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Cannot Rewrite wp base URL to bluehost domain’ is closed to new replies.