• Resolved tnightingale

    (@tnightingale)


    Hi – thanks for this handy plugin. Showing user ID is a good solution – unique and doesn’t change.

    I am trying to change the user base per the filter you show in the FAQ, but it’s having no effect. I cleared cache and re-saved the permalinks (more than once), no luck. My function (in functions.php):

    add_filter('simply_change_author_url_author_base', 'mg2022_changeAuthorSlug');
    
    function mg2022_changeAuthorSlug(){
        return 'mg-member';
    }

    ??

    Also: the username is still showing up in the body class; and the meta property og:url is showing the original URL (/author/username). Any way to fix those?

    Thanks in advance!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Devi

    (@dev_vahid)

    hi – thanks for reporting this issues.

    I’ve made a few changes to fix your problems. (see version 1.1.2 changes)
    just update the plugin and you should be fine.

    About the og:url, plugin is already compatible with yoast seo, if you’re using any other plugin to print open graph tags please tell me the plugin name so i can make sure plugin is compatible.

    • This reply was modified 2 years, 8 months ago by Devi.
    Thread Starter tnightingale

    (@tnightingale)

    Thank you for the fast fix! The filter is working and the body class is cleaned up.

    The og:url value is now /user/<id> so it’s updated but ignoring the filter for the base.

    I’m using Yoast (free version).

    Plugin Author Devi

    (@dev_vahid)

    I think it’s happening because of yoast indexables.

    please use this article and let me know if it fixes your problem.

    yoast.com

    by doing this you will immediately see the changes on your yoast data too.

    Thread Starter tnightingale

    (@tnightingale)

    That did the trick – thanks!

    Plugin Author Devi

    (@dev_vahid)

    happy to hear that.
    I’ll be happy if you rate the plugin, helps other people install the plugin.
    thanks.

    Thread Starter tnightingale

    (@tnightingale)

    Will do that right now!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘changing user base not working’ is closed to new replies.