The Appearance of Strange characters is a common WordPress issue that manifests when you transfer from one hosting to another. Your WordPress character encoding changes in the process.
If you have ever transferred your blog or wordpress site from one hosting to another, then you should be able to relate with the issue of the following Characters Â â €™ ¢?”.
I first encountered this strange/character encoding issue when I was transferred flashlearners website file from Ipage VPS to Hostgator Cloud Hosting.
It took me hours of research before I could get the real solution. However, I am about to give you the causes and solution to the issue of strange characters appearing in WordPress for free right now.
Causes Of Strange/Weird Characters In WordPress
1. WordPress didn’t specify that the character set when creating its storage tables (posts, etc.)… so the tables were created with whatever the default character set was in the MySQL installation.
See Also: How to rank Google frontpage easily
2. WordPress is still expecting the content to be in UTF8, which is why you’ll occasionally see those funny characters on your blog… Â â €™ ¢.
Good News! Get The Offers Below For Free:
- Download Over 13,000 Hot Jamb Questions
- Follow My Jamb, Blogging, Waec & Neco Tutorials
- Get All Waec Past Questions With Flashlearners App
- Practice Waec & Jamb Questions Online
In a layman’s view, getting funny characters means that wordpress couldn’t tell the correct language when the files transfer process was going on. Therefore, your language was changed. You need to change WordPress character encoding from Latin1 to UTF8”
Solution To Character Encoding Issues After WordPress Site Transfer
Checkout how I solved character encoding issue in my wordpress blog and how you can get rid of weird symbols appearing in all your blog posts.
Step 1) Open the ‘wp-config.php’ file in a text editor such as notepad (the wp-config.php file can be found on the directory where you installed WordPress).
Step 2) Find the following two lines and comment them out:
define('DB_CHARSET', 'utf8'); define('DB_COLLATE', '');
They should look like the following after you comment them out:
//define('DB_CHARSET', 'utf8'); //define('DB_COLLATE', '');
Step 3) Now upload the updated ‘wp-config.php’ file to your webhost (overwriting the old one).
This character encoding problem can happen after a database upgrade too so it doesn’t hurt to keep this trick in your mind just in case.
Hope you found this helpful? Feel free to share with others and do not fail to share this piece with friends.
See Also: Amazing season two of my blogging series
Score 350+ In Jamb 2018: Download Flashlearners Jamb CBT APP To Get Over 13,000 Likely Questions
I Have Started Sending Daily Hot Updates! Enter Your Email To Subscribe
I Started This Blog As A Passion, With The Vision To Inspire & Empower Young Persons; Helping Them Realise & Maximise their Potentials. You May Click Here To Roll With Me On Instagram @Officialflashisaac.
Latest posts by Isaac Inegbenehi (see all)
- Nigeria Current Affairs Questions And Answers For Fun, Jobs & Scholarships - February 18, 2018
- 10 Extraordinary Benefits Of Good Thinking - February 18, 2018
- 65 Common Mistakes Students Make In Use Of English And Corrections - February 18, 2018