Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mehmeh

    (@mehmeh)

    In case anyone is having the same problem; I have fixed it by adding the following code into postname-permalink-auto-redirect.php

    if ( strpos( $request_slug, '.html' ) ) {
    		$request_slug = str_replace('.html', '', $request_slug );
    	}
    Plugin Author fabioneves

    (@fabioneves)

    Hello,

    That’s because the plugin assume and only works with the “%postname%” permalink structure, it’s fixed.

    In the next version I’m planning on adding an option to customize the “old” permalink structure.

    A good option would be to remove some bits from the base structure also, for example, you needed to remove “.html” from it.

    Thanks for your fix, for anyone with the same problem.

    I’m glad the plugin was somewhat useful to you.
    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Doesn't work for me’ is closed to new replies.