Did you checked with site permalinks ? To do so
> Login to admin >> Settings >> Permalinks
> Select ‘Plain’ radio button once and then click on ‘Save Changes’ button.
> Check front page and other pages if they are working. If permalink issue is there, pages/posts should work.
> Again go to permalink settings and select ‘Post name’ option and click on ‘Save Changes’.
Once this updated, you should get below code in .htaccess file.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Check for the pages/posts they should not give 404 error.
Ok, thanks for your reply.
But according to redirection plugin, it says the issue is with
“WordPress REST API
Redirection routes”
And yes I have try the permalink idea
-
This reply was modified 8 years, 3 months ago by
froshdimeji.
So you have used redirection plugin. Also are you using any REST API’S manually ?
Can you please brief some more on this ?
No am not using any rest API’S manually
As in when I first notice the error, I think of what my redirection plug-in doing. Then on the plugin page, it says something is wrong with my wordpress rest api and redirection route, so it ask me to click its magic fix button – and it did solve the problem but later the issue occur again also saying that there is an error in wp rest api