Hi @sameerasandaruwan,
Can you please let us know what you mean by when I linked it? We’ll need information about how you configure your front-page. Any screenshots would helpful too.
Hi @aatanasov
Thank you for the quick response. I changed the “Your Homepage Display” option in settings to ” A Static Page” and then select the Homepage option to the “New page name (Home).”
Please find the screenshots in the following links.
https://drive.google.com/file/d/1kaHtIKWSDMhxe2cMkBfmNTh63mBuebeu/view
https://drive.google.com/file/d/1R3VmEzp6xlwV8k9IYDHBddLOb59kUcrv/view
https://drive.google.com/file/d/1q_V0SIviv87GG69ofCrv_DGKRHwdYvCM/view
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
@sameerasandaruwan Do not use short links in these forums, that has been abused in the past and is expanded when found. I have expanded yours.
@jdembowski I am sorry. It won’t happen again. Thank you for expanding the links.
Hi @sameerasandaruwan,
Thanks for sharing these details.
We’ll need to figure out what causes the redirect loop. Please feel free to get through the following steps to find the root of the problem:
- Refresh the permalinks from Settings » Permalinks
- Disable all used plugins. If the front-end page works, you can try to disable each plugin separately until you find which one causes the issue.
- Try to set another page as a front page. If it works, you can recreate the main front page.
- Enable the default WordPress theme (Twenty Twenty-Two). This is needed to see if there is something wrong with your theme.
Please test the front page after each step and let us know what has happened after going through the steps.
Also, before going through the steps, a backup is recommended.
-
This reply was modified 3 years, 8 months ago by
aatanasov.
Hi @aatanasov
Thanks for helping.
I did all of the steps mentioned above, but the issue is still there.
It’s unable to change to a static homepage in Twenty Twenty-Two theme too. But, the homepage shows the blog feed without any issues in default settings.
Hi @aatanasov
When I change the Permalink Settings from “Post name” to “Plain”, it works fine. And when I choose other options it is not working. Is there a way to fix this?
Thanks
Hi @sameerasandaruwan,
It requires debugging, so we’ll have to find what exactly causes the loop. It isn’t clear yet.
Can you please share the following information:
– The URL that is set to Site Address (URL) and WordPress Address (URL) under Settings » General? A screenshot would be helpful too.
– The code inside your .htaccess file — this file is placed in the root folder of your website.
Also, is this the expected home page https://kidzchool.com/home?
Hi @sameerasandaruwan,
Thanks, please change the Site Address (URL) and WordPress Address (URL) options to https://kidzchool.com (please note the first letter of the domain name is lowercase). This should fix the redirect loop.
Currently, the first letter of your domain is added as an uppercase symbol to these two options, which doesn’t work correctly with the static home page option.
I was able to reproduce the issue locally using a similar configuration. When the URL is lowercase, it works.
You’ll be logged out when you change the options. This is expected behavior.
Hi @aatanasov
Thanks a lot for helping. I changed the Site Address (URL) and WordPress Address (URL) options to https://kidzchool.com as you told and it fixed the issue.
Thanks again for helping and have a nice day.
Great, you’re welcome!
The front page works on my side as well.