SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Jun 2013
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Change Category URL's...

    Hello!

    This is a pretty simple question (I think), but being brand new to WordPress, I'm still a little stumped...

    Is there a way to change the Categories URL from the category number, to the category slug? Like, I choose a certain category in the drop-down box, and it ends on a page that ends in the category number, rather than a more descriptive, prettier category slug.

    Basically, I want to change the category pages...

    From This: http://myblog.com/?cat=4
    To This: http://myblog.com/science-news

    This is with Wordpress 3.5.1.

    Thanks!

  2. #2
    Barefoot on the Moon! silver trophy Force Flow's Avatar
    Join Date
    Jul 2003
    Location
    Northeastern USA
    Posts
    4,617
    Mentioned
    56 Post(s)
    Tagged
    1 Thread(s)
    You need to enable permalinks under Settings > Permalinks.

    Additional info: http://codex.wordpress.org/Using_Permalinks
    Visit The Blog | Follow On Twitter
    301tool 1.1.5 - URL redirector & shortener (PHP/MySQL)
    Can be hosted on and utilize your own domain

  3. #3
    SitePoint Member
    Join Date
    Jun 2013
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alright, I'll give it a look, thanks.

  4. #4
    SitePoint Member
    Join Date
    Jun 2013
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay, I've set permalinks, but that only effects posts, not the category pages.

    One thing I've noticed is that it only shows the category I.D. for parent categories. For child categories, it shows the category slugs.

    Parent Category Pages: http://myblog.com/?cat=4
    Child Category Pages: http://myblog.com/news/science-news

    What I need is the parent category pages to look just like the child category pages, minus the child category slug. I hope that makes sense.

    Could this be a theme-specific issue, rather than a Wordpress issue?

  5. #5
    SitePoint Member
    Join Date
    Jun 2013
    Location
    Santa Clara, CA, USA
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can browse through http://wordpress.org/extend/plugins/decategorizer/ and can change the category url.
    I have tried it and it works perfectly.
    Give it a try.

  6. #6
    SitePoint Member
    Join Date
    Jun 2013
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I figured it out. Both URL's worked, I just happened to have a page with the exact same title as the category I was testing in the trash, so Wordpress was redirecting to it, and giving me the "Page Not Found" error. Once I emptied the trash, things worked fine.

    Yep, I'm a n00b.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •