Elxis CMS Forum
Support => Technical support => Topic started by: joncgfix on July 13, 2008, 09:24:11
-
Help,
I would very much like to use the seo pro. But for some reason it is not working. I set up the .httaccess fle with my subdirectory. It works fine with seo basic. But when I switch to seo pro, I get error 404 page. the address bar reads correct as seo pro is rewriting it, but I get error 404 cant find page.
any one have the same problem?
-
Can you give us a link to see it? Did you applied the SEO PRO fix for sites in sub-directory?
-
OH,
SEO PRO fix for sites in sub-directory! Thats what I needed, thanks you very much. 8)
-
Help,
I would very much like to use the seo pro. But for some reason it is not working. I set up the .httaccess fle with my subdirectory. It works fine with seo basic. But when I switch to seo pro, I get error 404 page. the address bar reads correct as seo pro is rewriting it, but I get error 404 cant find page.
any one have the same problem?
Me too I have the same error. I find it today.
My site is a multilanguage (english - italian) and by default is english:
the link in anglish works right:
http://www.milanotour.eu/what-to-see-in-milan/basilicas-and-churches-in-milan/duomo-of-milan.html (test it works right)
but the same link in italian, if the internet cache is clean (ie6 - ie7 and fireworks 3) me too i have error 404
http://www.milanotour.eu/cosa-vedere-milano/le-basiliche-le-chiese-di-milano/il-duomo-di-milano.html (doesn' t work)
i have the same problem also on two other sites always in multilanguage ( i tried the fix, but nothing)
-
milanotour.eu works fine (based on Elxis specifications)
Important information:
Elxis 2006.x and 2008.0
The language information in Elxis 2006.x and Elxis 2008.0 is stored in a cookie variable. If you have selected the English language the following page will be displayed fine:
milanotour.eu/what-to-see-in-milan/basilicas-and-churches-in-milan/duomo-of-milan.html
but if you click on that link:
milanotour.eu/cosa-vedere-milano/le-basiliche-le-chiese-di-milano/il-duomo-di-milano.html
without first changing language then you will get an error 404 as the cookie has still English as your selected language and the above link in only available in Italian.
This is almost fine when we have to do with humans that browse a web site. But if we have a search engine that clicks for instance random sitemap links, or you have a user that clicks a link from within i.e. an e-mail trying to access directly a secondary language there is a problem. The cookie for this secondary language has not been set, so elxis will load the default language (english) and in that language the link to the secondary language (Italian) in not available, so he will get an error 404 page not found message.
A solution to this problem is to add the language information in your link:
milanotour.eu/cosa-vedere-milano/le-basiliche-le-chiese-di-milano/il-duomo-di-milano.html?mylang=italian
This is what the Sitemap component does automatically for the secondary languages in the XML sitemap. And this is one of the reasons why you should always use Elxis native software in your site and not mambo's or joomla's.
Elxis 2008.1
In Elxis 2008.1 there is an important difference in this area. Elxis does not use cookies any more. It stores the language information for the secondary languages permanently in the URL using the language 2-letter ISO code. So, we can now use any link directly without changing language! The above link in Italian for Elxis 2008.1 is:
milanotour.eu/it/cosa-vedere-milano/le-basiliche-le-chiese-di-milano/il-duomo-di-milano.html
The it indicator will be translated internally by the new Elxis 2008.1 htaccess rewrite file to "mylang=italian" (backwards compatibility)
The first site that uses this method is the http://www.elxis-downloads.com. Visit that site and play with the links and with languages to see the new feature in action.
Here is an other example for the links to the component weblinks:
http://www.mysite.com/links/ (link to weblinks for the default language, i.e. "english", no need to set the language indicator)
http://www.mysite.com/el/links/ (link to weblinks for the greek language)
http://www.mysite.com/it/links/ (link to weblinks for the italian language)
http://www.mysite.com/de/links/ (link to weblinks for the german language)
As you see the language information is now permanent in the URL.
The new method in much more search engines friendly and removes the unwanted "mylang=xxxx" from the URLs. I remind you that Elxis 2008.1 is still under development.
See here for a relevant announcement on elxis.org:
https://www.elxis.org/news/elxis-news/seo-pro-language-20081.html (https://www.elxis.org/news/elxis-news/seo-pro-language-20081.html)
-
thanks a lot datahell
know i understand why on serach engines the pages in italian languages doesn't appear
woooowwww now my sites will be indexed in italian too ;)
-
Yes, that describes exactly the problem occuring on my site... Is Elxis 2008.1 expected to run into conflicts with "2-iso-code"-sections?
-
Yes, that describes exactly the problem occuring on my site... Is Elxis 2008.1 expected to run into conflicts with "2-iso-code"-sections?
There will be absolutely no problems with new SEO system, only benefit. And I assure you that G loves it!!!
-
Using the 2-letter-iso codes for SEO titles is forbidden in Elxis 2008.1 as 2008.1 uses these prefixes internally. You will surely have problem and SEO PRO conflicts by having sections named as en, el, fr, de, etc. You should rename these section's SEO titles to something else before upgrading to 2008.1.
Why there is a problem?
In Elxis 2008.1 Elxis checks the existence of the 2-letter-iso code in the beginning of the URL. If this exists then it changes language based on that prefix! (Elxis 2008.1 has also a new htaccess file)
Example:
http://www.mysite.com/en/ -> changes language to english
http://www.mysite.com/de/ -> changes language to german
http://www.mysite.com/ -> changes language to the default site language
If you dont change it then you will have URLs that under some circumstances might be like this:
http://www.mysite.com/en/de/ -> changes language to english but the section you have is in german! ==> ERROR
http://www.mysite.com/de/ -> changes language to german but what is "de"? Language identifier or section seo title? ==> ERROR
-
So, when i use this seo title " mysite.com/bla/bla/seo-title-en" do i have to change anything ?
-
No, you dont, this is ok.
You have problem ONLY if you give a content section seo title equal to a 2-letter iso code (en, fr, de, el, es, ir, etc..)
By the way, this is not a seo title: " mysite.com/bla/bla/seo-title-en", this is a url.
Seo titles in this url as those marked as red (3 of them):
mysite.com/bla/bla/seo-title-en.html
if the first "bla" was a 2-letter iso code then you would have problem.
Don't worry, Elxis updater will fill these issues automatically during upgrade.
-
Thanks :) wrong description
-
Will there be any changes to the (sub)menu-system? (e.g. if there are menus named: products_en, products_de, contact_en, contact_de...) I don't think so, but we're planning to build a site based on Elxis 2008.0, and then (as soon as it's released) update to 2008.1... It would be mad, to redesign the site-navigation ;-)
I read, that the release is "planned" for end of september, is that still correct?
-
Elxis 2008.1 is almost ready. We do testing and some small fixes these days. Also the automatic update script from 2008.0 to 2008.1 is ready and tested on both local and on line installations. Dont worry about wrong SEO PRO titles as the Updater fixes them automatically during Elxis update!
-
Cool. Thank you a lot, datahell. :-)