php - How to redirect a subdomain in htaccess that has no subdirectories -


I've searched Google and stackoverflow for a while, but in reality my question was not answered.

Examples should redirect:

According to the examples, if I do not have a subdirectory or question then T redirection

There is no clue how to do this. I have managed the trigger on the subdomain, but it will also redirect to sub-directories.

simply rewrite rule which redirects like this:

  revert string% {REQUEST_URI} = /  

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -