Viewing 11 replies - 1 through 11 (of 11 total)
  • WP always has had problems with these “fake” subdomains. If the subdomain.example.com in fact redirects to
    example.com/subdomain – there are always complains about permalinks.

    On the other hand, having real subdomains that will always stay like:
    subdomain.example.com/subdir/subsubdir/file.name – it works nicely.

    Thread Starter Nurice

    (@nurice)

    Hmmm…

    Can I just change the url in Admin for options-misc.php to https://allergynursing.com/climates/wp-content/ to see if that will fix it? Will I then be able to login from https://allergynursing.com/climates/wp-admin/ ?

    BTW, Moshu, I used your WP template tutorial to fix the site. I’d tried several templates and found this a lot easier than trying to force a copycat of my main website into a different theme. Was/is still a struggle to get it all like I want it, but your tutorial gave me a basis to start with. Thanks!

    Lois

    If you want to use the links like
    https://allergynursing.com/climates/wp-content/
    you’ll have to change the two URIs in the admin > Options > General

    Thread Starter Nurice

    (@nurice)

    Glad I asked first! Thank you.

    Do you think permalinks would work to use the allergynursing.com/climates url in the WordPress URL and keep the climates.allergynursing.com (since I’ve already publicized that one) in the Blog address. It says “If you want your blog homepage to be different than the directory you installed WordPress in, enter that address here.” Or should I just change them both to …ing.com/climates?

    I don’t want to mess it up where I can’t access it via dashboard trying to find out.

    Hmmm… I just re-read the whole thread and I think where the wp-content is (as defined in misc.) it is important only for file uploads, and it shouldn’t affect other things.

    You were initially complaining only about the next page link and rss but now none of your permalinks work. Did you modify something?
    However, changing it from sundomain structure to a directory – they work.
    https://www.allergynursing.com/climates/page/2/ – works!
    https://cilamtes.allergynursing.com/page/2/ – doesn’t work!

    Thread Starter Nurice

    (@nurice)

    I think maybe you were checking as I was changing. I just changed the two files under general both to allergynursing.com/climates and now RSS and the next page link works. Permalinks (unless I missed something) seemed to work before as well as now. You were the one who mentioned it interfering with permalinks and I thought you were referring to next page as a permalink.

    climates.allergynursing.com still works for me too, but when I click a permalink or next page, it changes to allergynursing.com/climates

    If I go here:
    https://technorati.com/search/alaska+missouri?start=20
    and click the link “Alaska, Missouri” link to my site, it doesn’t work. (it was posted to a permalink in the climates.allergynursing.com site.)

    I have CPanel, but didn’t have a redirect set up. Do you think to set up redirect from https://climates.allergynursing.com to https://allergynursing.com would work for this since they are actually the same directory?

    Above are ideas. My 2 bottom line questions are: Does everything work ok for you now with allergynursing.com/climates? If so, what is the best way to fix the problem with outside permalinks to files at climates.allergynursing.com

    Wait! Don’t jump around and change everything ??
    One step at a time, otherwise we will never figure out what’s going on.
    1. https://climates.allergynursing.com/ and https://allergynursing.com/ are NOT the same for me – they show different content, so it can’t be “the same directory” as you claimed.

    2. With fake subdomains there were complains aboout permalinks and next-page links as well.

    3. If it’s possible avoid any kind of redirect with WP.

    4. In cPanel check if for the “climates” subdomain ther is a redirect set up or not. If there is, try to undo it, so that you get a real subdomain withoout redirect.

    5. Click on my name: I made some test posts to show you everything should work with a non-redirected subdomain. (Hurry, I’ll delete the test posts ??

    Thread Starter Nurice

    (@nurice)

    Sorry, don’t mean to be getting ahead of you. Also sorry, it is allergynursing.com/climates. Allergynursing.com is my main site and the template I used to make the climates template from your tutorial. Sorry for my error in my last post.

    Nothing is redirected in CPanel. I upload files for climates.allergynursing.com to “home…public.html/climates/” and that is allergynursing.com/climates. By setting up a subdomain through cpanel, I was able to use climates.allergynursing.com instead and thought that sounded better.

    Before I changed climates.allergynursing.com to allergynursing.com/climates in admin awhile ago, permalinks worked ok for me, as they are working in your test links. They still work well for me with allergynursing.com/climates, but permalinks from outside sources using climates.allergynursing.com (such as the technorati one I posted) don’t work now.

    It was the next page link at the bottom of the main page that didn’t work (and maybe some other pages, but some of the links at bottom of other pages worked.) Also I couldn’t get Sage to pick up anything for RSS with climates.allergynursing.com but for allergynursing.com/climates it is working ok for me, both RSS and next page.

    I can change it back to climates.allergynursing.com for you if you want to see the before story. I’m ok with using allergynursing.com/climates if that is best, just not sure what to do about the outside permalinks to climates.allergynursing.com.

    Will wait to hear back before changing anything else. I really appreciate your help!

    Lois

    Lois, sorry I couldn’t reply to this last night.

    I just re-read the whole thread and it seems everything used to work correctly with the subdomain.domain.com setup – except rss and the previous posts link on the index.
    Not being an RSS expert (=never cared to learn about it) I am afraid I cannot offer any help on this. Though I am sure somebody can and will…
    And “normally” the prev/next link pair should work even on subdomain (that’s what my site was supposed to show, though it’s changed now).

    Based on what you said here is your dilemma: what is more important? To keep the older references that point to your site using the subdomain.domain.com type of address… or to get the rss and the next/prev to work with the domain.com/subdomain type of address.
    Before making a final decision I think you should
    a) check the validity of the feeds, and if it’s valid even in the subdomain structure then the problem is with the reader
    b) ask/seek help focusing exclusively on prev/next

    Thread Starter Nurice

    (@nurice)

    Moshu, thanks again for all your help. I changed it back to climates.allergynursing.com and will see if others can help with the RSS. RSS worked fine in Sage (Firefox reader) with allergynursing.com/climates, and so did Atom feed. With the subdomain, neither work.

    Check the Next page link at bottom of home page. It doesn’t work with the subdomain. On all other pages (archives, categories) it seems to work fine.

    Should I start a new thread to seek help with these issues? If at all possible I’d like to keep the subdomain since there are already external links to it. But if it’s going to be broken, then I’ll change back to using the directory link.

    Would it be safe to try using:
    https://allergynursing.com/climates as the WordPress address under Options/General, and using:
    https://climates.allergynursing.com as the Blog address under Options/General? Do you think that might help? I don’t want to get it messed up so I can’t get into dashboard trying to find out.

    I’m also wondering how version 2.0 will affect these issues.

    Would appreciate your thoughts and will start a new thread if needed to get more help.

    Moderator James Huff

    (@macmanx)

    Moshu, Nurice wanted me to tell you that we have fixed the two problems mentioned in this thread. Nurice’s blog had some old WP rewrite rules in the .htaccess file outside of the # BEGIN WordPress and # END WordPress tags. Removing the old rewrite rules did the trick.

    https://www.ads-software.com/support/topic/53754

    https://www.ads-software.com/support/topic/53756

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘WP in subdomain’ is closed to new replies.