Remove standard Wordpress rewriting rules

Posted by Z3Ro in Wordpress on Wednesday, July 13, 2016
0
0
Type: POST
Size: 0 KB
Dimensions: 0x0
Added: Wednesday, July 13, 2016 15:36
Modified: Monday, November 30, -0001 00:00
The default rules can get in the way if your butchering your Wordpress installation, you can simply remove them by doing an array_slice up to the point that you don't need them.
$wp_rewrite->rules = array_slice($wp_rewrite->rules, 0, 2);
You can add your own rules normally after that.
This site uses google analytics, if you want to avoid being tracked you can use the following app by Google to hide yourself from all analytics tracking.
I accept the terms and conditions of this service.