I brought up a website using wordpress, but I had to visit my website in a way I don‘t like -- www.example.com/wordpress/. Well, frankly, I want the "/wordpress/" to go to hell.
but how? I did a lot of google, and found some pretty well-written article talking about it. Pretty happy, erh~. some of good examples can be found in this blog and wordpress official website.
So I decided to try and follow their steps. but unfortunately, none of them worked for me. And Fucking luckly, I cracked down my website and was never able to bring it back. Having struggled for almost two hours, I had no choice but to un-install the wordpress, which I have devoted days in it. So I did it and re-installed the wordpress, followed exactly the steps those articles offer, still never made it.
Suddenly, I reminder that it is bitnami I was using, perhaps I should have a little check on its wiki. And you know what, I did indeed find a post about my problem, and there is one command:
bnconfig --base_directory installation_dir --appurl /
which solved all my trouble. What a fucking interesting day!
How to Get Rid of /wordpress/ From your WordPress Site URL,布布扣,bubuko.com