setting permalinks with wp cli doesn’t take but works in admin screen
-
Consistent issue with wp cli installs: my script includes one or both of these:
wp option update permalink_structure ‘/%postname%/’;
wp rewrite structure ‘/%postname%’;
yet links in the menu fail. No errors are returned.
In the admin dashboard, the setting shows ‘Custom Structure’ with /%postname%/ in the #permalink_structure input field. I change it to the ‘Post name’ option, which has no visible change on the page other than to move the radio button selection, but then, menu links work as expected.
The URLs involved never change, they simply go from 404 to working.
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘setting permalinks with wp cli doesn’t take but works in admin screen’ is closed to new replies.