Page 1 of 1

Index html error 404

Posted: Mon Mar 17, 2014 9:48 am
by webbait89
Hello guys,
when I write this link
www.mysite.it/en/index.html
www.mysite.it/it/index.html

instead of going on

www.mysite.it/it/
www.mysite.it/en/

they link to a 404 page!?
Can somebody help me please.
Thanks

Re: Index html error 404

Posted: Mon Mar 17, 2014 11:31 am
by EivindJ
That's simply because Joomla! doesn't have index.html, but index.php. If you need index.html to work you need to add them as redirects to index.php, e.g. using htaccess or a component like ReDJ (http://extensions.joomla.org/extensions ... ction/7189)

Re: Index html error 404

Posted: Mon Mar 17, 2014 2:52 pm
by andrewebs
what about for a website on nginx server ( no .htaccess file ). ? i`m planning to move from the current DLE platform to Joomla and the hosting server i have is on nginx. the site is

Code: Select all

http://onchannel.net

Re: Index html error 404

Posted: Mon Mar 17, 2014 3:53 pm
by pe7er
andrewebs wrote:what about for a website on nginx server ( no .htaccess file ). ? i`m planning to move from the current DLE platform to Joomla and the hosting server i have is on nginx. the site is

Code: Select all

http://onchannel.net
I have running various Joomla sites on Nginx webserver without problems, including SEF URLs.
Nginx does not use Apache's .htaccess overrides, but you can add some code to the virtual domain configuration of your website (probably located in /etc/nginx/sites-available/your-virtual-domain

Code: Select all

# Support Clean (aka Search Engine Friendly) URLs
        location / {
                try_files $uri $uri/ /index.php?$args;
        }
More info about running Joomla on Nginx: http://docs.joomla.org/Nginx