Jump to content

My bg-image is URL biased!


MitzeMitchell

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!

Link to comment
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.

Link to comment
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.

Link to comment
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.
Link to comment
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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...