# redirect homepage to a new site

**URL:** <https://discourse.softpress.com/t/redirect-homepage-to-a-new-site/22823>\
**Category:** Freeway\
**Created:** [November 13, 2015, 2:34pm UTC](https://discourse.softpress.com/t/redirect-homepage-to-a-new-site/22823 "2015-11-13T14:34:49Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![David\_McCallum](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/d/ec9cab/32.png) [@David\_McCallum](https://discourse.softpress.com/u/David_McCallum)\
**Post date:** [November 16, 2015, 10:21pm UTC](https://discourse.softpress.com/t/redirect-homepage-to-a-new-site/22823/7 "2015-11-16T22:21:23Z")

</div>

Then you will need to set up a 301 Redirect from both the old servers to the new sites.

The following is the code for an htaccess redirect. The code should be included in the .htaccess file on the old domain(server)

```auto
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]

```

You will need to FTP into the old server to find (or create) the .htaccess file which should be at the root of the server (if there is one there already)

You may have to enable the option “Show Invisible Files” within your FTP software as often it will be set to not show files that begin with a leading full stop such as .htaccess

Once you have found the .htaccess file open it with a plain text editor such as TextWrangler and add the code from above.

If their isn’t one there already then create a plain text file called htaccess with the code from above and upload it to the root of your server. Once it is uploaded then change the file name to include the leading full stop so that it becomes .htaccess.

If you try and create the file on youtr mac with a leading full stop it will disappear as they are hidden by default.

David

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:

> **[Information for existing FreewayTalk / Groups.io users](https://discourse.softpress.com/t/information-for-existing-freewaytalk-groups-io-users/24891)**
>
> The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...

---

_[View the full topic](https://discourse.softpress.com/t/redirect-homepage-to-a-new-site/22823)._
