Allow WordPress Multisite to Have Hyphens in Blog Name


So, wordpress multisite does not allow you to have hyphens in your blog names automatically, I don’t know why, but that is how it is. After some googling I found a solution. (see below for credit)
All you have to do is:
grab “ms-functions.php” out of the wp-includes folder.
on or around line 652 add a hyphen after the 9, so change:
preg_match( '/[a-z0-9]+/', $blogname, $maybe );
to
preg_match( '/[a-z0-9-]+/', $blogname, $maybe );
Originally got this from the following forum thread:
http://premium.wpmudev.org/forums/topic/allowing-hyphens-in-blog-names
thanks TonyV

Posted in Wordpress Multisite | Tagged , | Leave a comment

Edit Source Code Using Cart Designer in Pinnacle Cart

Just a brief introduction to Cart Designer for Pinnacle Cart. Continue reading

Posted in Pinnacle Cart | Leave a comment

Compress Images for the Web Using Picasa

One issue that has come up lately with friends and clients is how to compress images for the web. Continue reading

Posted in How To, Picasa | Tagged | Leave a comment

Must Have WordPress Plugin: Disqus

The Disqus WordPress plugin integrates your websites comments with the Disqus social network commenting system. “DISQUS is a networked platform connecting millions of people across thousands of communities. Does your website use it?”- via Disqus.com Continue reading

Posted in Disqus, Social Media, Wordpress Plugins | Tagged , , | 12 Comments