.htaccess pagination redirect rule in wordpress site
-
Hi, people!
I want to change the url from “https://some-domain.com/…/?product-page=some-page-number” to “https://some-domain.com/…/page/some-page-number” to make every dynamic page static for caching purposes.
This is happened only when I use [shordcodes] to show specific product categories and tags in custom made pages. I
m change Settings -> Permalinks -> Custom Structure and enter the structure you want to use, there
s everything fine.I try a lot of scenarios in functions.php and in .htaccess file, but nothing work for me.
Something like:
RewriteRule ^/page/(.*)$ ?product-page=$1 [R=301,L]
and other variants, but every time nothing happening
Can somebody help?
The page I need help with: [log in to see the link]
- The topic ‘.htaccess pagination redirect rule in wordpress site’ is closed to new replies.