WordPress.org

Ready to get started?Download WordPress

Forums

Can't preview draft post (4 posts)

  1. travelerjjm
    Member
    Posted 1 year ago #

    I have searched for this for a couple of hours, and I cannot find the answer.
    I went to post a new post on http://www.jkintl.com. The permalink was created successfully ( http://www.jkintl.com/2012/12/i-am-speaking-at-ice/). But I could not preview the draft post before I posted -- I kept getting a WordPress page not found. The Preview button tried to use http://www.jkintl.com/?p=29&preview=true which works now that the post is posted, but didn't when I was trying to preview.

    To summarize ?p=<id> works fine after posting, but not in the preview.

    Here is my .htaccess

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    I have seen one solution and that is to make the WordPress address (URL) and the Blog address (URL) match. That won't work for me as my installation is in a subdirectory.

    Any ideas?

  2. idogenealogy
    Member
    Posted 1 year ago #

    I have the exact same problem. And I too have my WordPress site in a subdirectory.

  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    @idogenealogy - it's actually quite unlikely that your problem is identical - even if it seems similar. Please start your own thread if you'd like help with it. Please also include relevant information in your thread per -
    http://codex.wordpress.org/Forum_Welcome

  4. idogenealogy
    Member
    Posted 1 year ago #

    Thank you WPogi. But did you provide ANY help to travelerjim?

    However, the problem is exactly the same. EXACTLY except for domain name, number of the file, etc.

    HTACCESS same too:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    So if someone provides travelerjim an answer, I'll have my answer as well.

Topic Closed

This topic has been closed to new replies.

About this Topic