Redirect old numbered URLs without breaking useful numbers
A tightly scoped Apache rule for a known legacy URL pattern, with checks for collisions, query strings and permanent redirect mistakes.
Open Code ByteMove WordPress to HTTPS without redirect loops
Establish working TLS, update the correct WordPress addresses and add HTTPS redirects in the layer that actually terminates the connection.
Open Code ByteReturn a proper 503 maintenance page with Apache
Show a self-contained maintenance page with the correct HTTP status and retry guidance, without redirecting every visitor to a misleading success page.
Open Code ByteAdd a trailing slash only where your routes expect one
Normalise selected page URLs with Apache without adding slashes to assets, APIs, unknown paths or payment callbacks.
Open Code ByteKeep one static directory outside a CMS's Apache rewrites
A precise Apache rewrite exception for a standalone directory, with path-boundary matching and a clear distinction from redirects and access control.
Open Code ByteRedirect an old domain while keeping its page paths
Move an Apache-hosted domain to a fixed HTTPS destination, preserve useful URLs and test before making redirects permanent.
Open Code Byte