.htaccess - use htaccess to redirect a range of urls which have parameters -


i had email subscription updates on site, i've temporarily disabled. i'm seeing hits site related subscription. urls long first several characters same. i've been trying redirect these (at least time being) single page explanatory text. i've tried several things far, haven't been able syntax correct.

btw, had change question because couldn't figure out how satisfy "quality standards".

edited add:

incoming urls are:

exampledomain.com/?wysija-page=1...

i want every incoming url matches format - no matter replaces "..." - go to:

exampledomain.com/subscriptions

it's wordpress site.

insert rule below rewriteegine line in wp .htaccess:

rewritecond %{query_string} (^|&)wysija-page=1 [nc] rewriterule ^ /subscriptions? [l,r=302] 

Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -