Joomla 2.5 language code in URL. How to disable? - joomla

I have Joomla 2.5 with built-it multilanguage system. Main language is russian and second is english.
In 2 specific articles I have iframes with src="/freeflight2/form.php". In russian version of the site the iframe loading correctly. But in english I get URL of iframe with language code: http://xxx/en/freefligh2/en/form.php which causing 404.
I also tried to write full url, but Joomla again inserting language code.
Is there any way to fix it?

Is this custom or within Joomla? If custom have you tried using JPATH to get the base path? If within Joomla are you using an editor like JCE to create the iframes?

Related

Joomla friendly URLs not working after update?

Hi and thanks for reading&answering my question. I am fairly new to Joomla,however I have built a directory website and started to put some content. I have created the standard pages(contact us, privacy etc) and added businesses. I would like SEO friendly URLs so I set Search Engine Friendly URLs, URL Rewriting --YES, and Suffix --No. However, Joomla somehow rewrites my alies and change them. example: mywebsite/bar-and-dinner is displayed now as my website/bar-din-r. I contacted the support of the plugin I use and they told me that I must have had some filters on Joomla that creates such a problem. I tried to purge cache on the website & server still the same. I just updated to Joomla 4.0. Thanks in advance for your help.

Magento translation and url key

I have a Magento website with some pages linked to main navigation.
For example, in my default view (Italian) I have www.example.com/italian-url-key
Then I created another page for English view with url www.example.com/english-url-key
So, when I am on the italian version of the page and try to switch to english version, this is the url that magento generate: http://www.example.com/italian-url-key/?___store=english&store=&___from_store=default and on click it gives me 404 page.
How can I fix it? I need that this 2 pages should be linked, also if url key is different.
Many thanks!
Out of the box Magento does not support URL Translation, both pages need the same URL key. Check instructions from the Magento Docs on how to translate CMS pages.
To translate a CMS page, you must create a new page that has the same
URL Key as the original, but assigned to the specific store view.
So you will either have to stick to one languages for your URLs or develop/acquire a module to do this for you. The magento-language-roots or CMSRewrites modules both look like they will achieve this for you.
You may also want to consider adding Hreflang tags to your head.phtml as you have a multi-lingual site.

Joomla 1.5 SEO URL does not working for multiple languages--

I have a website which is built in joomla 1.5 in two languages English and Arabic. I have recently enabled the Joomla SEO URLs and aliased all the articles with custom alias URLs. Alias is working fine on English version - which is the default installation language - but not on Arabic.
Is there any option i can specify separate aliases for different languages? Or is there any configuration I am missing?
Please advice
Thanks in Advance
When the actual content was translated, the SEO URL option was not enabled on the website. Which resulted in the component ignoring the translation of the alias field, also the 'Copy original to Alias' option was disabled.
After enabling the SEO URLS options, at the time of translation make sure that you have translated the alias as well or copy the original to the translation field. No need for paid plugin!
This applies to component, article and menu items for all languages except default one.

Creating custom module: Menuitem SEF links?

I have a Joomla site that I am working on, building some custom modules to control content.
I am using a menuitem field type:
<field type="menuitem" name="loc_nav_item" label="Link URL" ></field>
And then echoing out:
However, even though I have SEF urls active and working on the site, this creates a url based on the ID like this:
I am relatively knew to Joomla, even more so with custom module creating. Is there something I am missing here that will allow the module to generate the proper, SEF url?
Joomla 1.7 (required by client...)
Yes! You need to apply the JRoute function to it - this effectively hasn't changed since Joomla 1.5 so you're fine using it on Joomla 1.7. See the Joomla doc here for more info for the 11.1 platform though.
So you need to use something along the lines of:
Also tell your client Joomla 2.5 has no visible differences to Joomla 1.7 except has a tonne of extra security features missing in Joomla 1.7. He's asking for himself to be hacked!!

Component part shown in joomla frontend

How do I display the form in the frontend in Joomla 2.5, just like the Create Article form shown in the frontend?
You can obviously create an form in an article but it will be pointless as the form will require PHP functions which cannot be written in an article.
Your best bet would be to develop a simple module which you can embed in an article or download a free form extension from the Joomla Extensions Directory.

Resources