Forums

edit_post_link() fails when 'blog url' and 'wordpress url' are different? (2 posts)

  1. musaul
    Member
    Posted 2 years ago #

    The edit_post_link() function does not seem to work when the 'Blog address' and the 'WordPress address' for your blog are on different domain/subdomains, i.e. one has a www prefix while the other one doesn't.

    The "edit post" link appears if I set both to have the www prefix or if I omit it in both. But if I include the prefix in one, but not the other, the link doesn't appear when I am logged in.

    Does anyone know if there is a workaround?

    Also, does anybody know how to get this link working with different subdomains, i.e. the "WordPress address" would ideally be using a "manage" subdomain while the "Blog address" will be using the normal "www" subdomain. ... That is, if it is a separate issue from the above.

  2. castig
    Member
    Posted 2 years ago #

    I was having this problem briefly as well.
    But then I noticed it worked in Chrome.

    So i restarted FF, logged in again -> works

    also, remember to update your permalinks (and move your htaccess file if the site isn't brand new)

Topic Closed

This topic has been closed to new replies.

About this Topic