Skip Navigation

[Resolved] Gutenberg issues related to permalinks structure

This thread is resolved. Here is a description of the problem and solution.

Problem:
The user was having issues with the block editor when he uses a different permalink structure than the plain one.

Solution:
The blocks editor depend on the REST API, and the REST API depends on the mod_rewrite mode of the server. The user was able to fix the nginx configuration to fix the issue. Check this reply https://toolset.com/forums/topic/gutenberg-issues-related-to-permalinks-structure/#post-2110407

This support ticket is created 4 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 2 replies, has 2 voices.

Last updated by christopherB-9 4 years, 1 month ago.

Assisted by: Jamal.

Author
Posts
#2110301

I noticed an issue with the permalink settings when I try to use the gutenberg view block on a page. When I have permalink set to plain, everything works fine, when I change it to post name, I'm unable to create a new view block on a page. I get an error in my console that reads (see attachment). I think there might be a setting that I need to change in toolset, but I'm not quite sure.

#2110361

I believe that you have been disconnected from the chat before sharing a Duplicator copy of your website. Please prepare a Duplicator copy, or an All In One Migration package and share it using Google Drive. Please create an administrator user and password for me before taking the copy and share it on your next reply.

Your next reply will be private to let you share the download link safely.

#2110407

My issue is resolved now. Thank you!

https://wordpress.org/support/article/using-permalinks/#creating-and-editing-htaccess

I found the solution here: https://stackoverflow.com/questions/27593466/plesk-nginx-wordpress-permanent-links-404-not-found-nginx

You must just insert in the "Additional nginx directives":

try_files $uri $uri/ /index.php?$args;