The MU forums have moved to WordPress.org

Blog Name Restrictions Override (new plugin) (7 posts)

  1. DeannaS
    Member
    Posted 14 years ago #

    So, after someone asked about why there couldn't be 3-letter blog names on here, and one of our users pointed out that SEO says using a dash between 2 words in the url is better than stringing them together, I decided, "what the heck - I can write a little plugin that lets both of those things happen."

    So, here it is in initial release form. Play around and let me know if you find any bugs, please:

    http://wpmudevorg.wordpress.com/project/blog-name-restrictions-override

  2. DeannaS
    Member
    Posted 14 years ago #

    Oh, and just so you know, I haven't tested this on a subdomain install, just subdirectory. So, if anyone has a subdomain install they'd like to test it on, that'd be great. I don't think it should make a difference....

  3. STDestiny
    Member
    Posted 14 years ago #

    Deanna, I tried using it on a subdomain install, and I get a "Not Found" error.

    I tried all four of the restrictions, and got the same result. Also, I created them with the title "Test Blog" and it displays as "My Blog" for some reason (I'd guess somehow the title isn't getting put into the database, so WPMU uses the default).

    Here are the url's:

    No dashes are allowed.
    http://a-b-c.blogjockey.net/

    No underscores are allowed.
    http://a_b_c.blogjockey.net/

    The name can not be all numeric.
    http://12345.blogjockey.net/

    Name must be at least 4 characters long
    http://abc.blogjockey.net/

    This is a site that is pretty much defunct, so you're welcome to use it as a test site if you need to.

    Edit: I didn't notice until after I posted that it doesn't apply to blogs created via site admin. Would that cause it?

    Edit 2: I went to create a blog via the "blog not found" method (i.e., trying to go to a blog that doesn't exist) and just get a blank page. See http://blogjockey.net/wp-signup.php?new=1234567

  4. DeannaS
    Member
    Posted 14 years ago #

    Interesting... Was the base url working before you installed the plugin? Because I get the white screen of death when going to http://blogjockey.net.

  5. STDestiny
    Member
    Posted 14 years ago #

    yeah the base url was working.

  6. kgraeme
    Member
    Posted 14 years ago #

    The plugin doesn't do anything that should break your existing site. It just hooks into the calls during the blog signup validation. Nothing during display time that should break an existing site.

    If you disable the plugin, does the base url work again? I'm thinking there must be some other issue at hand. Hopefully someone else can try it on a subdomain install for us to see.

  7. DeannaS
    Member
    Posted 14 years ago #

    Hm. I finally got around to setting up a subdomain install and tested it out and it worked just fine for me. I'm thinking that perhaps it is conflicting with some other plugin you have running?

About this Topic