Site not loading without using index.php Topic is solved
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
- willkey
- Joomla! Enthusiast
- Posts: 147
- Joined: Mon Feb 25, 2008 6:02 pm
- Location: Huntington, Vermont
- Contact:
Site not loading without using index.php
Hello Joomla community!
I cloned a live site here https://www.nemgtr.org into a new site - got the database and config file customized, but when I go to the first url listed below I get an error message...if I add index.php on the end it works. I searched and searched, but none of the fixes worked
https://staging2.nemgtr.org/ (not good)
https://staging2.nemgtr.org/index.php (good)
I noticed when clicking the link on the admin page at the very top right of the page (to open the site in a new window, it does not have the "https://" in the link and it opens the page (without the index.php) and shows that it's "Not Secure"
I wonder if these tow things are working together to make a less than favorable outcome...how do I change that link at the top right of the admin page?
I cloned a live site here https://www.nemgtr.org into a new site - got the database and config file customized, but when I go to the first url listed below I get an error message...if I add index.php on the end it works. I searched and searched, but none of the fixes worked
https://staging2.nemgtr.org/ (not good)
https://staging2.nemgtr.org/index.php (good)
I noticed when clicking the link on the admin page at the very top right of the page (to open the site in a new window, it does not have the "https://" in the link and it opens the page (without the index.php) and shows that it's "Not Secure"
I wonder if these tow things are working together to make a less than favorable outcome...how do I change that link at the top right of the admin page?
- imanickam
- Joomla! Master
- Posts: 28202
- Joined: Wed Aug 13, 2008 2:57 am
- Location: Chennai, India
Re: Site not loading without using index.php
I believe that there is a file named index.htm or default.htm in the directory where Joomla is installed. If it exists, rename the file (to something like myindex.htm or mydefault.htm) and test.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
-
- Joomla! Enthusiast
- Posts: 244
- Joined: Mon Aug 26, 2019 10:58 am
- Location: Zagreb, Croatia
- Contact:
Re: Site not loading without using index.php
You can't just add folder. You should make subdomain on your server first.willkey wrote: ↑Sun Jan 29, 2023 1:02 amhttps://staging2.nemgtr.org/ (not good)
https://staging2.nemgtr.org/index.php (good)
- willkey
- Joomla! Enthusiast
- Posts: 147
- Joined: Mon Feb 25, 2008 6:02 pm
- Location: Huntington, Vermont
- Contact:
Re: Site not loading without using index.php
I did that already. The site is loading, just have to add the index.php. It's something that is wrong with the htaccess file or something not configured correctly in the database
- willkey
- Joomla! Enthusiast
- Posts: 147
- Joined: Mon Feb 25, 2008 6:02 pm
- Location: Huntington, Vermont
- Contact:
Re: Site not loading without using index.php
Thanks for your reply, I already found this proposed solution in a different post, and it is unrelated to my query. There are no other index.html files in there.
Oddly enough, when I checked the site this morning the url in question loaded properly!!
But still, when I click the link at the top right of the admin page (to open the front end of the site in a new window) it loads without the https:// and shows a "Not Secure" icon to the left of where the url shows in the url field in my browser... strange. That must be in the database that got pulled over? But where do I fix that?
Oddly enough, when I checked the site this morning the url in question loaded properly!!
But still, when I click the link at the top right of the admin page (to open the front end of the site in a new window) it loads without the https:// and shows a "Not Secure" icon to the left of where the url shows in the url field in my browser... strange. That must be in the database that got pulled over? But where do I fix that?
- toivo
- Joomla! Master
- Posts: 17426
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: Site not loading without using index.php
Does the website use the standard .htaccess file that was installed with Joomla 3 as htaccess.txt or have some lines and redirections been added to it? The HPPTS protocol can be configured in the Global Configuration, without any additions to the .htaccess file.
Check the file configuration.php in the main Joomla folder. Does the variable $live_site have a value, instead of an empty string, as it should have, similar to this line:
Check the file configuration.php in the main Joomla folder. Does the variable $live_site have a value, instead of an empty string, as it should have, similar to this line:
Code: Select all
public $live_site = '';
Toivo Talikka, Global Moderator
- willkey
- Joomla! Enthusiast
- Posts: 147
- Joined: Mon Feb 25, 2008 6:02 pm
- Location: Huntington, Vermont
- Contact:
Re: Site not loading without using index.php
Thanks for the reply! The htaccess file is one that comes with the Joomla original install, and the configuration file has the correct variable for the live_site...
- willkey
- Joomla! Enthusiast
- Posts: 147
- Joined: Mon Feb 25, 2008 6:02 pm
- Location: Huntington, Vermont
- Contact:
Re: Site not loading without using index.php
I need to close this thread. I will give a solution/not solution here. The messed up thing I had to deal with was a result of constantly updating/upgrading this pos software for over a decade. the files and bad files and bunked database accumulated to the point of breaking.
I was able to get the site cloned again, but with major lifting. I know...this wouldn't have happened had I known what I was doing all these years...I got smart and moved over to WP for CMS sites.
In trying to clone this site, then upgrade to J4 is still an on-going project. The first attempt failed. For whatever reason, and I followed the instructions carefully.
MY ADVICE to those who are trying to do the same thing...INSTALL J4 FRESH and start over. DON'T try and migrate. just don't!
I was able to get the site cloned again, but with major lifting. I know...this wouldn't have happened had I known what I was doing all these years...I got smart and moved over to WP for CMS sites.
In trying to clone this site, then upgrade to J4 is still an on-going project. The first attempt failed. For whatever reason, and I followed the instructions carefully.
MY ADVICE to those who are trying to do the same thing...INSTALL J4 FRESH and start over. DON'T try and migrate. just don't!
- toivo
- Joomla! Master
- Posts: 17426
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: Site not loading without using index.php
Thank you for the update. If you have any questions or issues with the new J4 site in the future, feel free to post any topics here for advice.
Toivo Talikka, Global Moderator