I would like to make it so the URLs of my pages (created in the Wordpress dashboard) show up right after the domain name instead of after the blog directory.
I have installed Wordpress in a directory called blog which is located in the public_html directory. When I make a page from the Wordpress dashboard it will by default appear under the blog directory like:
www.site.com/blog/page
What I would like to do is take advantage of Wordpress's built in 'pretty URL' styling but use them outside of the blog directory where Wordpress is installed. So for example:
www.site.com/page
When I try to manually create a page, add it in public_html directory and view it on my site it looks like:
www.site.com/page.html
I don't like the trailing .html
because it is not clean looking and just extra unneeded info for the visitor.
UPDATE:
Also keep in mind that I would also like to keep the URLs of each post looking like:
www.site.com/blog/post
So to sum it up:
How can I make my Wordpress page URLs look like www.site.com/page
while having my Wordpress installed in www.site.com/blog
as well as having my post URLs looking like www.site.com/blog/post
?