Make WordPress Core

Opened 11 years ago

Closed 11 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)

#1 @sivel
11 years ago

  • Component changed from General to Administration
  • Keywords reporter-feedback added

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.

#2 @obvio
11 years ago

  • Keywords reporter-feedback removed

I've tested on a new separate installation and it doesn't happen, probably a glitch, will post anything if it happens again.

#3 @nacin
11 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.