Jump to content

.htacess Redirect

Recommended Posts



I am using an .htaccess in my root public_html directory to redirect traffic to another domain name, using this format:


Redirect / http://domain.com/


However, I would like to allow some directories to stay local, meaning I'm hoping to make all files redirect to another domain except the files in /members, for example. Is there a way to do this without listing individually each file/directory that I would like redirected?



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...