[wp-trac] [WordPress Trac] #13779: Preview don’t work - WP installed in its own directory

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 8 01:32:05 UTC 2010


#13779: Preview don’t work - WP installed in its own directory
--------------------------+-------------------------------------------------
 Reporter:  antares19     |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  General       |     Version:  2.9.2     
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------
 1.  Wordpress is installed on /wp/ subdirectory.

 2. Then it was set up to be visible from the site root according to
 http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

 3. Site works fine

 4. [BUG] Preview for posts & pages isn’t working.

 When I press preview it goes to url like:
 http://example.com/?preview=true&preview_id=235&preview_nonce=aa28f04
 and says "You do not have permission to preview drafts.".

 5. If I type subdirectory name “/wp/” in that url by hands, it shows
 correct preview:
 http://example.com/wp/?preview=true&preview_id=235&preview_nonce=aa28f04

 6. The situation is getting worse if i'm using permalinks. In that case -
 there is nothing i can do to see preview.

 ps: I’ve tested that on clean install.

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


More information about the wp-trac mailing list