How to setup multiple websites on single typo3 v9 installation - multisite

Any one can explain, how to setup multiple websites on the single TYPO3 installation?. TYPO3 have multisite concept. But i have searched through internet, no documentation found.

As far as I can say:
Edit the page you want to behavior as root page
1.1. Check Use as Root Page (Tab behaviour)
Setup a site configuration (site configuration -> sites -> Add new site configuration for this site)
2.1 Set a Site identifier (content dont affect the domain; its just used for the folder naming)
2.2 Set Entry Point to either your domain or to /
2.3 Variants can be added later and you don't need to ind about as long as you work with just one environment (production; add variants if you also got a local instance with the same code base and a live db dump)
2.3 Switch to Languages and set your default language (maybe english)
2.3.1 Choose an available language
2.3.2 Set an entry point (by default the / should work fine for defualt but you won't get a custom language url snippet generated for /)
2.3.3 Choose the available Language ID
2.3.4 Choose the correct Language Key for XLF Files
2.3.5 Choose the correct Locale (I prefer to set UTF-8 at the end of the locale -> en_US.UTF-8 or de_DE.UTF-8)
2.3.6 Choose the correct Two Letter ISO Code
Now you should be fine. Just repeat this for every Domain and beginning with step 2.3.1 for every language on the domain

There's an old topic on typo3 wiki about multidomain:
https://wiki.typo3.org/Multidomain
I believe the main idea is the same:
Create a page. On "Behavior" tab set "Use as root page"
Add a domain record to this page
Add a template
Also I should notice there's some magic with sorting root pages so I recommend to create all root pages with the same parent

Related

Why prestashop is adding a lang particel at the end of a multistore shop url?

I have a prestashop 1.6 installation, in multistore mode. I have some stores already running ok, but now I created a 'german' store with /de url, and have the following issue:
the shop url is something like www.example.com/de, visible and saved in admin
when I navigate to www.example.com/de, automatically I'm redirected to www.example.com/de/it/
I really cannot understand the reason why... All the other shops (fr, es) do work properly. This one does not. No way to keep it simply /de. I already setted a default language for it, I just copied all the settings from the other shops, seems all the same. I cannot spot the error. I also regenerated the htaccess. No way. Could you please suggest me why it is behaving that way?
Ah, funny thing: with firefox will go to www.example.com/de/it/ as described above, while with chrome will go to www.example.com/de/de/!!! No one simply stay www.example.com/de/.
Thank you, regards
Have a check the settings of the german store, probably you have multiple languages enabled / active in Localization > Languages and Prestashop , once you reach the shop homepage, performs a 301-redirect to the default language URL (default behaviour with multiple languages and URL rewriting).
About the funny thing : check the Localization > Localization setting "Set language from browser", this can lead to different language redirects depending of the browser language.

TYPO3 page does not get cached

I have some 4.5.6 installation of TYPO3 and a quite old, modified tt_news extension running.
My client noticed that the indexed search is not working for the news pages anymore.
So i checked, and as I thought the cache entries for the detail pages are not created anymore.
Actually only one cache entry is created, containing the html of the first detail page I requested (through the frontend).
I enabled the adminPanel and it also shows me that no_cache = 1. Why is that? My URL looks like this:
www.mypage.com?id=231&tx_ttnews[tt_news]=2457&tx_ttnews[backPid]=&tx_ttnews[swords]=&cHash=287ca316c98761c2dff769a7d3c6b587
Anyone can help me with that?
There are several places to disable the TYPO3 page cache.
a) It can be set by TypoScript using
config.no_cache = 1
or
page.config.no_cache =1
Check in the TypoScript Object Browser if it is set on this page and check how it is set.
b) It can be set in the page properties.
c) It can be set in an extension. If e.g. your customized version of tt_news contains this code
$GLOBALS['TSFE']->set_no_cache()
the cache for all pages containing the plugin is disabled.
Furthermore the plugin can be made running as a USER_INT like this
$this->pi_USER_INT_obj = 1;
If this is set, then the content of this plugin is not checked. E.g. on the page you opened the admin panel, you have three USER_INT objects. But this is not the problem since you have set "no_cache" which means that the cache for the whole page is disabled.
The problem was related to realUrl. We updated to a new version, and then caching worked again. Looks like realUrl generated invalid cHashes...

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.

Change Magento CMS Home page

I am using this groupon clone from contus
I am try to change the cms home page .Which as what i have observed can be found in
System > Configuration > Web > Default Pages
I tried changing the CMS Home Page .i chose the template that i made in
CMS > Pages
I am expecting the template to be loaded .and ugh after several tries, clearing the cache and even changing the Default Web URL into the templates URL Key .it didn't work
any suggestions?
Here's a screenshot of the default cms_home_page
I tried editing the config.xml in the
app\code\core\Mage\Cms\etc
I changed the default > web > default > cms_home_page node into the coming-soon URL key .Still didn't work
I can access the http://127.0.0.1/mg/coming-soon/ page and the http://127.0.0.1/mg/home/ page as well .I just wonder, why the settings i applied in the admin (and can also be seen in the db) doesn't work.
you can simply go to system >> configuration >> and click on the web which is left in your window under general.
than click on Default Pages and set CMS Home Page
Second thing, You have to do "enable" this page and you can do it from
cms >> pages and click on the page which you have selected, than set status >> enable
The unique identifier in the CMS > Manage Content section just needs to be a unique string in the context of a store view. You should NOT use the frontname of a core module there (e.g. "cms"). Change your url key to something unique, and head to System > Configuration. Select Web. As long as the Default Web URL is set to cms, cms/index, or cms/index/index you should be able to simply choose the desired CMS page from the Default Web URL dropdown. Make sure you check other configuration scope settings (dropdown at top left) in case there is a rude setting set at a lower level.
FYI, what you "make" in the Manage Pages section are routes with content as opposed to "templates" (in Magento parlance). Templates are PHTML files under app/design.
Just to answer to those who reach this page;
If you see this behaviour you should check the store switcher in your top left. Choose your store and check the config for it.
Probably it's not using the default settings and overriding the global scope.

Can't change header logo in Magento?

I have created my own theme for magento, and I am trying to edit the logo and am having difficulty.
I have created my own local/Mage/Page/etc/config.xml file, and specified within the config the following:
<logo_src>images/Race-Ramps-logo-streaked-gradient.gif</logo_src>
I created a custom layout in the file as well. I can see the custom layout file in the CMS, but my changes to the logo do absolutely nothing. I have even tried changing the original core config.xml, it still stays the same.
On multiple websites, I have been told to go to System > Configuration > Design > Header, but I do not have the header option?
Help please!
The value you're changing (mostly likely, hard to tell without more context) in the configuration file is the default value for a the logo_src System Config variable. This is not want you want to do.
The people who've told to change the value in System -> Configuration -> Design -> Header are correct. If you don't have a header options there it's eitehr because
The person who setup your admin account didn't give you access (ask them)
You have the wrong configuration scope set (look in the upper left hand corner for the scope selector)
Someone tried to customize your Magento store and accidentally killed the header configuration
If you're desperate you could always search through your codebase for calls to getLogoSrc
base/default/template/page/html/header.phtml
default/iphone/template/page/html/header.phtml
default/modern/template/page/html/header.phtml
and replace them with a hard coded image.
Save image at the below location
/magento/skin/frontend/default/default/images/your_image_name.png
Login to the admin section
System > Configuration > General > Design > Header > Logo Image Src
-- Replace the images/logo.gif to images/your_image_name.png
Your default magneto front-end header logo will be changed to your custom logo.
I was only able to make my logo show (in Magento Community 1.9) after I placed the file in this directory: /skin/frontend/base/default/images/logo_YCZ.jpg

Resources