The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › Other › htaccess url redirection with folder
hi i have problem with url redirection
current requirements url format is
abc.domain.com/index => domain.com/abc/index
Please suggest to me. “abc” is dynamic values will varies.
Something like this should work
RewriteRule (.*).domain.com/index domain.com/$1/index [R=301,L]