[wp-trac] [WordPress Trac] #4281: Can not view drafts when splash index page activated

WordPress Trac wp-trac at lists.automattic.com
Thu May 17 16:12:10 GMT 2007


#4281: Can not view drafts when splash index page activated
----------------------------+-----------------------------------------------
 Reporter:  alexgenaud      |       Owner:  anonymous
     Type:  defect          |      Status:  new      
 Priority:  normal          |   Milestone:  2.4      
Component:  Administration  |     Version:  2.2      
 Severity:  normal          |    Keywords:           
----------------------------+-----------------------------------------------
 A user is unable to 'view' drafts when there is a splash screen
 (index.html).


 Steps to Recreate
 ====
 0. Set up WordPress to use pretty-URLs
 1. Create index.html (splash screen) in word-press root directory (along-
 side index.php).
 2. Save a post as Draft.
 3. Select View post (draft)
 4. URL will be something like http://mydomain/?p=postid
 5. The index.html page will be displayed, not he draft (because it is not
 using index.php)

 Work Arounds
 ====
 1. Save post as Private, view private is possible.
 or
 2. Do some fancy .htaccess/Apache stuff
 or
 3. Remove index.html and add a fancy if-else block to the index.php page.
 or
 4. Remove index.html and give up on the CMS idea.

 Example
 =====
 http://ingabirna.com/?p=3

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4281>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list