WordPress

Turn off smart quotes "" using preformatted tag in wordpress

Turn off smart quotes using preformatted <pre> tag “here’s a quoted string in regular paragraph mode – smart quotes ON” “here’s a sentence that uses Preformatted to get rid of smart quotes” How did that happen?  In the WordPress blog editor, I selected the text I wanted to remove smart quotes from – then changed …

Turn off smart quotes "" using preformatted tag in wordpress Read More »

Where are MySQL datafiles stored on Linux?

By default they are in the sub-directories at or below: /var/lib/mysql For example here is a listing of the wordpress database stored in MySQL/MariaDB [root@lampcent7 wordpress]# pwd /var/lib/mysql/wordpress [root@lampcent7 wordpress]# ls -altr total 168 -rw-rw—-. 1 mysql mysql 65 Jan 18 10:57 db.opt drwxr-xr-x. 5 mysql mysql 182 Jan 18 15:25 .. -rw-rw—-. 1 mysql …

Where are MySQL datafiles stored on Linux? Read More »

Turn on debug in wordpress – by default spools errors to the screen

Turn on debug in wordpress – by default spools errors to the screen when set to “true”. in the main configuration file wp-config.php change “define(‘WP_DEBUG’, false);” to “define(‘WP_DEBUG’, true);”. Can be a security concern as all users see the messages… turn it off at your earliest convenience. A couple more debug features exist as follows: …

Turn on debug in wordpress – by default spools errors to the screen Read More »