Support » Plugins and Hacks » [Plugin: El Aleph] rewrite rule problem

  • Resolved nesticus

    (@nesticus)


    hi,

    first of all thanks to detective for such a useful plugin, i loved it.

    i faced a problem with rewrite rules;
    i translate the po file and produce a .mo file for Turkish, everything seems all right but listing the posts of a user is not working.

    although i changed the word “author” to “yazar” in Turkish, the permalinks still says author like “/author/username”

    i tried to change the rewrite rule from database, but got php errors.

    any idea how can i fix this?
    and probably i think this is a bug in the plugin, and hope i found it 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    If you are linking to author posts, it’s not a problem in Aleph, but a problem in WordPress. I have the same problem. You could do something like this on a plugin:

    function translate_author_link($url){
            return str_replace("author", "yazar", $url);
    }
    add_filter('author_link', 'translate_author_link');

    Hopefully this should work.

    it worked!
    thank you 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: El Aleph] rewrite rule problem’ is closed to new replies.