i'm using pagination for very long posts. So i have a problem here. I'm not happy with standard utl structure (where is couple personal reasons for that in my project). For example, i have post
/post.htm
and i need to get second page of it with
/post2.htm
not
/post.htm/2
I'm sure that i won't create post/page with slug post2 How can i change standard url in a such way? I tried this
add_action( 'init', 'wpa5413_init' );
function wpa5413_init()
{
add_rewrite_rule('^([^/]+)([0-9]{1,2}).htm$','$matches[1].htm/$matches[2]','top');
}
But it doesn't work...