What error? How are they not working? Are your permalinks working and WordPress is configured correctly?
Thread Starter
Kyrian
(@oloccina)
Example of the error for a redirect
/chi-siamo/niccolo-angeli,niccolo-angeli
301
https://accademiainfinita.it/chi-siamo/niccolo-angeli
Redirected by an unknown agent. What does this mean?.
200
https://accademiainfinita.it/e/chi-siamo/niccolo-angeli
Page was loaded.
In the above example, the redirect should be instead
https://accademiainfinita.it/2/chi-siamo/niccolo-angeli
https://accademiainfinita.it/2/niccolo-angeli
because the website is installed on the subfolder https://accademiainfinita.it/2
Permalinks and WP configurations are ok,
site address URL and WordPress URL are set to https://accademiainfinita.it/2
Only thing that I found was missing was the line in index.php file. I added the subfolder there and saved
/** Loads the WordPress Environment and Template */
require DIR . ‘/2/wp-blog-header.php’;
But now the plugin gives a 500 error (REST API not disposable)
You will need to adjust whatever is doing this redirect. It is not an error.
https://redirect.li/http/?url=https%3A%2F%2Faccademiainfinita.it%2Fchi-siamo%2Fniccolo-angeli
Only thing that I found was missing was the line in index.php file. I added the subfolder there and saved
That doesn’t sound like something you should be doing. If you have broken the REST API then you will need to fix it in order to continue using the plugin or anything else that uses the REST API – it’s a WordPress configuration issue.
Thread Starter
Kyrian
(@oloccina)
Yep it’s definitely the .htaccess in the site installed in the root folder that is getting in the way
I added
RewriteCond %{REQUEST_URI} !^/2($|/)
to it
but doesn’t solve
Oh well, not a big issue. This site will be moved to the root folder anyway when it’s ready, I guess the redirects will work at that point.
I was just curious to understand why was happening.
Thanks! (Your plugin is great BTW, I just made a donation 🙂