WordPress.org

Support

Support » Themes and Templates » Categories Give Wierd URL

Categories Give Wierd URL

  • 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>

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Categories Give Wierd URL’ is closed to new replies.
Skip to toolbar