Links to the home page don't work
Permalink
Hello,
I have the following trouble with my C5 site. When I click on the "Return to your website" button in the Dashboard, I get a "Page not found" error. The same happens when I click on the "home" link in the sites' auto-nav. On the other hand, I can still access the home page thru the Sitemap. My sites' address is:
http://www.manufaktura.art.pl/manu2012c5/index.php...
but for some reason the home links point to:
http://www.manufaktura.art.pl/manu2012c5/... - which results in the aforementioned error. All the other links include the /index.php and work OK. What is wrong and how to fix it?
I'd be very grateful for any help...
Thanks in advance,
Mikolaj
I have the following trouble with my C5 site. When I click on the "Return to your website" button in the Dashboard, I get a "Page not found" error. The same happens when I click on the "home" link in the sites' auto-nav. On the other hand, I can still access the home page thru the Sitemap. My sites' address is:
http://www.manufaktura.art.pl/manu2012c5/index.php...
but for some reason the home links point to:
http://www.manufaktura.art.pl/manu2012c5/... - which results in the aforementioned error. All the other links include the /index.php and work OK. What is wrong and how to fix it?
I'd be very grateful for any help...
Thanks in advance,
Mikolaj
I added it but it does not work... maybe I did something wrong? Is there a specific place in the .htaccess file where I should add it? Right now I have in there the code generated when I enabled the pretty URLs...
Right at the top ought to be good enough.
You could also try
and then upload a test.php file into your root - if you go to
http://www.manufaktura.art.pl/manu2012c5...
you should find that the test.php is executed. If it isn't, then
your server does not permit you to override the DirectoryIndex directive.
If this is the case, you need to talk to your hosting provider about this.
You could also try
DirectoryIndex test.php index.php index.html
and then upload a test.php file into your root - if you go to
http://www.manufaktura.art.pl/manu2012c5...
you should find that the test.php is executed. If it isn't, then
your server does not permit you to override the DirectoryIndex directive.
If this is the case, you need to talk to your hosting provider about this.
I managed to do what I wanted by adding
to the site.php. By the way, this command was in the site.php before 5.5 version - why did it disappear?
define('DIR_REL', '/manu2012c5');
to the site.php. By the way, this command was in the site.php before 5.5 version - why did it disappear?
You can attempt to override that by adding this to your .htaccess file: