Title: Permalink Change Causing REST API Error and Functionality Issues
Last modified: November 2, 2023

---

# Permalink Change Causing REST API Error and Functionality Issues

 *  [Md shohidul islam Razu](https://wordpress.org/support/users/razu381/)
 * (@razu381)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/permalink-change-causing-rest-api-error-and-functionality-issues/)
 * ![](https://prnt.sc/yhMhdwEYll2C)
 * Hi there,
 * I recently changed my website’s permalink structure from “plain” to “post name,”
   and I’m encountering some issues that I hope you can help me address. In the 
   Site Health section, I’ve observed an error related to the REST API, and it seems
   to be affecting specific functionalities on my site.
 * Here are the details of the issue:
 * **Error Description:**
    - The REST API is not behaving correctly.
    - The REST API, crucial for communication between WordPress and other applications,
      is essential for functions such as displaying and saving posts and pages in
      the block editor. Specifically, the REST API is not processing the context
      query parameter correctly.
 * **Additional Information:**
    - My server is running on Nginx.
    - This issue persists even when all plugins are deactivated, eliminating plugin
      conflicts as the cause.
 * **Observation:**
    - Interestingly, when I move my site to Bluehost or Hostinger, the error seems
      to resolve itself. Unfortunately, I am unsure of my current web host.
 * I appreciate your assistance in resolving this matter.
 * Thank you
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpermalink-change-causing-rest-api-error-and-functionality-issues%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/permalink-change-causing-rest-api-error-and-functionality-issues/#post-17175236)
 * I don’t think Bluehost or Hostinger use Nginx by default, that’s possibly why
   the difference. WP cannot configure Nginx to use pretty permalinks on its own
   like it can with Apache. You’ll need to manage the configuration yourself (or
   your host might be able to assist). The specifics partly depend on exactly how
   Nginx is implemented. Hopefully [this Nginx article](https://wordpress.org/documentation/article/nginx/)
   will help you find the right solution.

Viewing 1 replies (of 1 total)

The topic ‘Permalink Change Causing REST API Error and Functionality Issues’ is 
closed to new replies.

## Tags

 * [permalink](https://wordpress.org/support/topic-tag/permalink/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/permalink-change-causing-rest-api-error-and-functionality-issues/#post-17175236)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
