I recently migrated a site from a live server to my localhost.
Whenever I went to open the site, instead of loading like all other sites in my htdocs directory, it tried to download the site files.
Clearly, my stack is not running correctly.
So I did a migration from live to local with a Wordpress plugin.
This time it worked fine. Until I clicked on the permalinks tab from within the Wordpress dashboard.
Same problem happened again.
Looks like a permalink issue but Google is turning up nothing (perhaps I am searching for the wrong thing)
Really would appreciate some advice or links for where to look.
Thank you!
You should go to Permalink Settings page in your localhost WordPress dashboard and click save changes to update local permalink settings.
I don't know which WP plugin you've used to copy your website to localhost, but from my experience WordPress Duplicator takes care of the permalinks for you.
Related
I have a Wordpress project that successfully appears on the browser, meaning, the actual website appears fine locally.
I've pulled down this project from GitHub. How would I go about opening this project on the Wordpress dashboard so I can actually make changes on the theme? I think my main issue's that I can't access wp-admin (myurl.com/wp-admin). Anyone have any suggestions on how I can get around this?
You could try to access myurl.com/wp-login.php
I had a WordPress installation which I recently moved to a new Linux host. My host is for three website. I already had a WordPress site at the home directory (/public_html/). The later installation is at 'public_html/mukharsamvad.com'. The first WordPress installation is working fine. But the website with domain name 'mukharsamvad.com' is not showing any media (photos etc.). Even after logging into 'wp-admin' it doesn't directs to dashboard. Admin bar appears at the top, but doesn't have any menu or option.
After checking the URLs of images, I have found as 'http://mukharsamvad.com/wp-content/uploads/2019/10/nitish-kumar-11-1.jpg/'. It is treating it as directory. Please recommend me fixes.
Removed old installation and re-install WordPress. After restoring database, problem with image urls solved, but Dashboard still missing.
Here what you can do
check by deactivating all the plugins
change the theme
if not worked , switch for theme editor.
install classic editor plugin and enable it
if this not worked ,
inspect element & check console for errors.
it sounds like you are missing file of Wordpress I would suggest you to compare each directly with installed WordPress if you still don't solve problem then take backup of migrating WordPress installation do fresh installation then override the backup files
I'm running up a local WordPress server with WAMPSERVER, and I'm working on editing the theme's child theme.
I also setup virtual server on my network. In the past few days I don't see any issue, everything work perfect. Until yesterday the virtual server look like not able to connect via my mobile phone and other computer in the same network.
Today I'm trying to work on the editing. It just can't load to the homepage or even wp-admin. So I took a look at the console in developer mode and I had this error.
I have try to do all the research like changing the port at httpd.conf and wp_option in wordpress to localhost. It just don't work at all.
UPDATE:
I have solve the issue with reinstall the WAMPSERVER and WordPress manually. I'll keep this post and make a guide for the future use.
Firstly I have no idea what to do because I can't even load to /wp-admin. So I decided to backup and restore everything manually.
1. Backup directory
Open up where your WordPress installed.
Click on the WAMP icon at the taskbar. If you don't see it probably is hidden inside the up arrow icon. Left click on the WAMP icon and navigate to www directory.
You don't need to copy and backup all the files in here. Navigate to yoursite/wp-content and copy plugins, themes and uploads.
Paste at any place in your computer as a backup except C:\wamp64. Because it will delete all the files when you uninstall the WAMPSERVER.
I'm using WAMPSERVER 3.1.7, older version might be different. Please Google where is my www directory in wampserver replace.your.version or original path which you can find at C:\wamp64\www.
2. Backup database
We need to backup our database in order to recover the page, post or portfolio we created in the WordPress.
In your browser navigate to localhost/phpmyadmin and select your WordPress database at the right panel then select export button on the top and press GO. Make sure your Format: SQL before you press press the go.
All the pages, posts and portfolios that you created are store inside the database, not in the WordPress folder. Read more at here.
Uninstall WAMPSERVER
Update later...
Reinstall WAMPSERVER
Update later...
Prepare to install WordPress
Update later...
Holla
Update later...
Hope the above guide will solve your issue. I'm not a professional IT guy but it does work for me at least :).
Feel free to edit or suggest if you think I have mistake in the guide.
well here is my problem: I created a wordpress multisite and it works in localhost, where I tried to migrate it to a remote server and I am having a strange problem.
First, I have installed a new wordpress site and I have activated the multisite option, modifying the .htaccess and wp-config.php files, after that I have copied all files of the site except wp-config.php and .htaccess, and finally I changed all referenced urls and domains on the database (Of course, imported before).
Well the url is http://sanmigueladoratrices.com/ I can see the principal site that is the same of http://sanmigueladoratrices.com/inicio but I cant see the other two themes, /matriculados and /nomatriculados else I cannot see the admin site, /wp-admin, I dont know why and I need help.
Really thanks to all :)
Well, problem solved. No one helped me but maybe that post can help someone.
The problem was that mod_rewrite was failing so you have to activate it correctly.
I have WordPress site and it is updated new version. I don't know how. Few plugins also got updated. Now sites page is not loading. Server is working fine but pages are loading.
I don't have back up. How should I get back the things.
This is a good time to learn your lesson about backups. Always have a backup.
It's most likely that one plugin is breaking your site. You can copy the /wp-content folder of your site to your computer using FTP and then (after copying it locally!), one by one, delete the plugin folders in wp-content/plugins themselves on your site over FTP. After deleting each plugin folder, check if your site is back up.
If you find the offending plugin, try reinstalling it through the WordPress admin panel. Because you deleted the plugin folder and not the database entries, the settings should still be there, but your local copy is in case of further emergency anyway.
You can try renaming your plugin folders via FTP connection. Do that one-by-one and reload the site each time. They will be deactivated after you do this, and you will find the plugin which is causing the problem.