This page isn’t working domain.com redirected you too many times

userX

Verified User
Joined
Apr 28, 2020
Messages
24
Hi

I build a new WP site behind index.html, when I deleted the index.html file I cannot access domain.com but I can access everything else, admin and domain.com/blog, com/pages, etc. work just fine.

Been through everything I can think of but still no luck,

Does anyone have an idea of what I am missing? or how to solve this issue?

Regards
Dennis
 
Thanks, guys, but neither solutions are the issue, I deleted the .htaccess still no access.

if I upload the index.html I can access WP, as usual, I would think this is a DA issue.
 
If it works with index.html present, then why are you deleting it? The fact you get this error means you have a redirection loop somewhere as soon as you delete that file...
 
The reason for deleting index.html is to get the site live, it's not the WP index.php
 
if I upload the index.html I can access WP, as usual, I would think this is a DA issue.
I doubt it as we probably all have WP sites on DA which work fine.
Do you have customizations in place?
Can you check the database if the paths are indeed correct, like /home/user/domains/domain.com/public_html for the installation?
You have the index.php present in public_html?
What happens if you call that directly like http://www.yourdomain.com/index.php
any redirects present in the directadmin account of your site?
 
As I build this site on a temp domain, it turned out to be one uppercase letter in DB sitemeta that somehow got there while changing the domain.

I didn't know it was case sensitive if there were an uppercase letter!
 
Uppercase is never used on domain names, email addresses and such. But I also didn't know it could cause this kind of issue.
Thank you for reporting back.
 
I know Richard, I must have hit shift by accident while typing in the new domain name! who knows :unsure:
 
Check the permallink settings in Wordpress or simply save them again, it will recreate the .htaccess. Most of the time that will fix it. Or do you mean you can reach it if you use yourdomain.com/index.php when there's an index.html and it can't be reached when there isn't? Do you run the wp-site in a subdirectory? In that case you would need to modify the index.php.

What does the error-log show?
 
Richard, I created a new site/domain in DA and used the default DA index as a placeholder for "under construction" to block all access to the WP site as it was created on a placeholder domain. I was redoing an old site.

Anyway, after fixing the issue, everything is working just fine but it was a pain finding this small error!!!
 
Richard, I created a new site/domain in DA and used the default DA index as a placeholder for "under construction" to block all access to the WP site as it was created on a placeholder domain. I was redoing an old site.

Anyway, after fixing the issue, everything is working just fine but it was a pain finding this small error!!!
Ah, I didn't get it that it was already fixed because of that.
 
Anyway, after fixing the issue, everything is working just fine but it was a pain finding this small error!!!
Tell me about it, LoL. I've also had times i've been searching and looking over something small like that. Pain in the but indeed. But I never forget those little ones which cost me hours. I'm sure you won't forget this one anymore either! ;)
 
I "hope" I'll remember not to "accidentally hit shift" next time I work in the DB and yes, I spent hours bug-hunting this tiny little mistake I did!

On the other hand, what I do not get is why everything else worked just fine other than going to the front page i.e. domain.com!
 
I wouldn't have a clue. Maybe Apache does not care about case sensitivity and treats everything as being lowercase or something like that.
As far as possible on servers, I try to never use uppercase, except when necessary like with passwords.
 
Back
Top