• Resolved micheledicosmo

    (@micheledicosmo)


    Multi language seems to not be supported:

    I created a multi-language maintenance page with WPML, accessible via the slug /it and added the slug “it” to the exclusion list. I get an infinite redirection 301 loop to the homepage.

    < HTTP/2 301 
    
    < date: Mon, 20 Feb 2023 12:51:19 GMT
    
    < content-type: text/html; charset=UTF-8
    
    < location: https://www.micheledicosmo.com
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter micheledicosmo

    (@micheledicosmo)

    This is the redirect debug info, and the exclusion list.

    I don’t understand why Level 1 redirects to the maintenance page.

    feed
    wp-login
    login
    https://www.micheledicosmo.com/it/
    it
    it/
    /it/
    Debug WP Redirect
    
    Location
    
    https://www.micheledicosmo.com/
    
    Status
    
    301
    
    User Logged In
    
    No
    
    Backtrace
    
    Level 1
    File: /home/u514639806/domains/micheledicosmo.com/public_html/wp-includes/canonical.php
    Line: #801
    Function: wp_redirect
    Function Arguments:
    array(2) {
      [0]=>
      string(31) "https://www.micheledicosmo.com/"
      [1]=>
      int(301)
    }
    Level 2
    File: /home/u514639806/domains/micheledicosmo.com/public_html/wp-includes/class-wp-hook.php
    Line: #308
    Function: redirect_canonical
    Function Arguments:
    array(1) {
      [0]=>
      string(33) "https://www.micheledicosmo.com/it"
    }
    Level 3
    File: /home/u514639806/domains/micheledicosmo.com/public_html/wp-includes/class-wp-hook.php
    Line: #332
    Class: WP_Hook
    Object: WP_Hook
    Type: ->
    Function: apply_filters
    Function Arguments:
    array(2) {
      [0]=>
      NULL
      [1]=>
      array(1) {
        [0]=>
        string(0) ""
      }
    }
    Level 4
    File: /home/u514639806/domains/micheledicosmo.com/public_html/wp-includes/plugin.php
    Line: #517
    Class: WP_Hook
    Object: WP_Hook
    Type: ->
    Function: do_action
    Function Arguments:
    array(1) {
      [0]=>
      array(1) {
        [0]=>
        string(0) ""
      }
    }
    Level 5
    File: /home/u514639806/domains/micheledicosmo.com/public_html/wp-includes/template-loader.php
    Line: #13
    Function: do_action
    Function Arguments:
    array(1) {
      [0]=>
      string(17) "template_redirect"
    }
    Level 6
    File: /home/u514639806/domains/micheledicosmo.com/public_html/wp-blog-header.php
    Line: #19
    Function: require_once
    Function Arguments:
    array(1) {
      [0]=>
      string(87) "/home/u514639806/domains/micheledicosmo.com/public_html/wp-includes/template-loader.php"
    }
    Level 7
    File: /home/u514639806/domains/micheledicosmo.com/public_html/index.php
    Line: #17
    Function: require
    Function Arguments:
    array(1) {
      [0]=>
      string(74) "/home/u514639806/domains/micheledicosmo.com/public_html/wp-blog-header.php"
    }
    This output is coming from the debugging tool: Debug wp_redirect()
    Plugin Support Vytis

    (@bvytis)

    Hi there,

    Thank you for using LightStart.

    I tried to replicate the issue but it works as expected to me.

    I created a test page with additional language set up via WPML and set up homepage that has /lang/ in the URL.

    I added that /lang/ to the exclusion list of the LightStart plugin and all the pages that have /lang/ in the URL load fine while regular pages without /lang/ URL gives Maintenance page.

    If you can share more details how to set up WPML and Lightstart to face this problem if it persists on your end we can check it further. Thanks!

    Greetings
    I also have the same problem if he inserts /lang/ the main language page works while the others show the home page and not the site under construction page

    This is the link to the site https://www.brixiaplast.it

    • This reply was modified 1 year, 8 months ago by jelux.
    Plugin Support Vytis

    (@bvytis)

    Hi @jelux,

    Thank you for using the plugin. I’m not sure you’re referring to the same thing, can you clarify what you’re trying to achieve?

    When you’re saying, “if he inserts /lang/ to the main language”, can you clarify where you insert this? Is it to exclusions of the plugin settings? Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WPML support’ is closed to new replies.