Commit f51a609f authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Merge branch '507-redirect-for-news-detail-page-if-no-news-uid-2' into 'develop'

Resolve "Redirect for News Detail page if no news uid"

Closes #507

See merge request !450
parents df9b0e04 9755dfa5
Pipeline #19336 passed with stages
in 6 minutes and 55 seconds
......@@ -227,3 +227,13 @@ pageNewsRSS {
}
}
[global]
# if no uid is given for news articles, redirect to list view of general news articles
[page["uid"] == 185]
plugin.tx_news.settings.detail.errorHandling = redirectToPage,38,307
[global]
# if no uid is given for security advisories, redirect to list view of general news articles
[page["uid"] == 523]
plugin.tx_news.settings.detail.errorHandling = redirectToPage,32,307
[global]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment