Skip to main content

Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #297006
    tallaramesh
    Participant

    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.

    #297100
    djoca
    Participant

    Something like this should work
    RewriteRule (.*).domain.com/index domain.com/$1/index [R=301,L]

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Other’ is closed to new topics and replies.