How to forward page=1 on without him?

I have 2 codes and both jamb that they forwards ?page=15 ?5

#RewriteCond %{QUERY_STRING} ^(.*)&?page=1(.*)$
#RewriteRule ^(.*)/?$ /$1?%1%2 [R=301,L]

RewriteCond %{QUERY_STRING} ^page=1$
RewriteRule (.*) $1? [L,R=301]
June 14th 19 at 18:15
1 answer
June 14th 19 at 18:17
Solution
RewriteCond %{QUERY_STRING} ^page=1$
RewriteRule (.*) $1? [L,R=301]

This option is working correctly!!!
My experiment failed because of the cache.

Find more questions by tags htaccess