WordPress.org

Ready to get started?Download WordPress

Forums

Links from sub-blog to main blog don't work (12 posts)

  1. inge12
    Member
    Posted 2 years ago #

    My main blog is http://ssnet.org/

    My sub-blog is http://sabbathissues.org/ installed in a sub-directory. Everything seems to work fine EXCEPT links to the main blot.

    On the main site there is an article
    http://ssnet.org/blog/2012/01/the-samoan-sabbath-dilemma/

    A link from http://sabbathissues.org/2012/02/hello-world/
    to http://ssnet.org/blog/2012/01/the-samoan-sabbath-dilemma/
    does not work, but goes to
    http://sabbathissues.org/blog/2012/01/the-samoan-sabbath-dilemma/
    which, understandably, yields a page not found error.

    Not only that, but a link to the home page to the main blog also does not work.

    I'm at a total loss.

    Please help!

  2. inge12
    Member
    Posted 2 years ago #

    Looks like my edit time window is closed. :(

    Links from my main blog to sub-blog work perfectly.

    My .htaccess file is this:
    [82 lines of code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

  3. dgilmour
    Member
    Posted 2 years ago #

    Check that you haven't missed out the http:// part of the link. I think you've just found out what happens if you do.;-)

  4. inge12
    Member
    Posted 2 years ago #

    dgilmour, the link is correct, as specified above. Not missing http://

    You can see it by mousing over the link to "The Samoan Sabbath Dilemma" at http://sabbathissues.org/2012/02/hello-world/ (I even checked the HTML source to be sure), but if you click on the link it goes to http://sabbathissues.org/blog/2012/01/the-samoan-sabbath-dilemma/ NOTE the incorrect domain name.

    (I installed the sabbathissues.org domain by parking it on the root of ssnet.org, as instructed by WordPress.)On the other hand, the site was recently migrated to another server. Could an entry in the .htaccess file have been lost?

  5. inge12
    Member
    Posted 2 years ago #

    The code is this:
    Until we have more information here, please read <a href="http://ssnet.org/blog/2012/01/the-samoan-sabbath-dilemma/">The Samoan Sabbath Dilemma </a>on <a href="http://ssnet.org/">Sabbath School Net</a>, which features regular updates through comments on the article.
    Note that the link is to a file on SSNET.org.
    Yet it goes to http://sabbathissues.org/blog/2012/01/the-samoan-sabbath-dilemma/ and that gives an error message.

    Here's my .htaccess file in the paste bin:
    http://pastebin.com/Bqncs7Fq

  6. inge12
    Member
    Posted 2 years ago #

    When I hover over the links to http://ssnet.org, what shows up is http://sabbathissues.org.

    I checked with my hosting company, and they say it is not a server issue. Only WordPress or a plugin could change links like that "on the fly."

    [Later]
    On a hunch, I changes the links to http://www.ssnet.org
    and http://www.ssnet.org/blog/2012/01/the-samoan-sabbath-dilemma

    Note the www subdomain.

    The links now work correctly.

    Can someone please explain why this is to?

  7. Is this a multisite and you mapped the domain?

  8. inge12
    Member
    Posted 2 years ago #

    Yes, ipstenu, multisite is active an works as expected, with the sabbathissues.org domain mapped as a "parked domain" to the root of ssnet.org.

    Support staff at my host said that this is unusual behavior, and that my using a www. subdomain to make links work is a workaround, not a solution. Nothing in my hosting setup should produce this behavior.

    Thanks for answering. I'm really interested in figuring this out.

  9. The best I can guess is that it's your DNS not set up correctly. I've honestly never see it, so long as you put in http://domain.com....

    Can you reproduce that behavior with any other URLs? The edge possibility is you have a plugin or theme function that filters URLs, and it doesn't impact the www domains.

  10. inge12
    Member
    Posted 2 years ago #

    My hosting support figures it is a plugin. But it would have to be a plugin that is designed for multisite. I guess I'll have to go through the plugins one by one.

    I'll also try to reproduce the error.

    Thanks. :)

  11. But it would have to be a plugin that is designed for multisite.

    Not always.

    It could be a plugin or a theme, and it doesn't have to be multisite specific :/

  12. inge12
    Member
    Posted 2 years ago #

    H'mmm .. so I'll have to check with the theme author as well.
    (Using latest version of weaver ii pro)

    Thanks. :)

Topic Closed

This topic has been closed to new replies.

About this Topic