I am using WP installed at http://www.amanita.net/wordpress and my blog is output at journal.amanita.net. Unfortunately this seems to have broken the cookie-setting that goes along with password-protected posts. When a user enters the password to view the post, they are sent back to the main blog page and the post is not unlocked.
I poked around in places like pluggable-functions and found things like siteurl etc, but I’m not sure what I need to adjust. Does anybody have suggestions for this?
The issue is probably complicated by the cross domain names. Passwords and cookies tend to be in the root directory.
Try researching how to handle passwords, cookie, and so on with .htaccess rewrites and redirects. Your installation of WordPress is very specialized and your issue is kinda outside of the WordPress parameters. Maybe someone else will have more specific info.
How far along are you in setup? If you’re just getting started, I’d suggest installing WordPress in the /journal directory instead of the /wordpress directory. Depending on your host, if you created a subdomain of journal.amanita.net it probably created a directory by that name in your public_html folder (or it may be called “www” or something similar) and you should be able to ftp the WordPress files there the same as if it were a directory instead of a subdomain.
tomhanna: I migrated from MT to WP a couple of weeks ago. Because of the way I’ve set up my redirects (to preserve MT permalinks), having the WP files in the /journal directory would probably be very untidy. I do know about subdomains actually being directories, thanks. 😉 I can look into putting the WP files into /journal, but…it just sounds icky.
Lorelle: I don’t actually think this is outside the scope of what WP should be able to do, although perhaps I should look into writing this as a plugin. I know there are others who have come up with this same question – I did find it buried in some old support threads but I figured I’d phrase it my own way. I think you have suggested a couple of good keywords for me though – I have an idea of where to go now.
Thanks to you both – and more suggestions are very welcome!
Also, this seems to indicate that if the cookie is set as
.domain.comthen it should work on
foo2.domain.comwhich is what I had been expecting to do. I’m just not sure where to tell WP that I want the cookie to be set for
.domain.cominstead of whatever it’s being set for.
- The topic ‘Issue w/passwords, siteurl, cookies’ is closed to new replies.