Page 1 of 1
Article Links Not Working
Posted: Sat Mar 21, 2026 3:33 pm
by WineMan
I tried out the new theme in Flatpress 1.5 and while the new theme looks great (except for the background image), when clicking on the article title or the Read More, I get an error message that the URL cannot be found. In looking back at previous versions, I noted that the url in that version has the following:
http://localhost/flatpress1.5/index.php ... he/article, this version has the following:
http://localhost/flatpress1.5/date/and/ ... he/article. Evidently, the index.php portion of the url is missing. Hopefully it is not just on my installation. BTW, this error occurs with any of the themes, so it is not a theme issue.
Re: Article Links Not Working
Posted: Sat Mar 21, 2026 7:22 pm
by fraenkiman
Hello WineMan,
Clear the theme and template cache via the admin maintenance menu.
Check the blog URL in the admin configuration. Make sure to check whether it’s http:// or https://
If there is an .htaccess file for the PrettyURLs plugin, check there as well to see if it’s http:// or https://
Apparently, the issue only occurs in local Windows environments and when http:// is not used.
In Admin, set PrettyURLs to HTTP Get or Pretty, if supported.
Best regards,
Frank
Re: Article Links Not Working
Posted: Sat Mar 21, 2026 8:03 pm
by WineMan
Yes, the url is http://, not https://, and I went in and added index.php to the end of the url and that messed everything up. I just deleted everything and started all over again. I will let you know if I run into the same situation.
Re: Article Links Not Working
Posted: Sat Mar 21, 2026 8:12 pm
by WineMan
I re-installed the application and when clicking on the title of the article, this is the url that is showing:
http://localhost/flatpress1.5/2026/03/2 ... /comments/ which of course then tells me that there is no such url. I cleared the cache in the earlier instance and in this new instance as well with the same results. Perhaps the issue is that I am running php version 7.4.27?
Re: Article Links Not Working
Posted: Sat Mar 21, 2026 8:22 pm
by fraenkiman
I've prepared a patched PrettyURLs file (v3.0.4) for you to address this issue.
Please test this file on a FlatPress instance where there is no .htaccess file yet and you haven’t configured any PrettyURLs settings.
Expected result:
If there is no .htaccess file and no settings have been configured, the mode will automatically be set to
HTTP Get.
Best regards,
Frank
Re: Article Links Not Working
Posted: Sat Mar 21, 2026 8:59 pm
by WineMan
Thank you...it is now working. I will keep testing and see how things go before I go live with it on my webhost.