0

I have a website www.mcruiseon.com. I have added .htaccess to get all www.mcruiseon.com to redirect to www.mcruiseon.com/wordpress. But the 'wordpress' still shows up on my html link on browser. Can I hide the fact that the website is hosted under a folder wordpress ?

2 Answers 2

2

If understood correctly, you'll have to follow this Codex instructions: Using a pre-existing subdirectory install.

If you already have WordPress installed in its own folder (i.e. http://example.com/wordpress) then the steps are as follows:

If that's your case, you'll learn how to make WP work as if it were on the root, even being installed on a folder. If your actual .htaccess only have the redirection you mention, you can delete it, otherwise make a backup so you can merge it with the new one (from WordPress).

2
  1. Remove the custom redirection rule you said you added in your .htaccess file.

  2. In WordPress Dashboard > Settings > General > Site Address (URL) — change the URL to http://www.mcruiseon.com

  3. Read this for more info.

4
  • Actually, that's what brasofilo said. +1 to him :)
    – its_me
    Jul 7, 2012 at 5:54
  • These changes are scary :), I think I'll try it out on my test setup and then production. Thanks guys. Very helpful.
    – Siddharth
    Jul 7, 2012 at 6:01
  • Thanks @AahanKrish, I should have left a message pointing your misreading... Cheers, +1+ two!
    – brasofilo
    Jul 7, 2012 at 15:47
  • @brasofilo haha! nevermind! :D
    – its_me
    Jul 7, 2012 at 15:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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