[Plugin: OMFG Mobile Pro] Changing URL (4 posts)

  1. waterworks2
    Posted 3 years ago #

    I downloaded and installed your plugin today. It seems like it has promise but...

    I noticed the URL that is generated for the landing page I created has 'omfg' listed in it. Because of the connection this acronym is commonly associated with it, I cannot use this on any business related website. That's a big bummer.

    Is there anyway to change the URL to remove the OMFG? I understanding the want/need to advertise and get your name out there, but IMHO, it's not a good name for business related customers.

    Thanks for the effort though. It looks like a solid plugin and I wish I could use it.

  2. Jason Bahl
    Posted 3 years ago #


    I understand your concern. I believe I have a solution for this.

    Let me look into it real quick and I'll get back to you.

    There's now much more extendable Mobile plugin with a drag and drop interface if you're interested: http://wordpress.org/extend/plugins/mobilechief-mobile-site-creator/

  3. Jason Bahl
    Posted 3 years ago #


    I have a solution for you:

    On line 97 of includes/posttypes.php


    'rewrite' => false,


    'rewrite' => array( 'slug' => 'm', 'with_front' => false ),

    You can change the slug to whatever you want, instead of m, I just chose 'm' to make it short and simple.

    Then after making that change, be sure to re-save your permalinks. . .you MAY even need to de-activate and re-activate the plugin for that permalink change to take effect.

    Please note that this change will get overridden by any updates to the plugin.

    I will look into adding an option so that user's can set this parameter from somewhere in the Plugin.



  4. KevEd
    Posted 3 years ago #

    Thanks Jason,
    the code works perfectly, now we can use the mobile plugin for business sites.

Topic Closed

This topic has been closed to new replies.

About this Topic