Title: Permalink change not possible (JSON error)
Last modified: September 30, 2022

---

# Permalink change not possible (JSON error)

 *  Resolved [christianshg](https://wordpress.org/support/users/christianshg/)
 * (@christianshg)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/permalink-change-not-possible-json-error/)
 * Hello together,
 * I have built a wordpress site and now wanted to change the default permalink 
   to the post name. Unfortunately this does not work. Apart from the home page,
   all other pages are no longer accessible (Not Found
    The requested URL was not
   found on this server).
 * I use:
    – Worspress 6.0.2 – Apache2 – Ubuntu 22.04 LTS – php8.1
 * What I have already tried:
    – All plugins disabled – Reset the theme to “Twenty
   Twenty-Two – deleted the .htaccess file and created it again – Linux updates (
   system, apache2, php)
 * When I try to publish a new page or edit an existing one in that state, I get
   this error: “Update failed. The response is not a valid JSON response” (translated
   into English).
 * I can’t find any help via googling now unfortunately and hope for support here.
 * Greetings from Germany

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/permalink-change-not-possible-json-error/#post-16059466)
 * Did you configure Apache for the vhost to read the htaccess file? To do this 
   you need to set the `AllowOverride`directive to `All`. After that restart Apache.
 *  Thread Starter [christianshg](https://wordpress.org/support/users/christianshg/)
 * (@christianshg)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/permalink-change-not-possible-json-error/#post-16059481)
 * [@threadi](https://wordpress.org/support/users/threadi/) OMG THANK YOU! Such 
   a rookie mistake and that with me as Linux Admin…
 * Have a nice day / evening!
 *  [jonsonj](https://wordpress.org/support/users/jonsonj/)
 * (@jonsonj)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/permalink-change-not-possible-json-error/#post-16080785)
 * Hi this issue occurs on the site when we need to restrat the appache.
    An .htaccess
   file makes Apache web server configuration changes on a per-directory basis. 
   This allows you to configure specific areas of a website without having to modify
   the Apache web server’s primary configuration files. To enable the.htaccess file,
   you must update your website’s Virtual Hosts file to add an AllowOverride All
   directive. Thanks!
    -  This reply was modified 3 years, 8 months ago by [jonsonj](https://wordpress.org/support/users/jonsonj/).
    -  This reply was modified 3 years, 8 months ago by [jonsonj](https://wordpress.org/support/users/jonsonj/).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Permalink change not possible (JSON error)’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [jonsonj](https://wordpress.org/support/users/jonsonj/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/permalink-change-not-possible-json-error/#post-16080785)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
