Post
by Joe1234 » Fri Jan 17, 2025 2:01 am
Odd issue. I setup the following redirect. Notice the one that points to google. After that particular redirect, if I go and put my site in the url it automatically sends me back to google. No matter how many refreshes, the same thing happens until I delete the browser data. Am I using this incorrectly because I only see that redirect with "$this->url->link"?
Code: Select all
switch ($redirect_selection) {
case '429 Error':
http_response_code(429);
exit;
case 'Home Page':
$this->response->redirect("http://google.com");
//$this->response->redirect(HTTPS_SERVER);
exit;
case 'Custom':
$this->response->redirect($this->config->get('custom'));
exit;
case 'Reload':
// refresh current page
exit;
}
tested with default OC same issue.
Last edited by
Joe1234 on Sat Jan 18, 2025 2:15 pm, edited 1 time in total.
v3.0.4.0 php 8.1
I'm here for a reason, if your response is contact a/the developer, just don't reply.