Pages outside the WP directory (3 posts)

  1. amirs
    Posted 10 years ago #

    How can I have the URL of my WordPress Pages be outside of my WP directory. In other words, if my weblog (and WP installation) is in http://mydomain.com/blog/, is there a way to have my WP Pages at http://mydomain.com/Pages/ (and NOT http://mydomain.com/blog/Pages/)?


  2. tedfox
    Posted 10 years ago #

    you could play with your .htaccess

    otherwise, i don't think there's a way. Because the pages are actually normal entries configured to be pages.

  3. Alex Mills (Viper007Bond)
    Posted 10 years ago #

    You'll need to set your blog URL to mydomain.com and your WordPress URL to mydomain.com/blog.

    The hard part is that WordPress won't generate links to /blog/, so you'll either have to do some PHP or .htaccess editing to make it redirect to /blog/the/rest/of/the/url/ when a page is accessed from your root.

    Are you using an index.php or index.htm(l) in your root? If .htm(l), just have index.php redirect all reqests to /blog/[requested url], but make your HTML page be the default index page. If .php, that's harder.

    A link to your site would be helpful.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.