• It’s a WP Multisite network.

    “Development” sites run as sub-directory sites.

    Any “live / published” sites have it’s own domain name assigned(FQDN).

    Installation and activation of the plugin on development sites is working well without errors.

    After enabling site wide redirection of a sub site (ID >1) any API reports error and it’s not possible anymore to disable the site wide redirection.

    At site ID 1 everything is working well. No Errors and site wide redirections is working as expected.

    Any idea what could be the root cause?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author John Godley

    (@johnny5)

    Without knowing more about the setup I couldn’t really say. What is the error? How have you done a site redirection?

    Thread Starter Pak Kriss

    (@pakkriss)

    Site ID 1 -> tools.php?page=redirection.php&sub=site “Relocate Site” -> “Relocate to domain:” “https://domain.tld/” works perfect – no errors

    e.g. Site ID 3 same setup, but after tools.php?page=redirection.php&sub=site “Relocate Site” -> “Relocate to domain:” “https://domain.tld/” all Redirect Plugin APIs returning errors and redirect setup cannot be undone anymore. Plugin disabled was the only option to get rid of the now permanent redirection settings with errors of the Redirection Plugin.

    I hope this helps. Otherwise please let me know which additional details you need.

    Thread Starter Pak Kriss

    (@pakkriss)

    @johnny5 any feedback related to this?

    Here some feedback from the All Inclusive SEO plugin Senior Developer which may help you too:

    I had a quick look at your site and it looks like your multisite is actually configured as a subdomain installation, but it doesn’t identify as one.
    I assume that has to do with the hosting company you’re using (Closte). There’s nothing I can think of that we can do to automatically detect this, but I’ve added a filter hook so that you can make AIOSEO think you’re using a subdomain configuration.

    1. Install the beta build that you can download here
    2. Can you install the Code Snippets plugin so that you can add the following code network-wide –

    add_filter( ‘aioseo_multisite_subdomain’, ‘__return_true’ );

    If that works, I’ll make sure that we get this filter into the next update.`

    That looks good. I was actually mistaken – this filter is going to be included in the 4.1.8 update (not the previous release), which coincidentally is going out later today.
    Can you first update to the new version when it is released before you check if it’s working?

    https://aioseo.com/changelog/

    It’s working well now. Thanks!

    Plugin Author John Godley

    (@johnny5)

    I don’t know how that relates to the problem with Redirection but if your site is configured in a non-standard way that is affecting plugins it seems better to make your site more compatible instead of requiring every plugin to be adapted.

    What is the actual error you are seeing?

    Is site 1 not your network site? I imagine redirecting that will affect everything.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Multisite, multi domain, site id specific redirects’ is closed to new replies.