Site Pages Redirect to Other Network Site (14 posts)

  1. adlbiz
    Posted 3 years ago #

    Multisite installed on godaddy with subdirectories in the root of thegalabouttown.com. The only other site on the network is astoriawhiskeysociety.com, a domina also hosted in the root of thegalabouttown.com.

    I have created four pages: Home, Blog, Request Membership, Sponsor an Event

    Home and Blog link to and from each other just fine, but the other two pages link to thegalabouttown.com Even from the dashboard. Even if I type the page url directly into my browser, so it looks like they are being redirected.

    The url of each page looks fine when I hover over them with the mouse, but click and they go to thegalabouttown.com.



  2. I love that picture!

    Oh you wanted debugging thoughts. Sorry. This will sound silly, but set your permalinks to default (ugly) ones.

  3. adlbiz
    Posted 3 years ago #

    Ok. So that TOTALLY works. Any chance you have time to explain what is happening so I can learn from it? Otherwise, I will just continue to assume you are magic.


  4. Well, if this works, I'll explain the magic :)

    Change the permalinks BACK to pretty.

  5. adlbiz
    Posted 3 years ago #

    Sadly (dead rabbit tumbles from hat) it did not work. But I still think it's magic.

    What might be going on?

  6. Okay, two things to check

    1) Is your .htaccess correct?

    2) Is AllowOverride set to All, and if so, does that include your mapped domain?

  7. adlbiz
    Posted 3 years ago #

    This problem has reared its ugly head again in the form of shortlinks redirecting incorrectly.

    The shortlink http://wp.me/p37hj4-18

    should go to http://astoriawhiskeysociety.com/?p=70

    But instead goes to http://com/astoriawhiskeysociety/?p=70

    Where is that extra com/ coming from?

    I am sad.

  8. All I can think is you have a bad setting in wp_sites table.

  9. adlbiz
    Posted 3 years ago #

    The wp_site table in the MySQL database? or is there a wp_sites (notice one has an S) that I don't know to look for?

    The only thing in the wp_site table is the name of the main blog thegalabouttown.com.

    Could it be a problem with the link-template.php?

  10. Site... I always typo that one, and even worse I meant wp_blogs

  11. adlbiz
    Posted 3 years ago #

    Everything looks fine in the wp_blogs table. I see no place where the extra com/ might be sneaking in.

    Is there another place where the name of the site is generated for redirects and shortlinks?

  12. Nothing that should flip the com in front... I would ask this of jetpack, how is IT grabbing the domain. I don't use it for my mapped domains, but that's just really weird.

  13. adlbiz
    Posted 3 years ago #

    I know, WTF? I've posted to the Jetpack forum. We shall see.

Topic Closed

This topic has been closed to new replies.

About this Topic