Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#15235 closed defect (bug) (invalid)

add_rewrite_rules and default permalink structure

Reported by: arena Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords: reporter-feedback
Focuses: Cc:


hooks 'generate_rewrite_rules' & 'rewrite_rules_array' are never activated if permalink structure is default (non_wp_rules !!)

Change History (6)

#1 @nacin
8 years ago

What's the problem here? If there is no rewriting, then no htaccess file, no rules to filter, anything of the sort.

Please be more specific in your "bug" reports. Nearly every one someone has to ask for more information on why such and such is a bug. Thanks.

#2 @nacin
8 years ago

  • Keywords reporter-feedback close added

#3 @nacin
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

#4 @arena
8 years ago

  • Keywords close removed
  • Resolution invalid deleted
  • Status changed from closed to reopened

wordpress wp_rewrite api gives the ability to have non_wp_rules ...

so if there is no wordpress rewrite rules there can be non_wp_rules to wrtie in the .htaccess !!!

#5 @nacin
8 years ago

This is by design. If there are no rewrite rules, then we're not writing anything to an htaccess file. That means we'll ignore any non_wp_rules.

#6 @nacin
8 years ago

  • Resolution set to invalid
  • Status changed from reopened to closed

No rewrites means no file means we can't add any rules to the file.

Note: See TracTickets for help on using tickets.