• Resolved expertimmodelarc

    (@expertimmodelarc)


    Hello,

    I am creating a DRP for my WP site.

    After site migration (file db and search replace) …
    – Redirection plugins works on target DRP site (ie rules from original site are working, and target site runs perfectly)
    – but Redirection admin tool screen never shows data and ends up with REST API failure.
    – Remove/reinsatal the pluging fails at Configuration step (even in manual mode).

    Any clue on what to look for to repair it ?

    Regards.
    JP FOLL

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

    (@johnny5)

    What is a DRP? What is the REST API error>

    Thread Starter expertimmodelarc

    (@expertimmodelarc)

    DRP stands for Disaster Recovery Plan.
    I cannot catch the error, the test on Support tab does not complete.
    Regards.
    JP FOLL

    Thread Starter expertimmodelarc

    (@expertimmodelarc)

    I just succed to catch this :

    Plugin: 5.1.1 4.2
    WordPress: 5.7 (single)
    PHP: 7.0.20
    Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0
    JavaScript: https://mysite.net/exper2eftn5/wp-content/plugins/redirection/redirection.js?ver=5.1.1-accf9923c797504c858f60338da73667
    REST API: https://mysite.net/wp-json/
    Query: ?page=redirection.php&sub=support
    
    Error: NetworkError when attempting to fetch resource.
    Plugin Author John Godley

    (@johnny5)

    The error should contain links to help with the problem. Basically something in your setup is preventing the browser from communicating with the REST API. You can try changing the REST API option

    Thread Starter expertimmodelarc

    (@expertimmodelarc)

    Which option ?
    3 modes are in error.
    But when I try my self i get the wp_jsom xml doc.

    Plugin Author John Godley

    (@johnny5)

    Your Site Health may provide some clues. This isn’t really a plugin problem, but a site problem. For example, it could be a security plugin or security software. It’s hard to say more without some visibility of the site.

    Thread Starter expertimmodelarc

    (@expertimmodelarc)

    My matter is that until now, Redirection is the only plugin which seams impacted (partialy as it does the job).
    Site health is only claiming about the PHP version 7.0.20, but this is due to my host service.
    Would you need me to send more details by mail ? What one ?

    Plugin Author John Godley

    (@johnny5)

    Sure, Redirection is likely to be your only plugin that uses the REST API. Any other plugins that use it would probably return the same error, which is from your browser.

    I can probably tell something just with a real URL.

    Thread Starter expertimmodelarc

    (@expertimmodelarc)

    Hello,

    I found the issue cause.
    A mistake in search replace order in posts and postmeta tables, with confusion between http and https. (source site is https target is http for now will migrate in future).

    Thanks for your help.
    And sorry for my mistake. WP is too tolerant…
    Regards.
    JP FOLL

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Issue after DRP site migration’ is closed to new replies.