[wp-hackers] Pages and an alternate location

Frank Schaap architext at fragment.nl
Mon Feb 14 19:43:50 GMT 2005


Dougal Campbell wrote:
> Eli Sarver wrote:
>> I wanted to move my pages to /pages on my site, and I found that the
>> wp_get_pages() function allows one to change many things about the
>> pages listed, but not the base path to pages.
>>
>> Is there something painfully obvious I'm missing about this? Or do we
>> need some sort of permalink variable for pages as well?
> 
> You could create a page named "pages" and make your other pages 
> sub-pages with "pages" as their parent.

A related issue: if in Options I set my weblog URI to http://mysite/blog/ it 
seems that all pages will automatically be published under mysite/blog/ and 
cannot be placed in the root directory of mysite/

Any possible solutions to this?


Frank.


More information about the hackers mailing list