Don’t use ?m= for your own query strings in WordPress

I added ?m=1 to force a mobile view while testing, and got a page-not-found instead of the page. WordPress reserves m for date archives (?m=202611 means November 2026). Pick a name WordPress doesn’t use, such as ?view=mobile, and register it with the query_vars filter if you need it.

Another WordPress surprise: -- becomes an en dash.

Vishwas Bhatnagar

More quick notes

More