[wp-trac] [WordPress Trac] #53141: Improve permalinks settings error messages
WordPress Trac
noreply at wordpress.org
Sun Apr 3 00:10:55 UTC 2022
#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 needs-copy- | Focuses: administration, ui-
review | copy
-------------------------------------+-------------------------------------
Changes (by sabernhardt):
* keywords: has-patch => has-patch needs-copy-review
Comment:
=== Updated text after r53047 (which added the Mac shortcut)
==== `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. This is the URL
rewrite rule you should have in your `web.config` file. Click in the field
and press `Ctrl + A` (or `⌘ + A` on Mac) to select all. Then insert this
rule inside of the `/<configuration>/<system.webServer>/<rewrite>/<rules>`
element in `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
the 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.
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. This is the
URL rewrite rule you should have in your `web.config` file. Create a new
file called `web.config` in the root directory of your site. Click in the
field and press `Ctrl + A` (or `⌘ + A`) to select all. Then insert this
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. These are the
mod_rewrite rules you should have in your `.htaccess` file. Click in the
field and press `Ctrl + A` (or `⌘ + A` on Mac) to select all.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53141#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list