URL rewriting occurs when URLs are created and generated. Dynamic URL rewriting often occurs in real time when users create or generate a web page or widget.