• Hello,

    I am quite unfamiliar to rewrite rules.

    What I am trying to do is:

    I have created a custom plugin to add “text or phrase” either in the beginning and end of the post title using the the_title filter.

    I have created options page for plugin.

    Now, I want to modify the Posts’ URL to include the “text or phrase” entered in the Plugin settings.

    Please ask, if I lack to explain here.

    –e.g–
    Settings in Plugin
    Before title text: One
    After title text: two

    Now the Post title will be:
    One Post Title Two

    This much have been achieved.

    Now I want the URL to be:
    http://www.example.com/one-post-url-two

    Does that make sense?

    Any help is heartily appreciated.

    Thanks,
    Ankit

  • The topic ‘Rewrite URL rules’ is closed to new replies.