Hi everyone!
i m trying to redirect some urls that they aren using anymore but they have been indexed from google so i want to redirect to the homepage..
My old url seems like
"www.domain.com/video?videodirek=4125"
and i want to redirect all of the urls which contains "video?videodirek=#*$!x" but not contains only "video" variable because my video root is "www.domain.com/video"
i tried this code but its not work proparly.
"RewriteRule ^video?([^/-]*)$ [
domain.com...] [L,R=301]
its only delete "video" word from url and i cant enter my video directory "www.domain.com/video"
Sorry for my english. i also read many docs for redirecting with htacess but i couldnt make a working code.