• lewischeney

    (@lewischeney)


    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.

    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    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/

    Thread Starter lewischeney

    (@lewischeney)

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

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    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?

    Thread Starter lewischeney

    (@lewischeney)

    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.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    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)

    Thread Starter lewischeney

    (@lewischeney)

    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.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    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?

    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.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Second domain now broken after installing network’ is closed to new replies.