Title: Permalink issues
Last modified: October 2, 2018

---

# Permalink issues

 *  Resolved [kllantz](https://wordpress.org/support/users/kllantz/)
 * (@kllantz)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/permalink-issues-22/)
 * Hello,
 * So when I create a new post, the content is created but the permalink directs
   to a 404 error. If I go into permalinks on the dashboard to fix it, it breaks
   the whole site. I’ve done this 2-3 times today and cannot seem to get it fixed.
   Here’s what I got from support chat with the webhost:
 * > It is issue with theme permalink, all other pages are working the post page
   > redirects to [https://www.kennylantz.com/’/2018/10/01](https://www.kennylantz.com/’/2018/10/01)
   > there is ‘ added it is set under theme, it is customized if we change that 
   > all other pages will go down
 * Please help, thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpermalink-issues-22%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [TUT Support](https://wordpress.org/support/users/phpexpert21/)
 * (@phpexpert21)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/permalink-issues-22/#post-10746002)
 * Hello [@kllantz](https://wordpress.org/support/users/kllantz/),
 * You can delete the two posts and create again or you can set the permalink structure
   again.
 * For better understanding please refer the screenshot-
 * > [OnPaste.20181003-182323](https://imgur.com/2CgKM1k)
 * I hope the above was helpful.
 * Kind regards,
 * Manoj
 *  Thread Starter [kllantz](https://wordpress.org/support/users/kllantz/)
 * (@kllantz)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/permalink-issues-22/#post-10746046)
 * So I deleted the posts and regenerated the first, the problem is not with the
   post itself, but with being able to access the post, the link created by the 
   widget on the front page or within the menu is sending it to the wrong place 
   and there is no way to get it to generate the correct link.
 *  Thread Starter [kllantz](https://wordpress.org/support/users/kllantz/)
 * (@kllantz)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/permalink-issues-22/#post-10746083)
 * So just checked the link structure and the error is in the custom permalink default.
   When I try to change it in order to remove the extra ‘ , the whole site goes 
   down like it is now.
 *  Thread Starter [kllantz](https://wordpress.org/support/users/kllantz/)
 * (@kllantz)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/permalink-issues-22/#post-10748045)
 * Alright, so it is fixed. There was an error in the database from the original
   installation on the server. It would overwrite the htaccess file everytime the
   permalink button was clicked, this would in turn break the site. Fixed the line
   in the DB and all is well.
 * > mysql> select * from _JFM_options where option_value like ‘%php-70%’;
   >  ERROR
   > 2006 (HY000): MySQL server has gone away No connection. Trying to reconnect…
   > Connection id: 2139472 Current database: kennyla1_WPJFM
   > +———–+—————–+——————–+———-+
   >  | option_id | option_name | option_value | autoload
   > | +———–+—————–+——————–+———-+ | 2966 | epe_php_handler | application/php-70 
   > | yes | +———–+—————–+——————–+———-+ 1 row in set (0.06 sec)
   > mysql> update _JFM_options set option_value = ‘application/x-httpd-ea-php70’
   > where option_id=2966;
   >  ERROR 2006 (HY000): MySQL server has gone away No connection.
   > Trying to reconnect… Connection id: 2139616 Current database: kennyla1_WPJFM
   > Query OK, 1 row affected (0.00 sec)
   >  Rows matched: 1 Changed: 1 Warnings: 0

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

The topic ‘Permalink issues’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/phlox/2.17.12/screenshot.png)
 * Phlox
 * [Support Threads](https://wordpress.org/support/theme/phlox/)
 * [Active Topics](https://wordpress.org/support/theme/phlox/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/phlox/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/phlox/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [kllantz](https://wordpress.org/support/users/kllantz/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/permalink-issues-22/#post-10748045)
 * Status: resolved