consolidate restriction and wp conf