• Resolved kllantz

    (@kllantz)


    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 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 to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @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

    I hope the above was helpful.

    Kind regards,

    Manoj

    Thread Starter kllantz

    (@kllantz)

    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

    (@kllantz)

    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

    (@kllantz)

    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.