scriptygoddess

15 Feb, 2011

WordPress edit_post_link doesn't display (fix)

Posted by: Jennifer In: WordPress|WordPress Hacks|WordPress: Lessons Learned

I recently ran into this problem – and I see an old thread on the forums about this. The last post there says to make sure you're logged in. (I can assure I was). But, that's not what was causing the problem. Here are the steps that got me to the problem:

Set up a new WordPress install. Logged in. Among a few other changes, I also changed the path for the site URL in the general settings to be the domain root (rather than the directory where WordPress was installed). I had made a custom theme with "edit this page" links… but they weren't showing up.

The reason: when I logged in the first time, the "admin" cookie that was set was specific to the directory where I installed WordPress – and did not apply to the root domain where it was now pointed. Since that change happened AFTER I was already logged in, WordPress did not update my cookie to include the root directory – so those pages could not see that I was in fact logged in.

The simplest fix is to log out and then log back in – which should set your cookies appropriately.

No Responses to "WordPress edit_post_link doesn't display (fix)"

Comments are closed.

Featured Sponsors

Genesis Framework for WordPress

Advertise Here


  • Scott: Just moved changed the site URL as WP's installed in a subfolder. Cookie clearance worked for me. Thanks!
  • Stephen Lareau: Hi great blog thanks. Just thought I would add that it helps to put target = like this:1-800-555-1212 and
  • Cord Blomquist: Jennifer, you may want to check out tp2wp.com, a new service my company just launched that converts TypePad and Movable Type export files into WordPre

About


Advertisements