WordPress.org

Ready to get started?Download WordPress

Forums

Categories Give Wierd URL (5 posts)

  1. th3n33ms
    Member
    Posted 8 years ago #

    Hey guys
    On my WP installation I have a theme that includes a dropdown menu for the Categories. All the categories are alphabetical and everything, but when you click the go button (after selecting a category) it gives me a odd url.

    http://mydomain.com/?cat=7&submit=GO

    Thats the URL I get when I go to my Music category?
    How can I get it to show a full url. (mydomain.com/category/whateverthename)

    The code I have in my sidebar.php is the following

    <div class="titolobox2">
    Categories
    </div>
    <div align="center">
    <form action="<?php echo $PHP_SELF ?>" method="get">
    <p style="padding: 0px; margin: 0px;"><?php dropdown_cats(); ?>
    <input type="submit" id="button" name="submit" value="GO" />
    </form></div>

  2. mylagoon
    Member
    Posted 8 years ago #

    Have you edited/added your categroy permalink options in the WP Admin?

    http://codex.wordpress.org/Using_Permalinks

  3. moshu
    Member
    Posted 8 years ago #

    The dropdown cat list doesn't care about your permalinks: it won't use it, just the default "cat=x".

  4. th3n33ms
    Member
    Posted 8 years ago #

    Is there a way to make the dropdown cat list care? :-p

  5. kReEsTaL
    Member
    Posted 7 years ago #

    Up!

    I have the same problem actually. Anyone?
    Thanks in advance (even though the reply is: "there's no way to make the dropdown cat care about permalinks").

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.