Second domain now broken after installing network (9 posts)

  1. lewischeney
    Posted 4 years ago #

    Hi everyone

    I've just installed a wordpress network over my previous single site install. I use a primary domain (thestudentlawyer.com) and a second domain (slawyr.co). The second domain is used for local URL shortening in WordTwit and is setup as an add-on domain in cPanel.

    After I setup the network, I noticed that all of the Tweets that had a slawyr.co domain just redirected back to thestudentlawyer.com. Usually slawyr.co/123 for example should go to thestudentlawyer.com/some-post but it just redirects to thestudentlawyer.com.

    I assume this is something to do with the way domains work in the network but any help would be appreciated.


  2. The second domain is used for local URL shortening in WordTwit and is setup as an add-on domain in cPanel.

    Is it a REAL add-on and installed in it's own folder?

    Example, my add-on is in /home/ipstenu/public_html/addon.com/

  3. lewischeney
    Posted 4 years ago #

    Yes it was an add-on with it's own folder. I changed it to a parked domain but that made no difference.

  4. Keep it as an add-on, and make triple sure it's pointing to that folder and NOT the main domain. Parked domains point to /home/ipstenu/public_html/ you see, and that would explain that behavior.

    Did you add domainmapping plugins to your install?

  5. lewischeney
    Posted 4 years ago #

    I've just added it as an add-on again, now when I try to visit a shortened link I get an internal server 500 error.

    I installed wpmu domain mapping after I noticed the error.

  6. Look at http://slawyr.co/

    There's nothing there...

    What were you using to make short URLs? WordTwit? Is it network activated? Are there directions on how to use it with Multisite?

    (I use yourls myself)

  7. lewischeney
    Posted 4 years ago #

    WordTwit is network activated and has a featured called local shortening which uses one of your own domains.

    It worked fine before the network install.

  8. This is definitely a question for the WordTwit support folks, and how their plugin works with Multisite. I know if you park a domain on top of Multisite, it assumes the domain is a new site, just like it does if you go to subdomain.example.com.

    Maybe... Could you put define('NOBLOGREDIRECT', 'http://thestudentlawyer.com/');

    in your wp-config.php file?

  9. BraveNewCode Inc.
    Posted 4 years ago #

    At this time, only WordTwit Pro supports WordPress multisite installation. WordTwit Pro natively supports several url shorteners including YOURLS. WordTwit 2.6.4 edition (lite) is optimized for single-site installation and handles url shorteners as well as custom unique short URLs.

Topic Closed

This topic has been closed to new replies.

About this Topic