# Default Sites feature overrides Permanent Redirect (301)

**URL:** <https://forums.interworx.com/t/default-sites-feature-overrides-permanent-redirect-301/13219>\
**Category:** Bugs\
**Tags:** bug, default-sites, permanent-redirect\
**Created:** [March 21, 2013, 3:34pm UTC](https://forums.interworx.com/t/default-sites-feature-overrides-permanent-redirect-301/13219 "2013-03-21T15:34:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimp](https://forums.interworx.com/letter_avatar_proxy/v4/letter/j/8baadc/32.png) [@jimp](https://forums.interworx.com/u/jimp)\
**Post date:** [March 21, 2013, 3:34pm UTC](https://forums.interworx.com/t/default-sites-feature-overrides-permanent-redirect-301/13219/1 "2013-03-21T15:34:05Z")

</div>

We discovered Permanent Redirects (and probably Temporary Redirects) do not work if the Default Sites feature is enabled. It appears the Default Sites are defined in vhosts (in vhost\_000\_defaults.conf), so they must take priority over the global configuration that defines the redirection (in redirect.conf). They work fine if Defaults Sites is disabled.

This problem is resolved if I manually add the redirection domain to the ServerAlias of the vhost config, but it gets overriden if InterWorx rewrites the file.

---

<div class="post-metadata">

**Author:** ![Evanion](https://forums.interworx.com/letter_avatar_proxy/v4/letter/e/ee59a6/32.png) [@Evanion](https://forums.interworx.com/u/Evanion)\
**Post date:** [May 4, 2013, 10:46am UTC](https://forums.interworx.com/t/default-sites-feature-overrides-permanent-redirect-301/13219/2 "2013-05-04T10:46:19Z")

</div>

Ah, thanks… We had this problem before.
