Forums

[resolved] Post preview just looks like the Blog's main page (6 posts)

  1. daveabrahams
    Member
    Posted 1 year ago #

    Whenever I press the preview button in the "edit post" area or click the preview link in the "posts" overview, it takes me to a url something like: http://daveabrahams.com/?p=105&preview=true but what I see there looks just like the site's home page, i.e. http://daveabrahams.com.

    I am using a custom permalink structure (/%year%/%monthnum%/%day%/%postname%/) but turning that off doesn't seem to have an impact. I am using multisite with domain mapping, but even the primary site (http://techarcana.net) and unmapped subdomains (e.g. http://ryppl.techarcana.net) show the same behavior.

    I'm almost at my wits' end on this one. Please help!

  2. Andrea_r
    team pirate
    Posted 1 year ago #

    Did you try disabling all the plugins?

    I used the preview function on a mapped domain in a 3.0 install - so I know it does work. ;)

  3. daveabrahams
    Member
    Posted 1 year ago #

    Yes, I tried disabling all the plugins. No joy.

  4. daveabrahams
    Member
    Posted 1 year ago #

    FWIW this site was upgraded from WPMU 2.x to WP 3.0 recently.

  5. daveabrahams
    Member
    Posted 1 year ago #

    Huge clue: if I change the permalink structure to using CGI variables (e.g. http://daveabrahams.com/?p=123), I can't actually view any published posts individually. So somehow, CGI variables aren't getting picked up.

  6. daveabrahams
    Member
    Posted 1 year ago #

    Turns out I had this rewrite rule in my lighttpd.conf, which was dropping the CGI vars:

    "." => "index.php"

    Actually I found several other rewrite problems upon careful inspection. My original rules came from http://blog.nifelheim.info/tech/2008/04/10/lighttpd-rewrite-rules-for-wordpress-mu/ (seems to be dead ATM).

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags