How to make wordpress folder (/wordpress) redirect to /?

I have my website setup with WordPress in its own folder. The URL website.com/wordpress is currently a 404 (which makes sense since the page doesn’t exist), but I want it to redirect back to the root.

I’ve tried using the Redirection plugin to setup the redirect, but it is still a 404.

Read More

Any ideas?

Related posts

Leave a Reply

1 comment

  1. Wait, scratch my comment above. :/

    1. Go to Admin -> Settings -> General
    2. Ensure WordPress URL remains the same (e.g. example.com/wordpress)
    3. Change Site URL to remove the subdirectory (e.g. example.com)
    4. For good measure, go to Admin -> Settings -> Permalinks to flush your rewrite rules

    That should be all you need.