• hello,

    I have domain A as primary domain of CPannel, And domain B as alias.
    I change everything to B domain, Even *-option table, But when I open B domain in my browser,It has been redirect to A domain,
    Even I disable redirection of alias,
    My htaccess is :
    —————————-
    # 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
    —————————–
    How can I disbale A domain?

Viewing 1 replies (of 1 total)
  • Hi,

    checkout the file wp-config.php of your B domain.

    Sometimes it contains the domain name as separate definition in WP_HOME and WP_SITEURL

    Change that values and you should be good to go.

    Please let me know if that resolves your issue.

    Cheers
    René

    • This reply was modified 6 years, 7 months ago by Rene Hermenau.
Viewing 1 replies (of 1 total)
  • The topic ‘redirection to old domain’ is closed to new replies.