Skip to main content

Issue with subdomain redirection

Comments

3 comments

  • cPanelMichael
    Hello :) Do you have any custom Mod_Rewrite rules in the .htaccess files within the account's home directory or below? Thank you.
    0
  • bmedia
    Hi Michael, Thanks for the response. Here are the rules that are in there. # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] RewriteCond %{HTTP_HOST} ^ww1.mysite\.com$ [NC] RewriteRule ^(.*)$ http://www.mysite.com/$1 [R=301,L]
    Let me know if there are any issues with the above.
    0
  • cPanelMichael
    You may want to temporarily remove those custom WordPress Mod_Rewrite rules to rule them out as the cause of the issue. It's possible you might have to modify your rules a bit to get those custom entries to work with standard redirect rules. Thank you.
    0

Please sign in to leave a comment.