I setup htaccess to have 2 websites on the same installation
SetEnvIf Host mywebsite1.com MAGE_RUN_CODE=base
SetEnvIf Host mywebsite1.com MAGE_RUN_TYPE=website
SetEnvIf Host mywebsite2.com MAGE_RUN_CODE=website2
SetEnvIf Host mywebsite2.com MAGE_RUN_TYPE=website
Each website has 2 store views for each language, ie: english and spanish for each website
Then i changed the base link url for each store view scope
http://mywebsite1.com/en [english store]
http://mywebsite1.com/es [spanish store]
If i set NO on Configuration > General > Web > Use web server rewrites, this works, but shows links like
If i set YES, then index.php disappear, as i desire, but links do not work.
I want to get,
How can i do this?, please.