• ellulla

    (@ellulla)


    Hello,

    I have a question about this plugin. In wordpress menu i defined a structure like that : “/%category%/%postname%” because i don’t want a slash “/” in the end. But when i install permalink editor, if i create a new page the slash is here despite of my configuration and i cant remove it with customise. Why ? Can i do something ?

    Thank you

    http://ww.wp.xz.cn/extend/plugins/permalink-editor/

Viewing 1 replies (of 1 total)
  • Plugin Contributor Steve

    (@36flavours)

    Hi,

    This could be solved by editing the plugin code, as there is currently no option to remove the slash (other than automatically removing it if the permalink contains an extension (.html, .php etc).

    I can suggest that you modify the trailing slash function found in index.php so that it looks like so:

    function trailingslash( $request )
    {
    	return untrailingslashit( $request );
    }

    I am however unsure as to what issues this may possibly cause when trying to re-route your pages.

    Hope this helps

    – Steve

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Permalink Editor] how can i remove the slash ?’ is closed to new replies.