WordPress.org

Make WordPress Core

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: obvio 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 sivel2 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.

comment:2 obvio2 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.

comment:3 nacin2 years ago

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