Michael
Michael

Reputation: 111

Wordpress wp-admin/setup-config.php homepage redirect loop

I have a common problem that many of us already encountered before.

I installed Wordpress on a subdomain on my server. The Homepage (www.mydomain.com) keeps redirecting to www.mydomain.com/wp-admin/setup-config.php.

Interestingly, other pages than the home page (f.i. www.mydomain.com/blog) DOES NOT redirect. Those work fine. It is just the homepage (www.mydomain.com/) itself that redirects.

I use the Illdy theme as a child theme.

I did already:

Intersting is also that in the customnizer of the Illdy theme, I can see the homepage itself in the preview. No redirect here.

Sadly I also did fix this issue once before, also on a subdomain but with a child theme of Sydney. But unfortuantely I forgot completely what I did back then and don't get it together anymore :(

Any ideas what it could be?

Upvotes: 2

Views: 11130

Answers (2)

Masoud Tavakkoli
Masoud Tavakkoli

Reputation: 1020

In my case there was a permission problem. I solved with this commands.

chown www-data:www-data  -R * # Let Apache be owner
find . -type d -exec chmod 755 {} \;  # Change directory permissions rwxr-xr-x
find . -type f -exec chmod 644 {} \;  # Change file permissions rw-r--r--

Upvotes: 0

Michael
Michael

Reputation: 111

OK, got it.

It was the Browser Cache. I just refreshed the page with the shift-F5 all the time, but nope, needed to empty the cache.

Don't really understand why actually, but anyway, problem solved and lesson learned. :)

Upvotes: 6

Related Questions