1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Moving to another domain. Rewrite rules?

Discussion in 'XenForo Questions and Support' started by Fred., Feb 1, 2016.

  1. Fred.

    Fred. Well-Known Member


    I'm moving one of my forums to another domain. I know how to do that. I just don't know what rewrite rules I need for Xenforo and the Media Gallery?

    I'm changing from https://www.example.net to https://example.com
    I have the rewrite rules to redirect the main domain, but what do I use to redirect the threads / posts / forums and all the media gallery pages?
    Never been good with rewrite rules o_O

    I'm using Nginx.

    Thanks. :)
  2. Jim Boy

    Jim Boy Well-Known Member

    Can't you do this with

    server {
        listen 80;
        server_name www.example.net;
        rewrite ^(.*)$ $scheme://example.com$1;
  3. Fred.

    Fred. Well-Known Member

  4. Jim Boy

    Jim Boy Well-Known Member

    Fred. likes this.
  5. Fred.

    Fred. Well-Known Member

    Ok, Thanks. (y) I will try that out tomorrow. I hope everything goes well.

Share This Page