When I am not logged in my WordPress site, suppose I am in a page like:


Is there any way that I can create a direct link to the edit admin page for this specific 'pagename'? For example, something like


which of course will require first admin login.

1 Answer 1


I am not sure I completely follow your second example.

You can use get_edit_post_link() template tag, which will output the link to admin side for the current post (only for users who can edit the post).

If you just want pretty link for that there is no native way, but it looks similar to what Slash Edit plugin does.

  • Slash Edit is exactly what I wanted. Thanks a lot!!!
    – Chang
    Commented Oct 31, 2014 at 18:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.