Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Convert
Wordpress to Elxis
with
Elxis importer
!
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Language
(Moderator:
Farhad Sakhaei
) »
SEO PRO and problem to change lang
« previous
next »
Print
Pages: [
1
]
Author
Topic: SEO PRO and problem to change lang (Read 5738 times)
dados
Full Member
Posts: 192
SEO PRO and problem to change lang
«
on:
October 22, 2010, 00:03:46 »
Hi, I have use Brasilia files and change it to be for Portuguese language I use PSPad Editor and save it with instruction from forum.. And everything is Okay but when I on SEO Pro I get some errors for example.. I can change it to Spanish and it read English but when I click on Portugal I get nothing its back to English again... Please see
http://www.ebi-travel.com
for better understand... Thanks
Logged
Work from home
www.loviribolov.org
Booking
Elxis templates
webgift
Elxis Team
Hero Member
Posts: 4193
Re: SEO PRO and problem to change lang
«
Reply #1 on:
October 22, 2010, 12:56:48 »
On the
htaccess.txt
file that you have renamed to .htaccess do these steps below :
1. Disable SEO PRO from General Configuration of Elxis.
2. Rename the .htaccess file to htaccess.txt and download via FTP program like Filezilla.
3. Open the htaccess.txt.
Line 42
change :
#RewriteRule ^([pt\-BR]{5})/(.*)$ /index.php?mylang=brazilian [QSA,L]
to :
RewriteRule ^([pt\-BR]{5})/(.*)$ /index.php?mylang=brazilian [QSA,L]
4. Save the file and upload it to your server.
5. Rename again to .htaccess
6. Enable SEO PRO.
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
dados
Full Member
Posts: 192
Re: SEO PRO and problem to change lang
«
Reply #2 on:
October 22, 2010, 18:46:49 »
Thanks its work now but I did not use brasilian, I just use this files. and import this in htaccess
RewriteRule ^([pt]{2})/(.*)$ /index.php?mylang=portuguese [QSA,L]
Also I import in
RewriteCond %{QUERY_STRING} !mylang=[arabic|armenian|bosnian|creole|croatian|danish|dutch|english|french|german|greek|hebrew|indonesian|italian|japanese|latvian|lithuanian|persian|polish|portuguese|romanian|russian|serbian|spanish|srpski|turkish|vietnamese]{2,}
and now works.. Just to ask did I do it right solutions?
And why brasilian have ([pt\-BR]{5} this number 5 and other have 2
Logged
Work from home
www.loviribolov.org
Booking
Elxis templates
datahell
Elxis Team
Hero Member
Posts: 10356
Re: SEO PRO and problem to change lang
«
Reply #3 on:
October 22, 2010, 20:19:00 »
{x} is an htaccess rule
{5}: the string should have exactly 5 characters
{5,}: the string should have at least five characters
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
dados
Full Member
Posts: 192
Re: SEO PRO and problem to change lang
«
Reply #4 on:
October 24, 2010, 16:34:55 »
Thank you...
Logged
Work from home
www.loviribolov.org
Booking
Elxis templates
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Language
(Moderator:
Farhad Sakhaei
) »
SEO PRO and problem to change lang