Hi All,
I need help with redirecting/blocking the .../eventsbyyear/... url/directory.
I want to prevent the view/crawl of "Events by Year", thus .../eventsbyyear/2016... .../eventsbyyear/2017... .../eventsbyyear/2018... etc. needs to be blocked or redirected back to the main monthly calendar view (url). Simply put, I don't want to view events using "year", only using month (by default), day and week.
It seems I can get it to work with 301 redirect in the .htaccess file, but is it maybe possible to make use of the com_jevents/views/geraint//year/view.thml.php (or similar) file? Might be more accurate/effective to do it this way?
Hope you understand my question.
Thanks!
I need help with redirecting/blocking the .../eventsbyyear/... url/directory.
I want to prevent the view/crawl of "Events by Year", thus .../eventsbyyear/2016... .../eventsbyyear/2017... .../eventsbyyear/2018... etc. needs to be blocked or redirected back to the main monthly calendar view (url). Simply put, I don't want to view events using "year", only using month (by default), day and week.
It seems I can get it to work with 301 redirect in the .htaccess file, but is it maybe possible to make use of the com_jevents/views/geraint//year/view.thml.php (or similar) file? Might be more accurate/effective to do it this way?
Hope you understand my question.
Thanks!