500 error after switching WP site/domain to new folder
-
Hello all, I was trying to revamp my site and am having a bit of an issue. So, originally, I had my main site at https://kyoudai.net/freakingnarnia, which my domain https://freakingnarnia.com was pointing to. Under that domain name I also had two other WP sites (my mobile site at freakingnarnia.com/m and a separate site at freakingnarnia.com/vlog), and they all worked without any issues.
When I decided to revamp, I switched my freaking narnia domain to point to https://kyoudai.net/fn2 (it was just a simple HTML “site under construction” page, no WordPress). Then I designed the new version of my main site on a fresh WP install in new subfolder at https://kyoudai.net/fn. The two subsites I then cloned into new subfolders at https://kyoudai.net/fn/m and https://kyoudai.net/fn/vlog. It was the same structure I had in the original folder. All three sites worked perfectly at this point.
So, thinking that I was almost done, I switched the freaking narnia domain again, this time to point to https://kyoudai.net/fn, aka the revamped site. I changed the WP address (URL) in all three sites, and that seemed to work fine. All three sites open okay if you try https://freakingnarnia.com (or /m, or /vlog respectively). I can access all three WP dashboards without a problem, and they seem to work as if nothing was happening. However, if I try to open any subpages on those sites (like for example my services page on my main site, which should be at https://freakingnarnia.com/services), I get an internal 500 error. Only on the subpages, but not on the front page. And it’s the exact same for all three sites, all of which worked just fine before the domain switch, so I very much doubt the internet’s most popular solution, “deactivate all your plugins,” is going to be useful here.
I tried changing the WP address (URL) via the MySQL database, and even by directly editing the wp-config file. The issue persists. I asked at my webhosts’s support chat and they seemed to think it was an .htaccess issue, but the solution they suggested (eliminating an https:// <-> https:// redirect loop) didn’t fix it, and I can’t gauge from my frantic Google searches which solution out of a myriad might work because I can’t seem to find anyone else who’s had this same problem. Thought I’d ask here just on the off-chance someone might’ve dealt with this before. Any input is appreciated.
The page I need help with: [log in to see the link]
- The topic ‘500 error after switching WP site/domain to new folder’ is closed to new replies.