Opened 14 years ago
Closed 14 years ago
#16743 closed defect (bug) (worksforme)
Can't set static page as front page when using WP_CONTENT_DIR
Reported by: | obvio | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.1 |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
I'm using
define( 'WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'] . '/content' ); define( 'WP_CONTENT_URL', 'http://domain.com/content'); define( 'WP_PLUGIN_DIR', $_SERVER['DOCUMENT_ROOT'] . '/content/plugins' ); define( 'WP_PLUGIN_URL', 'http://domain.com/content/plugins');
and when trying to set static front page it always reverts/jumps back to Uour latest posts.
I tried with 2010 with no plugins activated on a fresh install, re-saved permalinks etc. and only when uncommenting those lines I managed to set a static from page.
Change History (3)
Note: See
TracTickets for help on using
tickets.
I have tested, but cannot replicate this issue. I have tested on both 3.1 and 3.2-bleeding. I tried using default permalinks and month and name.
Just for kicks have you tried not using
$_SERVER['DOCUMENT_ROOT']
but actually using the real file path? I don't see how that could effect anything, but worth trying.