• Resolved malakontask

    (@malakontask)


    Hi

    I installed a new website to google cloud VM instance a wordpress with openlitespeed wordpress.

    I have two problems when im trying to install redirection plugin i get this msg:
    GET POST SyntaxError: Unexpected token < in JSON at position 0
    Unexpected token < in JSON at position 0 (SyntaxError)
    Your REST API is returning a 404 page. This may be caused by a security plugin, or your server may be misconfigured

    The second problem is that when i am changing the permalinks in wordpress section from plain to post name & every page execpt home page returning 404

    Please help.
    Thanks Kostas

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

    (@johnny5)

    For the first part you should look at the details the error is showing, and work out why your REST API is returning a 404.

    For the second, this doesn’t sound like a problem with Redirection. You may find more specific help in the general WordPress forum.

    Thread Starter malakontask

    (@malakontask)

    Are these the details ?

    Can you check screenshot please ?

    https://prntscr.com/urc9sc

    I am very confused and my knowledge is not so good.
    If I couldn’t resolve these issues I will transfer to easier host i think…

    Thank you!

    Plugin Author John Godley

    (@johnny5)

    This URL is not working:

    https://mayama-shop.com/wp-json/

    I don’t know why that is, and you may need to ask your host provider.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘REST API problems & Permalinks change Problem in openlitespeed wordpress’ is closed to new replies.