I ran into a pretty strange problem while setting up a website. I moved a WP installation from the subdirectory wp2014 to the website root (the site is http://www.startglobal.org/), and now all the links still go to the subdirectory. The weird thing is that everything is displayed correctly once I am logged in as an admin.
Would anyone know how to solve this?
Thanks!
Benjamin
Please Try WP Migrate DB Plugin, hopefully It should solve your problem.
Related
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
Putting our company website on localhost for testing, etc. All working OK, apart from WP-Admin: lets me login OK, but the format of the site is unusable - image attached.
Have checked permalinks, etc. which are working OK for rest of website. It is just WP-Admin that I'm having trouble with.
Anyone come across this before?
Thanks in advance.
Darren.
WP-Admin screenshot
Follow this steps
You have a problem in CSS style link, it may cause on your database or maybe on one file which has been hardcoded.
Copied over WP-Admin files from a fresh install and now works.
Thanks for the nudge in the right direction, Babak.
I have a client who has asked me to start working on their Wordpress site. The admin page is broken and I do not have access to the database yet (I am trying to track down the previous people who worked on it). It is quite messy, I know.
What I am doing now is migrating peices over to a new wordpress site using Wamp server just to get it functional, but I am wondering if the solution is simpler than that. Ideally, I would just fix the the login, but I have minimal Wordpress experience and don't know where to start.
Here is the website: http://fundafighter.com
If you go to http://fundafighter.com/wp-admin you'll notice that it is broken. I reroutes to "login-2", which I don't think is normal. So far I haven't found any folder with that title...
I would log into the site via FTP, check the wp-config.php file for any redirects for wp-login.php. Then, check the .htaccess file for the same. Remove any references.
If you get that page working, and you need to reset the password, I would follow this tutorial through phpMyAdmin:
https://codex.wordpress.org/Resetting_Your_Password#Through_phpMyAdmin
I have a nightmare scenario where -- just getting ready to launch a site -- permalinks are suddenly not working and it breaks CSS and can't find PHP templates. I have the permalink structure set to "http://domain.org/%postname%-by-%author%/" but when I click on a post the permalink only calls postname, for example: http://domain.org/%postname%
My host provider checked the htaccess file and can't find any problem. I can't see one either. I have searched around and see many Wordpress users having permalink problems but they all seem to have different solutions. I am at a loss. Any help would be greatly appreciated.
Click update permalinks after moving worspress. Should fix you issue :) Usually in the database the old structure is saved and the new one doesn't work, even if your htacess is ok you should still hit the update permalinks button :)
If that doesn't work try debugging with http://wordpress.org/plugins/monkeyman-rewrite-analyzer/
:)
I am curios why is the css broken. That doesn't depend on whether your permalinks are broken or not. :-S
Have you installed any plugins before it failed?
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.