WordPress.org

Ready to get started?Download WordPress

Forums

Hide URLs for scheduled posts (1 post)

  1. Nordi
    Member
    Posted 10 months ago #

    I often write for future and when I write I link scheduled posts on each other. But for visitors it creates links which lead to 404 error page for scheduled posts.

    My suggestion: please create a plugin which checks all urls in posts and if it find link which point to scheduled or non existent posts, then transform them into plain text before render a page.

    For example before:

    Read more about <a href="http://site.com/rabbits.html">rabbits</a>.

    after "rabbits" became plain text until article about rabbits will be published.

    Read more about rabbits.

    I think it can be parser on the fly, i.e. without any real changing in posts. So when scheduled post is published, all links to it became real urls.

Reply

You must log in to post.

About this Topic

  • RSS feed for this topic
  • Started 10 months ago by Nordi
  • This topic is not a support question
  • WordPress version: 3.6.1