[wp-trac] [WordPress Trac] #53141: Improve permalinks settings error messages

WordPress Trac noreply at wordpress.org
Mon May 3 19:21:45 UTC 2021


#53141: Improve permalinks settings error messages
-------------------------+--------------------------------------
 Reporter:  sabernhardt  |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Permalinks   |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  administration, ui-copy
-------------------------+--------------------------------------
Changes (by sabernhardt):

 * keywords:   => has-patch


Comment:

 [attachment:"53141.diff"] also adds error prefixes (as recommended in
 #50442).

 ==== `web.config` is not writable

 1. Error: Your `web.config` file is not
 [https://wordpress.org/support/article/changing-file-permissions/
 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
 [https://wordpress.org/support/article/changing-file-permissions/
 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
 [https://wordpress.org/support/article/changing-file-permissions/
 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53141#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list