Title: Changing permalink structure
Last modified: July 7, 2019

---

# Changing permalink structure

 *  [jannickvieluf](https://wordpress.org/support/users/jannickvieluf/)
 * (@jannickvieluf)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/changing-permalink-structure-11/)
 * Hey,
 * I have the following problem:
 * On my page, each subpage is linked as follows: “domain.com/index.php/postname/”.
   Now I want to use this guide ([https://yoast.com/change-wordpress-permalink-structure/](https://yoast.com/change-wordpress-permalink-structure/))
   to change my permalink structure.
 * Now my problem: As soon as I change the permalink structure to “domain.com/postname/”,
   all subpages will also be changed, but I still can’t connect to them (The requested
   URL was not found on this server.). In addition, I can no longer make any changes
   to pages (updating failed) and also I can´t create more pages (publishing failed).
 * I’ve now restored a backup to keep the page working.
    I would be very happy if
   one of you could help me with this problem.
 * Details:
 * Wordpress Version: 5.2.2
    Server Distribution: Debian 9 Web-Service: Apache2
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fchanging-permalink-structure-11%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [jimmyneutron8](https://wordpress.org/support/users/jimmyneutron8/)
 * (@jimmyneutron8)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/changing-permalink-structure-11/#post-11708730)
 * Hi there,
 * There are a couple of things that could be causing this. First, does your server
   have permission to write to the .htaccess file? If not, WordPress will give you
   an error at the bottom of the permalinks page when you try to save changes.
 * If that isn’t the issue, the server configuration might need to be modified. 
   The config file is most likely located in
 * `/etc/apache2/sites-available/`
 * There should be a section that looks something like this (yours might be a bit
   different):
 *     ```
       <Directory /var/www/>
               Options Indexes FollowSymLinks MultiViews
               AllowOverride None
               Order allow,deny
               allow from all
       </Directory>
       ```
   
 * The ‘AllowOverride’ parameter should be changed from ‘None’ to ‘All’. This will
   allow your .htaccess file to take effect.
 * This solution worked for me before. Let me know if it works for you.
    -  This reply was modified 6 years, 11 months ago by [jimmyneutron8](https://wordpress.org/support/users/jimmyneutron8/).
      Reason: formatting

Viewing 1 replies (of 1 total)

The topic ‘Changing permalink structure’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [jimmyneutron8](https://wordpress.org/support/users/jimmyneutron8/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/changing-permalink-structure-11/#post-11708730)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
