• Resolved alan-brind

    (@alan-brind)


    Tough WP install…spent weekend trying…eventually had to load into Root. Now Preview function fails and returns 404. Also, how do I remove “Edit” on Front Page Post (after Authors Name) or prevent it from accessing admin dashboard?

Viewing 4 replies - 1 through 4 (of 4 total)
  • There’s not enough information to help you with the first question, but please do review “Giving WordPress Its Own Directory“. Is it possible you didn’t fully undo the steps that you tried there.

    It’s usually not a good idea to put two questions in one post — but have you checked what things look like when you are logged out of WordPress? Often that edit link is implemented with the edit_post_link template tag — which doesn’t display anything unless the viewer is logged in and has permission to edit that particular post. If you really don’t want that showing up for any of the users, then look for that template tag in the corresponding theme file and remove it or comment it out. For instance, your index.php may have a line that looks like:

    <?php edit_post_link('Edit','',' | '); ?>

    Either remove that (or if you think you might want to put it back) change it to:

    <?php /* edit_post_link('Edit','',' | '); */?>

    A link to your installation might provide additional clues for both problems.

    See also this thread about deleting the Meta information that is often printed near the title (or near the end) of a post.
    http://ww.wp.xz.cn/support/topic/355628?replies=11

    Thread Starter alan-brind

    (@alan-brind)

    Thanks, Edit problem resolved…I removed the edit_post_link template tag.
    Still working on Preview and other links that only return 404…will try the separate root and subdirectory fix.

    Thread Starter alan-brind

    (@alan-brind)

    Thanks, also solved access to Preview…I separated the directories and configured the URL linking to reflect this.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Preview and Front Page Edit problems’ is closed to new replies.