WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Custom Permalinks] automatically removing forward slash? (6 posts)

  1. greencode
    Member
    Posted 4 years ago #

    First of all, loving the plugin but I have one problem: If I do the following:

    http://www.mysite.com/test

    then this works ok. But if I do:

    http://www.mysite.com/abc/test

    i.e Add a forward slash for my permalink then for some reason it doesn't work. It simply redirects this correct url to:

    http://www.mysite.comabc/test

    therefore removing the first slash at the end of my main url and obviously it doesn't find the page.

    Any help or advice would be greatly appreciated.

    http://wordpress.org/extend/plugins/custom-permalinks/

  2. greencode
    Member
    Posted 4 years ago #

    Am I the only one experiencing this issue?

  3. greencode
    Member
    Posted 4 years ago #

    I think I've figured this out. I've added a trailing slash to the WordPress custom permalink and that seems to have done the trick.

  4. tribsel
    Member
    Posted 4 years ago #

  5. admit
    Member
    Posted 4 years ago #

    I have the same problem!!! Please help!

  6. admit
    Member
    Posted 4 years ago #

    I commented the line 681 in file wp-content/plugins/custom-permalinks.php:

    //add_filter( 'user_trailingslashit', 'custom_permalinks_trailingslash', 10, 2 );

    and it seems to work now... But i'm not sure(((

Topic Closed

This topic has been closed to new replies.

About this Topic