The default page for my index page is http://www.msujazzstudies.com/index.php?p=24 however going to http://www.msujazzstudies.com/index.php doesn't redirect the user to this page. Is there a way I can make it do this?
We can check if the visitor is accessing the home-view and then use cms:redirect tag to send her to the desired page -
- Code: Select all
<cms:if k_is_home >
<cms:redirect url="http://www.msujazzstudies.com/index.php?p=24" />
</cms:if>
Instead of hardcoding the page's link (as I have done above for clarity), you should use the following where the 'test' should be replaced by the page's name (not title, mind you)
- Code: Select all
<cms:if k_is_home >
<cms:redirect url="<cms:link masterpage=k_template_name page='test' />" />
</cms:if>
Hope this helps.