.htaccess - Implementing 301 redirects in sub-folder of Silverstripe -


i trying create 301 redirects silverstripe subdirectory new site/subdomain on different server, can't seem make work!

so need www.researchnutrition.com.au/practitioner redirecting www.practitioner.researchnutrition.com.au along number of other urls within practitioner subfolder specified new pages on new domain.

have tried several combinations or rewrite/redirect rules nothing seems taking effect.

also should .htaccess file make changes need sit within root folder or within /practitioner folder.

thanks in advance.

you can use .htaccess file in practitioner folder:

rewriteengine on  rewriterule (.*) http://www.practitioner.researchnutrition.com.au/$1 [r=301,l] 

Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

xcode - Swift Playground - Files are not readable -

jboss7.x - JBoss AS 7.3 vs 7.4 and differences -