WordPress.org

Ready to get started?Download WordPress

Forums

Postslugs (6 posts)

  1. Jenniferr
    Member
    Posted 8 years ago #

    How would I use them?

  2. amory
    Member
    Posted 8 years ago #

    Easily:
    Rather than leaving the post-slug input blank, in which case the title of your post is converted to your post-slug, simply input whatever you want the post's name to be.

    For example, if your post is "the hurricane rita disaster" your post-slug could be something like "rita" "disaster" or "hurricane" etc...

  3. Jenniferr
    Member
    Posted 8 years ago #

    Thanks, but I don't really understand what they do.

    I thought you could use them in URL's

    ie.

    http://www.domain.ext/hurricane-rita

    Or something like that.

  4. Cypher
    Member
    Posted 8 years ago #

    You can create either a Post or a Page. With a Post, the permalink is "?p=<post id>" and then you enable pretty permalinks to get something like "/name-of-the-post", this is the Post-Slug. You can change this particular piece to be anything you want, because the underlying post number is fixed.

    Now the second way of putting stuff on your blog is through Pages. These are essentially timeless, in that they are not fixed to a particular timebase and can be called seperate using the URL you've mentioned above.

    So if you want to make a page just about hurricane Rita, you would go to Write->Pages and then write your content using the page-slug to be what you want. Usually the page-title will become the slug, but if you want the page to be called <domain.com>/hurricane-rita and the page title to be "My Views on Hurricane Rita", then you use the page-slug..

    I hope this makes sense. :)

    Regards

  5. chuckevans
    Member
    Posted 8 years ago #

    BY using the "page-slug" can the url be .com/hurricane_rita
    instead of .com/?page_id=29

    I'd like to be able to use search engine frinedly urls instead of the default

    thanks,

    chuck

  6. Cypher
    Member
    Posted 8 years ago #

    Using the user-friendly names for both post and page slugs require that you have the Permalink feature turned on in WordPress. Once that happens, you can definitely access posts and pages by their friendly names as opposed to ?p=<id > and ?page_id=<id>..

    Regards

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags