WordPress.org

Support

Support » Plugins and Hacks » Hacks » Trouble with homepage defaulting to a catagory

Trouble with homepage defaulting to a catagory

Viewing 2 replies - 1 through 2 (of 2 total)
  • You could do a proper auto-redirect on your homepage:

    $categoryLink  = get_category_link( $categoryID );
    wp_redirect( $categoryLink, 301 );
    exit;

    Chris,

    That’s absolutely perfect, a very simple solution. I can’t believe I didn’t think of this myself!

    Thank you so much for this.

    Cheers,

    Damien.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Trouble with homepage defaulting to a catagory’ is closed to new replies.