I was asked to look at a WordPress site that needed help with their pretty URLs. Most of them worked just fine, but a few of the categories had “-2” at the end of them, and they wanted that removed. The “-2” normally signifies that it’s a duplicate, but they did not have any duplicate categories. So what was causing the “-2”? Continue reading “Fixing the “-2” in WordPress Category Slugs”
Tag: WordPress
WPML Pages Keep Reverting to Default Language
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”
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”