Jump to content
Sign in to follow this  
MitzeMitchell

My bg-image is URL biased!

Recommended Posts

Ok, so I've been working on my CSS pretty intensely lately, but I ran across this and it is just baffling me.I got a basic portfolio site started. However, when I actually updated the site onto my host's server I have background-image problems.http://mitzemitchell.com - it shows up finehttp://www.mitzemitchell.com - it doesn't show upI checked the code with W3Schools, and I'm pretty sure I have it right. I even took out the directory name and replaced it with the full URL.If anyone could shed some light as to why it's doing this, it would be greatly appreciated!

Share this post


Link to post
Share on other sites

for some reason it provides different stylesheets based on the working vs. non-working versions; one with the background image declaration in it, and one without it respectively. :)edit: upon another refresh it appears the problem no longer exists.

Edited by thescientist

Share this post


Link to post
Share on other sites

You will probably want to have an htaccess file that either directs from the non-www to the www or the other way around anyway. It's beneficial for search engine purposes to do this. Google "htaccess non-www to www redirect" or something to see how to do this.

Share this post


Link to post
Share on other sites

short of the OP contradicting, I'm pretty sure it should be working fine.

Share this post


Link to post
Share on other sites

They both seem to work fine for me.

Share this post


Link to post
Share on other sites
You will probably want to have an htaccess file that either directs from the non-www to the www or the other way around anyway. It's beneficial for search engine purposes to do this. Google "htaccess non-www to www redirect" or something to see how to do this.
.htaccess files tend to be unreliable. This can be resolved in with the dns.

Share this post


Link to post
Share on other sites

Their identical on my browser- ff

Share this post


Link to post
Share on other sites

It seems to have cleared up. But that kinda tripped me out. I wasn't aware that it would do that. Appreciate all the responses! I'll definitely read more into the redirects.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...