WordPress: own rewrite rule for pagination olatechproFebruary 27, 20231 Views is it possible to create the following redirect rule: http://xyz.com/page/2/Read MoreGet rid of this Strict Standards warningWooCommerce: get_current_screen not working with multi languageCan’t login on WordPress should redirect to http://xyz.com/?page=2 Thanks Post Views: 1 Related postsGet rid of this Strict Standards warningWooCommerce: get_current_screen not working with multi languageCan’t login on WordPressForce HTTPS using .htaccess – stuck in redirect loopWordPress: Ajax not working to insert, query and result dataHow Can I pass an image file to wp_handle_upload?
This should do it: RewriteEngine On RewriteRule ^page/([^/]*)$ /?page=$1 [L] You can use this website to generate rewrite code: http://www.generateit.net/mod-rewrite/ Edit: seems like I was a little too late.. Log in to Reply
use a Mod Rewrite Generator, and put that in your htaccess file And in your htaccess file, it would look something like this RewriteEngine On RewriteRule ^page/([^/]*)/$ /?page=$1 [L] Log in to Reply
This should do it:
You can use this website to generate rewrite code: http://www.generateit.net/mod-rewrite/
Edit: seems like I was a little too late..
use a Mod Rewrite Generator, and put that in your htaccess file
And in your htaccess file, it would look something like this