Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#55734 closed defect (bug) (invalid)

Only the 'Plain' setting works / incompatible with some plugins

Reported by: redglyph's profile redglyph Owned by:
Milestone: Priority: normal
Severity: major Version: 5.9.3
Component: Permalinks Keywords:
Focuses: Cc:

Description

The installation by default seems to work correctly. If I change the Settings / Permalinks / Common Settings to another option than 'Plain',

  • I cannot access the existing posts anymore, they lead to a 404
  • If I try to create a new post, after clicking and confirming 'Publish', I get a "Publishing failed. The response is not a valid JSON response." in a red banner at the top
  • I see that the URL, when I hover a post title with my mouse, changes accordingly to the new setting (so at least that part works)

I was expecting

  • the existing page URLs to be adapted to the new setting
  • being able to create new posts after changing to the new setting

Moreover, important plugins like wpForo don't work with the default 'Plain' setting.

WordPress: Version 5.9.3
Apache version: 2.4.53-1
PHP Version: 8.1.4
MySQL version: MariaDB 10.7.3

Change History (3)

#1 @redglyph
4 years ago

Redone the test with php7, same results.

Steps:
1) In VM with Manjaro, php7-apache, MariaDB installed, set and already working with other websites (like phpMyAdmin):

  • install WordPress
  • in installation directory (/usr/share/webapps/wordpress for me), copy wp-config-sample.php to wp-config.php
  • edit and fill in database information & credentials

2) In browser

=> installation page

  • installation
  • log in
  • click on "Hello World!" post => OK
  • click on "Sample page" => OK
  • Settings / Permalinks / Common Settings to Numeric
  • click on "Hello World!" post => 404
  • click on "Sample page" => 404
Last edited 4 years ago by redglyph (previous) (diff)

#2 @redglyph
4 years ago

  • Resolution set to invalid
  • Status changed from new to closed

This was wrong in the Apache configuration file:

AllowOverride None

Changed to:

AllowOverride All
Order allow,deny
Allow from all

#3 @desrosj
4 years ago

  • Component changed from General to Permalinks
  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.