Regex and config for redirecting all URLs, except /wp-admin and /specificpage, to a specific page within the same domain, using the Redirection plugin

The solution is extremely simple.

Just create a rule redirecting all URLs to /specificpage with the position set as 1 (remembering to activate regex for the rule):

^.*

And two “do nothing” rules, one for /wp-admin and another one for /specificpage, both with the position set as 0.

That’s all.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)