Opened 2 years ago
Closed 2 years ago
#16743 closed defect (bug) (worksforme)
Can't set static page as front page when using WP_CONTENT_DIR
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 3.1 |
| Severity: | normal | Keywords: | |
| 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)
comment:1
sivel
— 2 years ago
- Component changed from General to Administration
- Keywords reporter-feedback added
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.