bringing back the old rewrite rule checks in widgetpress, but using them conditionally so we can migrate over time