Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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.

Any ideas?

share|improve this question
    
This is actually an .htaccess question, not a WordPress question. –  Chip Bennett Aug 21 '12 at 15:56

1 Answer 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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.