www.languedoc121tech.fr
Open in
urlscan Pro
77.72.0.86
Public Scan
URL:
https://www.languedoc121tech.fr/troubleshoot-fix-broken-wordpress-migration/
Submission: On July 19 via api from US — Scanned from FR
Submission: On July 19 via api from US — Scanned from FR
Form analysis
0 forms found in the DOMText Content
This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy. We won't track your information when you visit our site. But in order to comply with your preferences, we'll have to use just one tiny cookie so that you're not asked to make this choice again. Accept Decline Skip to content Languedoc 121 Tech Websites and Content Solutions | Build – Design – Train Menu * Home * Services * Website Development * Website SEO * Website Maintenance * PPC – Facebook and Google Ads * Portfolio * Workshops * About * Contact * Blog * * Store * Digital Downloads * Expertise * Software * Templates * WordPress * Basket * 0,00€ 0 items * TABLE OF CONTENTS 1. More from the Blog 2. Categories 3. Fix the WordPress Error: “The site is experiencing technical difficulties.” 4. Images Don’t Display After WordPress Site Migration 5. Fix Redirect Errors and Stray URLs that Stop Your Site Loading or Displaying Correctly 6. Fix a WordPress “Error Establishing Database Connection” Issue 7. More Like This 8. Fixing Media File Upload Errors in WordPress 9. Adding the IP Anonymisation Tag to Universal Analytics Properties 10. Set up Google Analytics in WordPress using the Header and Footer Plugin 11. Do you need someone to maintain your WordPress site? MORE FROM THE BLOG CATEGORIES * Basics * Computer Maintenance * News & Updates * Productivity Tools * Products * Security * Services * Social Media * Tools & Tips * Troubleshooting * Tutorials * Uncategorized * Videos * Websites WHEN WORDPRESS MIGRATIONS GO WRONG WordPress is a fantastic CMS with so many plugins and ways to extend the functionality, there’s not much bad to say about it – which goes some way to explain why so many of us are using it to build our own and other’s websites. That said, it’s a technology like any other and sometimes things go wrong. Of course, they only ever go wrong when you least want them to, so here’s a quick summary of the three most common errors that I come up against when moving WordPress sites. Why would anyone be moving a WordPress site you ask? Well, you might be moving hosts (yes, that can be done!) or you might have been working on a local or development copy so you can test and verify a major update without disrupting the main site. For those of us working away on the backend, moving WordPress sites is just one of those day-to-day things. But that doesn’t mean it’s foolproof! Three most common issues I see are: * Plugin issues causing conflicts, resulting in the illusive error: “The site is experiencing technical difficulties.” * Images not being displayed on pages, even when you can see they’re there in the media library and nothing has changed (except for the site having moved, of course.) * Redirect errors and stray URLs preventing the site from loading or displaying correctly. * Problems with the links in the database or connection info in the wp-config.php file resulting in the “Error Establishing a Database Connection” error. Let’s address these one-by-one. FIX THE WORDPRESS ERROR: “THE SITE IS EXPERIENCING TECHNICAL DIFFICULTIES.” This one, while utterly terrifying (it literally says nothing useful about the issue you are facing) is actually one of the easiest to fix. If you get this error you will often find that you can login to the admin dashboard but not see any of the pages on the site. To test this, type /wp-admin after your domain and see if you can login. Usually you can – which is good because it means the fix I’m about to describe will work. If you get this error, you need to be able to access the WordPress files on the server OR to be able to access the admin dashboard. If you can access the dashboard, you need to deactivate all the plugins. Then reactivate them one at a time. Each time you reactivate one, test the site (I usually have this open in a separate tab and refresh the page to see) then continue, adding them one at a time until the site breaks. When you find the offending plugin(s), you can usually resolve the issue by uninstalling then reinstalling the plugin. It’s super easy to do. Another way – and by far the fastest and easiest (given the number of plugins you could be facing) to deactivate all the plugins is to change the name of the plugins folder, which you can get to via cPanel file manager or via FTP. Just rename it – it doesn’t matter what, but logically “pluginsOFF” or “zplugins” works – then test the site, see if it works (see if you can login to the admin dashboard, if you couldn’t before) then rename it back to plain old “plugins”. Once this is done you do exactly as described above: activate them one at a time ’til you find the culprits, then remove and reinstall them. Not so bad, eh? Now for the next one. IMAGES DON’T DISPLAY AFTER WORDPRESS SITE MIGRATION This is one of my favourites; Okay, it’s not, but whenever this happens it always takes me a few minutes to remember how easy and fast the fix is. First, navigate to Settings and then Permalinks, then change the selection from whatever setting you have (usually Post name) to Plain. Fixing the Permalinks Save this setting (scroll down and click the button to save) then change it back to Post name. Check your site (refresh the page or check in an Incognito browser, if you’re not sure it’s refreshing) and many times out of 10 this will have fixed the issue. But sometimes it won’t! In this case you may well find the issue is some stray links in the database – so onto the next fix. FIX REDIRECT ERRORS AND STRAY URLS THAT STOP YOUR SITE LOADING OR DISPLAYING CORRECTLY Now you’re into database editing territory, so you might want to call on tech support (via your host) or a friendly techie (like me) to get this part done. But it can be done and it needn’t be terrifying – just as long as you make a backup first. With your backup in place, login to PhpMyAdmin and find the database you are using for your live website. Then just search EVERY table for the URL you used for your development site (or the old site name if you’ve changed the location of it) and the live site. There are some simple SQL queries to use for changing the URLs, but do remember to try every permutation of the URL you can think off. I once had a problem with a site and found a bunch of old URLs addressing my local installation (localhost), which had long since been deprecated! Work your way through these and you should find you’re on your way to a fully functioning site, unless… FIX A WORDPRESS “ERROR ESTABLISHING DATABASE CONNECTION” ISSUE First up, don’t panic. Despite being monumentally unhelpful this message is also another relatively simple fix. You need to check that your database details in wp-config.php match the details of your actual database and with those two things syncronised, usually you’re good to go. You’ll find the database name in PhpMyAdmin and the wp-config.php file in your site’s WordPress folder. If in doubt try changing the user password, which you can usually do through MySqlDatabases in cPanel. Make sure your user has full permissions too. If you get this far and your site still isn’t loading, it’s definitely time to reach out for help, even if the “IT Guy (or Gal)” that comes online to fix it does just one of the four things above and they work (yes, this often happens!) If you need more detailed explanations for any of the fixes above I can do more step-by-step description, but if you know your way around WordPress this should tell enough to get your site up and running again. I know it’ll be a useful reference for me the next time a site migration goes “pop”! PrevPreviousWhy is Google Search Console saying there is no traffic to my site? NextTyping French Accented Characters on a QWERTY KeyboardNext MORE LIKE THIS FIXING MEDIA FILE UPLOAD ERRORS IN WORDPRESS Today I’m troubleshooting an issue on a site that I just migrated across from another server. The site is fine but when my client tries ADDING THE IP ANONYMISATION TAG TO UNIVERSAL ANALYTICS PROPERTIES Update the Universal Analytics property used on your website, step-by-step. SET UP GOOGLE ANALYTICS IN WORDPRESS USING THE HEADER AND FOOTER PLUGIN Google Analytics gives you fantastic insights into the performance of your website and user behaviour. Here’s one way to install it using the Header and Footer plugin. « Previous Next » DO YOU NEED SOMEONE TO MAINTAIN YOUR WORDPRESS SITE? Whether you’re looking for a monthly maintenance plan or occassional updates, we can help. READ ABOUT OUR MAINTENANCE PLANS INFORMATION Frequently Asked Questions Terms & Conditions Privacy Policy Mentions Légales Contact AREAS COVERED Puivert, Chalabre, Quillan, Limoux, Foix, Lavelanet 11230, 11900. 11260, 19000 USE OF AFFILIATE LINKS Languedoc 121 Tech is a registered Amazon Associate Affiliate and also subscribed as an affiliate for MacPaw and PiriForm products. Affiliate links are used within blog posts and in the shop area. Languedoc 121 Tech only promotes products that they personally use and endorse. You don’t pay a penny more and we get a small commission for our referral. Proudly powered by WordPress | Theme: Dara by Automattic. Hi there!We're the cookies Sorry to interrupt, but we need to you to confirm your choices regarding cookies and the data we collect when you're visiting our site. Please choose from the options below. We respect your privacy, here's how. Consents certified by Axeptio is the trusted consent manager who takes good care of your privacy. If you want to know more about this solution: discover Axeptio No, thanksI want to chooseOK! Axeptio consent