Redirect to the base url of any error.
-
organic
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 1
-
Thank you received: 0
-
-
9 years 2 months ago #4222
by organic
Greetings,
1) I would like to have a redirect that simply redirect to the base url of any error page that occurs. ( I cannot simply redirect to a specific i.e
hompage.com)
a) for example a request to homepage.com/index.php or to homepage.com/indexerror.html, or whatever would go to "
homepage.com" but the redirect rule cannot be "
homepage.com"
b) but the same redirect would work if someone is directed to http:''homepage2.com/index.php or whatever, they would be simply be redirected "
homepage2.com" and like wise the redirect rule cannot simply be :http://homepage2.com"
Thanks!
Na
(ps- the reason a generic redirect formula or suppported macro is needed is because I am using the Joomla extension Virtual Domains, which allows me to run mulitple joomla websites using different urls from one single joomla installation and I have to redirect different urls all to there own base url)
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
9 years 2 months ago #4224
by admin
Hi,
it's not possible to create a rule to redirect ANY error page because the "trigger" of a rule is the matching with the URL requests, and not the error condition. To trigger a redirection for ANY error, at the moment, it's possible only using a ReDJ plugin option, which allows to specify the destination in case of errors.
Kind regards
Please Log in or Create an account to join the conversation.
Time to create page: 0.170 seconds