CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
PHP Problems
Wordpress Site URL
Brightonmike
Permalink to comment
#
May 2011
I have a strange issue.
The site I'm working on, under General Options, the site and blog url are WITHOUT the www.
This is fine, except that if, whilst logged in, if we type the url in with the www., the site doesn't display the admin bar, as if I'm not logged in.
So would it be worth adding the www. to the URLs? Will it cause any issues? Does this matter? Should I leave it as it is?
It seems very bizarre to me that the admin bar would show for the non-www but not for the www.
lyleyboy
Permalink to comment
#
May 2011
Silly as it sounds www.google.com is different from google.com in as far as the domain name goes.
So Wordpress looks to see if the current domain matches what's in the options and displays the bar.
Hope that helps.
Add a Comment
The site I'm working on, under General Options, the site and blog url are WITHOUT the www.
This is fine, except that if, whilst logged in, if we type the url in with the www., the site doesn't display the admin bar, as if I'm not logged in.
So would it be worth adding the www. to the URLs? Will it cause any issues? Does this matter? Should I leave it as it is?
It seems very bizarre to me that the admin bar would show for the non-www but not for the www.
So Wordpress looks to see if the current domain matches what's in the options and displays the bar.
Hope that helps.