.htaccess - htaccess redirect subfolders to domain -
i bought domain (e.g. mydomain.com) on hoster. because had experience webspace of hoster, took there. installed forwarding on hoster got domain. hoster of webspace got url access like: www42.mydomain.some-server.com.
so forwarding mydomain.com www42.mydomain.some-server.com. when access mydomain.com tge forwarding works perfekt, see application running on webspace correct url. if click link, (e.g. signup) i'm redirected www42.mydomain.some-server.com/signup. want mydomain.con/signup.
so need redirect of subfolders www42.mydomain.some-server.com mydomain.com. tested once redirection of requests mydomain.com ended in infinite loop :d how do that?
for information: application build laravel 5.0 , there standard htaccess available. if want to, can post here.
Comments
Post a Comment