Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Chrystl

    (@chrystl)

    Hello

    Could you confirm that you have created your 2 domains on your host provider (at least more than 24h00)?

    Did you try your domains with Polylang de-activated?

    Thread Starter Patrixer

    (@patrixer)

    Hello,

    First one was registered over week ago, second one was registered about 40 hours ago.

    I just tried to turn off polylang and nothing changed. When I enter second domain it automatically redirect to first domain.

    Plugin Support Chrystl

    (@chrystl)

    Something should conflict with your install.
    Did you save your permalinks to create the .htaccess?

    Thread Starter Patrixer

    (@patrixer)

    But what could conflict ? Only thing I did was installation from appinstaller on my server instead of copying/pasting wordpress instalation via ftp.

    And yes, I saved permalink to create .htaccess and nothing special is there:

    # 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

    Plugin Author Chouby

    (@chouby)

    Hi!

    I just tried to turn off polylang and nothing changed. When I enter second domain it automatically redirect to first domain.

    If, with Polylang inactive, you don’t succeed to access your website with both domains without redirection, then Polylang cannot solve this. Please check with your host provider before activating Polylang.

    Thread Starter Patrixer

    (@patrixer)

    Hello!

    So if I understand correctly, without polylang i should get access to site but there shouldn’t be redirection right ?

    Any suggestions why that could happen ? htaccess shouldn’t do that as you can see.

    How about general setting at wordpress ? I mean wordpress instalation url, I can put only one address there ?

    Thread Starter Patrixer

    (@patrixer)

    Good news. I managed to make it work (anyway, I hope so 🙂 )

    I use Direct Admin Panel. I chose main domain (domain1.pl) -> go to set pointer -> enter domain2.com and set as alias.

    Anyway, use another browser than Firefox – it still try to redirect (cache or something) – on other browsers everything works good now.

    I’ve got another questions but I will open another thread if I don’t find what I’m looking for in documentation.

    Once again, thanks for great work!

    Plugin Author Chouby

    (@chouby)

    If you are running a single site (not multisite), then your problem of redirection is probably outside WordPress. Maybe in the way you configured your secondary domain. I can’t help here as it much depends on the host provider. That’s why I suggested to contact their support.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Two domains problem’ is closed to new replies.