Article Links Not Working
Article Links Not Working
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.
- fraenkiman
- FlatPress Coder
- Posts: 500
- Joined: Thu Feb 03, 2022 7:25 pm
- Location: Berlin, Germany
- Contact:
Re: Article Links Not Working
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
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
My
Re: Article Links Not Working
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
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?
- fraenkiman
- FlatPress Coder
- Posts: 500
- Joined: Thu Feb 03, 2022 7:25 pm
- Location: Berlin, Germany
- Contact:
Re: Article Links Not Working
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
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
My
Re: Article Links Not Working
Thank you...it is now working. I will keep testing and see how things go before I go live with it on my webhost.
Who is online
Users browsing this forum: No registered users and 0 guests