php - htaccess redirect based on specific keyword -


i need redirect below url based on "index/1992" keyword.

http://www.goldcoasttouristparks.com.au/burleighbeach-parkhome/obookings3/search/index/1992/1?a=&d=&ad=adults&c=children&i=infants

to redirect http://www.goldcoasttouristparks.com.au/burleighbeach-parkhome/

put below htaccess rule @ below of .htaccess file if else create new .htacees file

rewriterule (index/1992) /burleighbeach-parkhome/ [r,301,l] 

Comments

Popular posts from this blog

ios - Pass NSDictionary from Javascript to Objective-c in JavascriptCore -

python - PyInstaller UAC not working in onefile mode -

wso2is - WSO2 IS 5.0.0 SP1 After restart there is authentication error -