WordPress.org

Make WordPress Core

Opened 7 weeks ago

Last modified 6 weeks ago

#53141 new enhancement

Improve permalinks settings error messages

Reported by: sabernhardt Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Permalinks Keywords: has-patch
Focuses: administration, ui-copy Cc:

Description (last modified by sabernhardt)

On ticket:40763#comment:6, @johnbillion recommended the removal of Ctrl + A and "we" wording for error messages about an unwritable file or root directory.

Screenshots (forcing the errors in options-permalink.php, as described in ticket:53142#comment:7):

https://core.trac.wordpress.org/raw-attachment/ticket/53142/permalink-errors-before.png

See also #40582

Attachments (1)

53141.diff (4.0 KB) - added by sabernhardt 7 weeks ago.

Download all attachments as: .zip

Change History (3)

@sabernhardt
7 weeks ago

#1 @sabernhardt
7 weeks ago

  • Keywords has-patch added

53141.diff also adds error prefixes (as recommended in #50442).

web.config is not writable

  1. Error: Your web.config file is not writable, so updating it automatically was not possible. Select and copy the URL rewrite rule below, and insert the entire code inside the /<configuration>/<system.webServer>/<rewrite>/<rules> element in the web.config file.
  2. If you temporarily make your web.config file writable to generate rewrite rules automatically, do not forget to revert the permissions after rule has been saved.

root directory is not writable to edit web.config

  1. Error: The root directory of your site is not writable, so creating a file automatically was not possible. Create a new file called web.config in the root directory of your site. Then select and copy the URL rewrite rule below, and insert the entire code into the web.config file.
  2. If you temporarily make your site's root directory writable to generate the web.config file automatically, do not forget to revert the permissions after the file has been created.

.htaccess is not writable

  1. Error: Your .htaccess file is not writable, so updating it automatically was not possible. Select and copy the mod_rewrite rules below, and insert the entire code inside the .htaccess file.

#2 @sabernhardt
6 weeks ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.