The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

many things broken, domain problems? (2 posts)

  1. mohan37
    Posted 5 years ago #

    Hi everyone. This problem is hard to explain in words, but it's causing real problems, so I'll do my best to describe.

    I have a WordPress installation on my 1&1 hosting. The formal address of my blog is http://www.mogstop.com/mohan37/wordpress. "mogstop.com" is the domain that is attached to my hosting.

    However, I use "mohan37.com" as my website address. mohan37.com, also with 1&1, is set to use "http://www.mogstop.com/mohan37/wordpress" as its home directory. That's the advertised address of my site.

    Under "general settings," I have:
    WordPress address (URL): http://www.mogstop.com/mohan37/wordpress
    Site address (URL): http://www.mohan37.com

    Everything appears to work properly, except WordPress won't remember anyone's info if they visit and comment using mohan37.com. It doesn't recognize me as a logged in admin either. But if you visit/comment through mogstop.com/mohan37/wordpress, the site does remember visitor info and recognize logged in people.

    Additionally, when I visit using mohan37.com, WordPress Stats counts my visits, even if I'm logged in. It does not if I visit from the formal mogstop address.

    Does anyone know what I can do? Does this have something to do with the way browser cookies are being saved? something getting confused b/c mohan37 isn't technically where the site is hosted? Surely this can't be a unique problem - wordpress being installed on hosting w/ one domain, but pointed at using another domain name.

    I'm desparate...if this didn't make sense, I can answer questions and maybe make it more clear.



  2. mohan37
    Posted 5 years ago #

    Here is a specific example:

    If I navigate to a post using this address:
    http://www.mogstop.com/mohan37/wordpress/?p=4517 ,
    I am recognized as being logged in. I can edit posts, don't have to enter my info to comment, etc. Apparently visitors who have commented see similar things. I think users can even edit their posts (a plugin I have isntalled)

    If I visit a post using this, the prefered and advertised address:
    http://www.mohan37.com/?p=4517 ,
    I'm always a new user. Doesn't matter if I'm logged in, or put my info in fresh. Same with other visitors. The Edit Post plugin doesn't work at all.



Topic Closed

This topic has been closed to new replies.

About this Topic