Redirect domain to subdomain wordpress private site
-
Hello, I am having some trouble redirecting my wordpress subdomain.
I want https://www.example.net to be redirected to https://members.example.net. I thought I could do this through cpanel but it throws out this error message:
There was an error adding the redirect.
Apache detected an error in the Rewrite config.
Syntax error on line 4 of /home/xxxx/public_html/.htaccess.kpP4JcC8W1HZx0VWoHj658z3pGBavnV1: Invalid command 'suphp_configpath', perhaps misspelled or defined by a module not included in the server configuration
Please try again.
So I am assuming that the module “Private Site” that I am using is stopping this from happening??
This is the info that is in my .htaccess file:
# 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
So the rewrite option is on but it wont let me redirect.
Any thoughts on this???
Thanks,
Derrick
- The topic ‘Redirect domain to subdomain wordpress private site’ is closed to new replies.