Yes the front page is set as static.
Also I have tested below code with (EP_ROOT, EP_PERMALINK, EP_PAGES, EP_ALL) but it doesn’t work 🙁
function productpage_rewrite_endpoint(){
global $wp_rewrite;
add_rewrite_endpoint(‘productpage’, EP_ALL);
$wp_rewrite->flush_rules();
}
add_filter(‘init’, ‘productpage_rewrite_endpoint’);
http://mattlangett.utv2.hemsidor.nu/?productpage=2
I have turned off pretty permalink and you can check it. It doesn’t work.
It redirect to blog page.
I am talking about pagination code it.
http://mattlangett.utv2.hemsidor.nu/
We have fixed the issue with permalink however it still not working on homepage.
I am using this code on ACF(repeater) however it doesn’t work on homepage and also it doesn’t work with permalink(post name) could you please check that or guide me how i could solve this issue?