• Resolved David

    (@davidanielr)


    Hi John,

    Very nice plugin! Wonderful indeed!

    However, I’m having some issues with a multisite, which has a main site and a subsite.
    I’m trying to redirect the whole multisite (two sites) to a new domain, due to rebranding. The new domain has the same structure as the former subsite (e.g. permalinks are identical, etc.). The former main site only has the main page, so we just want to point it to the new domain… easy.

    We setup a redirect on the main site with ‘source url’ to: / (ignore slash, ignore case). Everything works fine.

    But on the subsite is where we have issues. We setup a redirect with ‘source url’ to: /subsite/(.*) –> https://newdomain.com/$1 (ignore case, ignore slash, regex). Redirects are working well, but “hits” seem to increase without anyone visiting the site. And on the Support tab it says ‘REST API: Working but some issues’

    Here is a screen capture of the details… https://drive.google.com/file/d/1SJN75tDwQsnXejJCC2i7WklRnQIKuT3z/view?usp=sharing

    URL: https://riverarojas.com/david/?rest_route=/
    GET POST TypeError: Failed to fetch
    Failed to fetch
    Unable to make request due to browser security. This is typically because your WordPress and Site URL settings are inconsistent, or the request was blocked by your site CORS policy.

    Thanks for the advice!

    Cheers,

    The page I need help with: [log in to see the link]

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

    (@johnny5)

    Redirects are working well, but “hits” seem to increase without anyone visiting the site

    How do you know this? A hit is only recorded if someone visits the URL.

    And on the Support tab it says ‘REST API: Working but some issues’

    This doesn’t matter as long as one route is working.

Viewing 1 replies (of 1 total)

The topic ‘GET POST REST API issue on multisite’ is closed to new replies.