You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to disable a nav in menu for some time, and if disabled nav is opened directly i want to redirect user to home page.
This can be achieved using .htaccess
Redirect 302 /win /index.php
But is it possible to do in a template as well.
Like
if win is active {% redirect "somepage" 302 %}
I mean is there any inbuilt function on method we can call to check.
Thank You.
The text was updated successfully, but these errors were encountered:
I want to disable a nav in menu for some time, and if disabled nav is opened directly i want to redirect user to home page.
This can be achieved using .htaccess
Redirect 302 /win /index.php
But is it possible to do in a template as well.
Like
if win is active
{% redirect "somepage" 302 %}
I mean is there any inbuilt function on method we can call to check.
Thank You.
The text was updated successfully, but these errors were encountered: