WordPress.org

Support

Support » How-To and Troubleshooting » Change Defaul page to Categories

Change Defaul page to Categories

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi

    @esmi

    Forum Moderator

    You could add a custom query to your theme’s index.php template file.

    in this link there are many codes and they confuse me please can you give me the specific code that it will do what i want

    So do you want to link them to a random category? Or just a category of your choice?

    You could set up a redirect from your index.php, or turn your index.php into a custom category page itself.

    If you simply want to redirect, which does slow down site loading time, then put in

    header("location: http://www.site.com/?cat=7");

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change Defaul page to Categories’ is closed to new replies.
Skip to toolbar