Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Multilanguage website homepage redirect problem
(1 viewing) (1) Guest
Support forum for customers who have purchased JoomSEF 4 (Joomla 1.6/1.7/2.5+ compatible). Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: Multilanguage website homepage redirect problem

Multilanguage website homepage redirect problem 12 years, 11 months ago #26937

  • altea
  • OFFLINE
  • Posts: 55
Joomla: 1.7.3
Artio Joomsef: 4.2.2
Order Number: 00020043

Hello I'm having a big issue with the homepage of the website.
Having a multilanguage website with artio it automatically redirects the root www.domain.it to the main language homepage (italian), so it redirects to www.domain.it/it/, but checking the redirect with a few web service is saying that the redirections is done using a 303 redirect.

Google is giving me warning to change and use 301 instead of 303.
How can I do it??
The topic has been locked.

Re: Multilanguage website homepage redirect problem 12 years, 11 months ago #27020

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,
Thank you for reporting this, we'll fix it in next version.

If you want to make the fix yourself right away, open the /components/com_sef/joomsef.php file and around line number 758 find this code:
JFactory::getApplication()->redirect($uri->base(true).'/'.$langs[JRequest::getVar('lang')]->sef);

and change it to this:
JFactory::getApplication()->redirect($uri->base(true).'/'.$langs[JRequest::getVar('lang')]->sef, '', '', true);
ARTIO Support Team
The topic has been locked.

Re: Multilanguage website homepage redirect problem 12 years, 11 months ago #27023

  • altea
  • OFFLINE
  • Posts: 55
Thanks for the answer
The topic has been locked.
  • Page:
  • 1
Přihlášení uživatele Prázdný