• Nikolay

    (@homerepairbg)


    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. Im change Settings -> Permalinks -> Custom Structure and enter the structure you want to use, theres 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]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘.htaccess pagination redirect rule in wordpress site’ is closed to new replies.