I’m working on a website that is using the WordPress Multilingual plugin (WPML) to support having the site translated into multiple other languages. I have English set as the default language and then 12 other languages activated. We added the content for all of the additional 12 languages, and everything was working great. We’ve now run into an issue, though, that every time we update the English version of the page, all of the other language versions reset back to English. Continue reading “WPML Pages Keep Reverting to Default Language”
Category: WordPress
Modifying YouTube Video Display in WordPress
WordPress automatically handles YouTube links, which can be very helpful. However, this means you are stuck with whatever WordPress has configured, so if you want to customize how the videos are displayed – like eliminating the related video previews that display at the end of the video – you are out of luck…at least until you install this plugin. Continue reading “Modifying YouTube Video Display in WordPress”
Update WordPress Authentication Unique Keys and Salt
Ever since WordPress 2.6.0, there are keys and salt for authentication in your wp-config.php file. They look something like this:
define('AUTH_KEY', '43.%Qo~})0$uH}jn_vD@|@?XB3p&q.b|#Li3PLJvLD&&J|t`T7oMq]5&{r$c+fr2'); define('SECURE_AUTH_KEY', 'bk3i}wgjp2@;NIz4L>14;{m@tB/bql;)Kl<cJm8P}|F;S>(+pJWPp&^U4SMz$PZ8'); define('LOGGED_IN_KEY', 'DS(v +H[dZe]bm6kFvOlu!J7LJ)?c%^qC:|2A=_zixkw`o(TT%:G?t ?_-sX7<rp'); define('NONCE_KEY', '[t%`YC7lhO[L&sIA43/:-7>ZaJP`{m2CL-+JTGPCau#>Xqng~~.*J56j{Sxh>&KD'); define('AUTH_SALT', 'X;Y:h9.`H@he$]<fNHu2xx;2J%UN~7K%[F%4y*3,G8l[,c(SwkDxi-[ +-f}[To~'); define('SECURE_AUTH_SALT', 'bq- r~2>J`!18ei/|ZGzY0hyNMxC-Be;x3lVZnGS!V>o+.>rV*ab*r|@x,]e`d#D'); define('LOGGED_IN_SALT', '8nwkt|TD2:~lkE;8q{6hXw#=3+Xz!f)+.nvs:@(g-0Sr]f`i)meWiF*vsOGL#|9]'); define('NONCE_SALT', 'XT`ejK<~|otmbqu )[w[vI=g),D+[Y=KWm@u4n=Ay_[b4YT,aTqiAmCGPAHbkt)T');
You can set these to whatever you’d like, but if you’re like me, you are not really that interested in what these actually are as long as they are long enough and sufficiently random. Continue reading “Update WordPress Authentication Unique Keys and Salt”
Blank WordPress Login Page for the Admin Panel
A strange thing happened the other day. One day, I could log into WordPress and everything was fine. The very next day, when I loaded up the /wp-admin page, I just got a blank screen. I tried going directly to wp-login.php, but again, just a blank screen. I checked the Apache error logs, and there wasn’t anything strange in there. I then checked the PHP error logs and found:
[08-May-2013 19:51:44 UTC] PHP Fatal error: Unknown: Failed opening required '/path/on/server/web-root-dir/wp-login.php' (include_path='.:/usr/local/php:/usr/share/pear') in Unknown on line 0
I checked, and wp-login.php was exactly where it was supposed to be. Continue reading “Blank WordPress Login Page for the Admin Panel”