admin95
Member
Posted 3 years ago #
Problem:
I'd like to change this:
http://www.example.com/wordpress/permalink_page_name
to
http://www.example.com/permalink_page_name
Basically, I'd like to use mod_rewrite to hide the directory that wordpress is living in. I prefer not to move the install to the root since I am hosting several other sites from my address and want to keep things neat. I am also running permalinks and I don't know if that will conflict with what I am trying to do.
If anyone has done this with their own site, I'd love it if you could post example .htaccess code to accomplish this.
Mucho gracias
admin95
Member
Posted 3 years ago #
Thank you for your reply.
I saw this solution but the problem is that I have an index.html existing in the root. It's a like a splash page to the blog driven main parts of the site. Won't index.php and index.html have a conflict living in the root together?
Won't index.php and index.html have a conflict living in the root together?
Yes.
I have an index.html existing in the root. It's a like a splash page to the blog driven main parts of the site.
You could get rid of index.html and instead use a static front page and posts page with WordPress: Dashboard -> Settings -> Reading
admin95
Member
Posted 3 years ago #
That's an option, but the splash page looks a bit different in structure than the rest of the site. It sounds like I am just going to have to make a compromise between having the design of the site look exactly how I want and making the url look exactly how I want.
Thank you again for your response.
admin95
Member
Posted 3 years ago #
Good info, again, many thanks!
admin95
Member
Posted 3 years ago #
Thanks again iridiax, I've accomplished what I wanted with help from the links you provided. This issue is resolved.