• I have WordPress installed in

    url1.com/Wordpress

    I try to configure Polylang (V1.8)to use

    URL1.com for English
    URL2.com for French

    When I press save,the systems tells me :

    “Polylang was unable to access the URL”

    Is it possible to have the text published to two different domains?
    Does anyone here

    https://wordpress.org/plugins/polylang/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Denis_Pageau

    (@denis_pageau)

    Is it possible that we need a multisite installation of WordPress for this to work?

    Plugin Support Chrystl

    (@chrystl)

    Hi
    Polylang checks if your domains or subdomains are correctly accessible. Otherwise, Polylang returns an error message: “Polylang was unable to access the URL”.

    Either your configuration is wrong for your 2 domains: contact your host provider to get the documentation for the domains installation.
    Or it may take 24h or more with some host providers to set your domains.

    You can have multiple domains for a single site.

    Thread Starter Denis_Pageau

    (@denis_pageau)

    I have just copied the index.php and .htaccess files in the directories and everything was ok on the installation of Polylang.

    Unfortunately when I tried to published a page, I got this error

    Warning: require(/home/citize47/public_html/societalogie.com/wp-blog-header.php): failed to open stream: No such file or directory in /home/citize47/public_html/societalogie.com/index.php on line 17
    
    Fatal error: require(): Failed opening required '/home/citize47/public_html/societalogie.com/wp-blog-header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/citize47/public_html/societalogie.com/index.php on line 17

    And on line 17, I have this.

    require( dirname( __FILE__ ) . ‘/wp-blog-header.php’ );guet this message

    The same issue…
    PolyLang (v 1.8 ) is not saving my second domain…. It worked fine before…

    it gives me following errors for both domains..
    Polylang was unable to access the URL DomainOne. Please check that the URL is valid.

    Polylang was unable to access the URL DomainTwo. Please check that the URL is valid.

    Thanks in advance!

    Thread Starter Denis_Pageau

    (@denis_pageau)

    Solved

    If the following directive are right for all occasion, there should be a step by step article on this.

    These directive start with a fresh install.

    First, after installing WP.

    1) Go into General config and set your Site Address (URL).

    2) Then used the directives given here; https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    There are two options:

    • Moving a Root install to its own directory
      Using a pre-existing subdirectory install
    • If you already have WordPress installed in its own folder (e.g., http://example.com/wordpress), then the steps are as follows:
    • One way or another, you need to copy your index.php and .htaccess files
      to both your URL.

      THen install PolyLang and configure you two languages and everything will work.

      At least, it does up till now.

      I am a beginner in WP and Polylang. Maybe those who are more expert can correct me if I am wrong.

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

The topic ‘Polylang was unable to access the URL’ is closed to new replies.