#4281 closed defect (bug) (invalid)
Can not view drafts when splash index page activated
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.2 |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
A user is unable to 'view' drafts when there is a splash screen (index.html).
Steps to Recreate
====
- Set up WordPress to use pretty-URLs
- Create index.html (splash screen) in word-press root directory (along-side index.php).
- Save a post as Draft.
- Select View post (draft)
- URL will be something like http://mydomain/?p=postid
- The index.html page will be displayed, not he draft (because it is not using index.php)
Work Arounds
====
- Save post as Private, view private is possible.
or
- Do some fancy .htaccess/Apache stuff
or
- Remove index.html and add a fancy if-else block to the index.php page.
or
- Remove index.html and give up on the CMS idea.
Example
=====
http://ingabirna.com/?p=3
Change History (2)
Note: See
TracTickets for help on using
tickets.
This is an incorrect way of doing a splash screen. The better way would be:
This is basically all covered here:
http://codex.wordpress.org/Creating_a_Static_Front_Page