I have set template taxonomy-event_type.php
which displays just right on http://localhost:8000/types/<type_name>/
.
What I need now is to:
- either redirect when user lands on
http://localhost:8000
to this page, - or use this template with (what wouldn't be greatest, as i'm checking the url and setting navigation items as active according to the url)
So something like (PSEUDOCODE):
if is_home():
redirect('types/type1')
or
use_template('taxonomy-event_type','type1');
is it possible?