I have build a Wordpress site which is running on multiple (sub-)domains using the Plugin: WordPress MU Domain Mapping.
I have been out of WP-Development but had to update those sites. On the main site everything went great. After a few seconds, the site was updated.
The 3 mapped sites however are having a few problems.
After digging into the code i figured that no CSS or JS is being loaded anymore (404 Not Found)?
I can't seem to find the problem that causes this. What has changed so drastic that all those links are being thrown off?
Anyone able to point me in the right direction?
I'm happy to provide functions.php, header.php or anything else that could help to locate the problem.
In the end it was WordPress MU Domain Mapping.
Although at some points it was deactivated it still set the primary domains and caused funny redirects.
Got all pages running in directories now and just need to solve the mapping to sub-domains without the plugin (which should be a core-feature) since 4.5
Related
I have run into a bit of a weird problem on a site i created a couple of years ago. No new plugins have been added recently or anything else changed on the site for the last 6 months. Besides from the site admins adding content to the page.
But now, they cant acces the wp-login page. They just get a blank page and a 500 error.
I have looked around the web for some solutions, and have tried the most common ones i come accros:
Tried turning plugins off.
Tried changing the theme to default.
Tried deleting .htcacces file.
Checked if the wp-login.php was updated as to the wordpress codex
Some people have reported that they could acces the login page, by trying to access a specific wp-admin page and then get redirected. This does not work for me either.
None of the solutions above gave any results, so i am now at a bit of a loss.
The frontend of the site is working just fine btw.
Any ideas?
Have you tried increasing the PHP memory limit?
you did not mention it and maybe it could help
Create a file called php.ini
Paste memory=64MB in there.
Upload it into your /wp-admin/ folder using FTP
If this answer helps you. it's a memory issue and you need to figure out what takes your PHP memory limit.
I have been recently tasked to migrate a Wordpress page to another hosting services. Task, which should be quite easy, took me last 2 days and I still can't figure out what is wrong. After migrating (tried it with Duplicator plugin, manual copying and changing links in database) pages won't load. I managed to get into backend and after changing theme to any default Wordpress theme (twentysixteen, twentyseveteen etc.) site works fine but when I try use designated theme (Proxima, https://themeforest.net/item/proxima-responsive-business-multipurpose-theme/8094780) it just won't load. Page is trying to load but in the end it shows 503 error. Same thing if I want to see the preview of theme in backend, loading animation appears and nothing happened. I tried a lot of things to fix it: changing file permissions, disabling plugins, updating Wordpress, downgrading Wordpress, changing php version, changing MySQL version and nothing works. My theme support has expired and before I renew it I just wanted to ask if anyone had that problem before. Maybe there is super easy fix and I just don't see it.
Thanks in advance for any help
Problem solved with hosting support. Bad media path was the problem.
We just had our Website revamped, and we used WordPress with the Multilingual Plugin to handle translations. Originally, we built the site on a different, staging, domain. Then we added translation, then moved the site on the main domain. Everything seems to go well, until I started to notice that, sometimes, randomly, when someone access a page, it will load and then the entire page will reload into a different language.
Anyone worked with WPML may know how I can diagnose this issue?
Thank you.
This is a weird one. I googled for hours but seems to me not a single person has this same issue.
I moved my website from http://www.domain1.com/wpfolder to http://www.domain2.com . Everything works fine except I cannot get the "wp-login.php?redirect_to" path to point to the correct url.
WordPress keeps setting it to:
"wp-login.php?redirect_to=http://www.domain2.com/wpfolder/wp-admin&reauth=1"
It should be setting it to:
"wp-login.php?redirect_to=http://www.domain2.com/wp-admin&reauth=1"
The "wpfolder" doesn't exist anymore..
I followed the instructions exactly on how to move a WordPress website, but the darn URL won't change...
Some forum mentioned changing the "site_url" and "home" from "http://www.domain2.com" to "http://domain2.com". Now I can finally get to the admin panel, but I don't get why it needs to be that way?
I cleaned my browser cookies and checked the wp-content folder for cache already. Nada..
Also the rest of the site is functional.
I would appreciate if anyone can help.
I moved the WordPress website from GoDaddy to Bluehost by copying the files and the database and the problem went away. I am not sure why this fixed it, but assuming it has something do with the cache.
If anybody has more information, I would love to read about it.
Thanks
I was facing the same issue, with same redirection to one of the sub-directory in which wordpress was installed.
Resolved this issue, by clearing the cache, if some cache plugin is active.
Or by deleting the cache plugin if any present and is currently not yet active.
As some entries made by cache plugin inside wp-config.php file creates the above mentioned problem.
After removing the cache plugin, it resolves the WP-admin URL issues.
I'm still new here - but I hope someone is willing and able to help me with my issue:
We recently merged our regular old school Wordpress blogs into 1 WP MU/multisite installation.
But this came at a terrible cost.
I have 5 sites in my installation right now - and this is how I see them in my WPMU installation (for later reference):
Primary site:
site1.com
Secondary sites with own domain: (parked domain pointing at same server)
site2.com
site3.com
site4.com
Secondary site without own domain: (primary domain with subdirectory)
site1.com/site4com
All images IS WORKING on my primary site (site1.com).
On my secondary sites (with or without own domain), my images is sometimes working and sometimes not. I'll try to explain the pattern:
In the morning everything is typically working. It "feels" like the number of visitors and how much they "stress" the system will provoke image load errors. When "it's not working", usually half the images is loaded correctly and the other half isn't. Selecting one of the images not loaded and pasting the URL to a new pane/window and loading it alone ALWAYS works - no matter how quick and for how long I press F5 to stress the server.
So from above description I will try to conclude this error is related to how WP MU handles the secondary sites images. I think there is some "server forward"/"url resolve" logic different from WP MU and regular WP (I assume primary site works just like a regular blog).
So if someone could either:
Help me solve this issue in total
or help me identify the difference between primary/secondary url resolve
I would be so grateful !!
Thank you for reading this far no matter what!!
EDIT:
Just found a post on wordpress.org with the same issue - but no solution:
http://wordpress.org/support/topic/subdirectory-images-randomly-not-loading
I think its the problem of your WP updation. Have you ever done the Wp update after the installation, If so try to add the following code to your wp-config file.
define('WP_DEBUG', false);
define('WP_ALLOW_MULTISITE', true);
If it also not working please post here, let search for a different solution.