WordPress.org

Ready to get started?Download WordPress

Forums

how do I use post slugs? (2 posts)

  1. line
    Member
    Posted 8 years ago #

    I have a site set up that i am working on.
    http://www.terminaldusk.com/dev/

    how would I link to the page with the post slug "contact"?

    Thanks!

  2. Kafkaesqui

    Posted 8 years ago #

    http://www.terminaldusk.com/dev/?pagename=contact

    If you want "pretty" permalinks that make use of it (i.e. "dev/contact"), you need to set up a custom permalink structure under Options > Permalinks.

    Note the server your site is on must support .htaccess and mod_rewrite (an Apache module) for custom permalinks to work.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags