I have a one-page wordpress site. It uses pages and posts but is all programatically included in the core template. I don’t want users to ever accidentally access a single posts (even though it’s unlikely that would ever happen). I would prefer to not have to use a 404 template either so it would be great to redirect EVERY page to the home page. Is this easily done without interfering with the default .htaccess rules?
Share
I ended up using this plugin and redirecting each page manually, thus leaving irrelevant pages to throw a 404 error. It’s not what I wanted but in the end it’s best practice.