[wp-trac] [WordPress Trac] #27019: Redirect by page slug does not work in permalink structure /%category%/%postname%/
WordPress Trac
noreply at wordpress.org
Wed Jul 23 08:01:20 UTC 2014
#27019: Redirect by page slug does not work in permalink structure
/%category%/%postname%/
--------------------------+------------------------------
Reporter: dimagsv | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Permalinks | Version: 3.8.1
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by dimagsv):
Replying to [comment:4 mboynes]:
> If WordPress were to have such a feature,
`redirect_guess_404_permalink()` would not be the way to go; we'd want to
instead do something like store the old rules, and process them for 404s.
Personally, I wouldn't want such a feature, as it would mean significantly
more effort to display 404s, and would make every WordPress site more
vulnerable to DOS attacks.
I agree with you. Feature to process the old rules would make WordPress
vulnerable. You are right, this must be a plugin.
I propose to create an automatic redirects for pages only. No need to
process old rewrite rules. Permalink structure changes very rare. In my
case - once at the beginning. But pages moves from root to subpages
frequently on site growth. What do you think, should it also be a plugin?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27019#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list