Title: Permalinks
Last modified: August 18, 2016

---

# Permalinks

 *  [louie37](https://wordpress.org/support/users/louie37/)
 * (@louie37)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/permalinks-6/)
 * I have upgraded to the latest version last night and since then i get the following
   error on permalinks:
 *     ```
       Warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (? at offset 3 in .../blog/wp-includes/classes.php on line 99
   
       Warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (? at offset 3 in .../blog/wp-includes/classes.php on line 100
   
       Warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (? at offset 3 in .../blog/wp-includes/classes.php on line 99
   
       Warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (? at offset 3 in .../blog/wp-includes/classes.php on line 100
   
       ....................
   
       Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset 1 in .../blog/wp-includes/classes.php on line 100
       ```
   
 * I have followed all the instruction (back-up, delete old files, disabled plugins,
   etc) but the only way to get it working is to revert to default all the time.

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

 *  Thread Starter [louie37](https://wordpress.org/support/users/louie37/)
 * (@louie37)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/permalinks-6/#post-645005)
 * for the moment got it sorted out by adding the top 2 lines in the .htaccess file,
   but i really want to get this sorted out without the error reporting off:
 *     ```
       php_flag display_errors off
       php_flag display_startup_errors off
   
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /blog/
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /blog/index.php [L]
       </IfModule>
       #END WordPress
       ```
   
 *  [bringthebeats](https://wordpress.org/support/users/bringthebeats/)
 * (@bringthebeats)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/permalinks-6/#post-645006)
 * I’m having similar troubles. My permalinks aren’t working with this new update.
   I have links all over my site and on messageboards so the default links aren’t
   an option for me. Can someone please help asap?
 *  Thread Starter [louie37](https://wordpress.org/support/users/louie37/)
 * (@louie37)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/permalinks-6/#post-645014)
 * reset to default, then back to the option you had.
 * edit your .htaccess file and add the code above (php_flag..) to it at the very
   top.
 * That worked out for me for the moment.
 *  [bringthebeats](https://wordpress.org/support/users/bringthebeats/)
 * (@bringthebeats)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/permalinks-6/#post-645031)
 * unfortunately no go. but thanks. any other suggestions… who knows when my provider
   will figure it out?
 *  Thread Starter [louie37](https://wordpress.org/support/users/louie37/)
 * (@louie37)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/permalinks-6/#post-645037)
 * can you revert it back to the previuos one?
 * And what version was before upgrade?
 *  [bringthebeats](https://wordpress.org/support/users/bringthebeats/)
 * (@bringthebeats)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/permalinks-6/#post-645042)
 * i went from the last version of 2.2… whatever that one was… directly to 2.31.
   could that be a problem?
 *  Thread Starter [louie37](https://wordpress.org/support/users/louie37/)
 * (@louie37)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/permalinks-6/#post-645049)
 * yes it could be. after uploading the new files did you go to the wp_admin/upgrade.
   php page?
 *  [bringthebeats](https://wordpress.org/support/users/bringthebeats/)
 * (@bringthebeats)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/permalinks-6/#post-645069)
 * yes most definitely. and everything seemed to update fine.
 *  [bringthebeats](https://wordpress.org/support/users/bringthebeats/)
 * (@bringthebeats)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/permalinks-6/#post-645071)
 * found the answer…
 * [http://www.joelika.com/](http://www.joelika.com/)

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

The topic ‘Permalinks’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 9 replies
 * 2 participants
 * Last reply from: [bringthebeats](https://wordpress.org/support/users/bringthebeats/)
 * Last activity: [18 years, 6 months ago](https://wordpress.org/support/topic/permalinks-6/#post-645071)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
