johngodley / redirection

Manage all your WordPress 301 redirects and monitor 404 errors
https://redirection.me
GNU General Public License v3.0
553 stars 139 forks source link

Redirection Error #3891

Closed FisioterapiaYoga closed 1 month ago

FisioterapiaYoga commented 1 month ago
Plugin: 5.4.2 4.2
WordPress: 6.6.1 (single)
PHP: 7.4.33
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
JavaScript: https://www.yogirat.com.mx/wp-content/plugins/redirection/redirection.js?ver=5.4.2-2dfac6cbb88915145528d6945ba453dd
REST API: https://www.yogirat.com.mx/wp-json/
Query: ?page=redirection.php&direction=asc

Action: https://www.yogirat.com.mx/wp-json/redirection/v1/redirect/?orderby=id&direction=desc&per_page=25&v=1722218993288 POST
Params: {"id":0,"url":"https://www.yogirat.com.mx/instagram","title":"","match_data":{"source":{"flag_regex":false,"flag_trailing":true,"flag_case":true,"flag_query":"exact"},"options":{}},"match_type":"url","action_type":"url","position":0,"group_id":1,"action_code":301,"action_data":{"url":"https://www.instagram.com/p/C9fk9RtRsqQ/?img_index=1"}}
Code: 404 Not Found

Error: Unexpected token '<', "<html>
<h"... is not valid JSON (SyntaxError)
Raw: <html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
johngodley commented 1 month ago

As described on the error page please fix your REST API error. This is not caused by Redirection.