|
|
#1 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Aug 2007
18 posts
Gave thanks: 7
Thanked 1 Time in 1 Post
|
Ok, I figure I'll see if the surpass community can figure this one out.
I have wordpress installed. Works fine to any visitor. The only slight annoyance I noticed is when I'm logged in when I notice this oddity. Okay, bear with me, this is sorta hard for me to explain... While logged in, if I type directly to or click a link, for example http://www.domain.com/blog, I notice that it brings me to http://domain.com/blog/ (no WWW) and it appears as if I have not logged in, until I click 'login', it brings me to the wordpress dashboard. Which leads me to believe that I am, in fact, logged in. But, if I type http://www.domain.com/blog/, with the slash at the end, my admin options appear. A small issue, but I just find it weird. Anyway, to simplify... The following example URLs seem to show my admin links; http://www.domain.com/blog/ But these following URLs make it appear my admin links are gone and have to login; http://domain.com/blog/ http://www.domain.com/blog (without that last SLASH, it just forwards me to http://domain.com/blog) I figure if one types the WWW or what not, it all should go to the same place, but in this case, if one misses the end slash, too it causes the same problem as if I never typed the WWW. Anyway, any input would be great. If not, well, thats fine too. I figure this would be confusing as I, myself, am confused about this as well. Sorry for the confusion. ![]() |
|
|
|
|
|
#2 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Aug 2007
18 posts
Gave thanks: 7
Thanked 1 Time in 1 Post
|
Resolved. Somewhat...
![]() Ok, after hours of searching, copy/paste, clearing cookies, typing URLs, shifting code around and frequently hitting F5. I believe I found somewhat of a solution. I was browsing wordpress forums and found someone similiar to my own problem. His domain would see both "http://www.domain.com" and "http://domain.com" differently, similiar to my problem where /blog/ is different then /blog, in a way. Here is the link of the topic as reference; http://bbpress.org/forums/topic/htac...woes?replies=8 I followed his solution and edited the wp-settings.php in wordpress root directory. I then proceeded to find line 186, should look something like this; Code:
if ( !defined('COOKIE_DOMAIN') )
define('COOKIE_DOMAIN', false);
Code:
if ( !defined('COOKIE_DOMAIN') )
define('COOKIE_DOMAIN', '.mydomain.com');
But, I had to go back to any wordpress files I modified and change any links to add the "www" or end links with a "/" so the URL would not jump around between http://www.domain.com or http://domain.com in the browser. Well, somewhat of a fix and it worked out for me. If anyone has any input as to why it does this, or has a better fix that doesn't require editing anything then, please feel free to add, as I'm curious as to why this happened. I hope this will provide helpful to someone else as well. ![]() |
|
|
|
|
|
#3 (permalink) |
|
Bow before Surpass!
Super #1
Joined in Sep 2004
1,544 posts
Gave thanks: 91
Thanked 49 times
|
Well, you should also see if you URLs you entered at setup have the "www." in them, otherwise it will not use the www.
__________________
Wii Hotspot - Upcoming project! -http://www.wiihotspot.com
Make a cPanel Login Form | Why is my Account Suspended? |
|
|
|
|
|
#4 (permalink) | |
|
Registered User
Fresh Surpasser
Joined in Aug 2007
18 posts
Gave thanks: 7
Thanked 1 Time in 1 Post
|
Quote:
|
|
|
|
|
|
|
#5 (permalink) |
|
L'Awesome Advocate
Super #1
Joined in May 2004
Lives in .au
Hosted on Mango
2,423 posts
Gave thanks: 1
Thanked 5 times
|
As in the setup of WordPress in the Options (?) tab.
__________________
When I get sad, I stop being sad, and be AWESOME instead. True story.
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|