- This topic is empty.
April 15, 2013 at 5:17 pm #44141
I’ve been looking for hours and can’t find any solution so I’m calling for help!
Here’s my story, I’ve uploaded a perfectly functional website on my server (html, css and js working smoothly). Here’s how it looks http://www.gholubowicz.com/Chewbahat/One-pager/
BUT when I setup the domain name, the page is broken, Css not working neither the js scripts. (http://gholubowicz.com/Chewbahat/One-pager/download/chewbahat_broken.jpg).
Dns is set up correctly, and the redirect of the domain name works fine (type chewbah.at and see, it works!) Any idea?April 15, 2013 at 5:46 pm #131886pixelgridParticipant
probably is the links to the stylesheets that cause the problem.try changing them to absolute paths like http://www.gholubowicz.com/css/style.css and not /css/style.cssApril 15, 2013 at 5:54 pm #131889
Thanks for your comment. Indeed I forgot to mention that, but I’ve tried http://www.gholubowicz.com/Chewbahat/One-pager/css/style.css and http://chewbah.at/css/style.css with and without the www.April 15, 2013 at 6:21 pm #131891CrocoDillonParticipant
If you open the network tab of the developer tools (in Chrome F12), and refresh the page, you should be able to see if the css files are requested, and what the server response is (if any). Maybe that will give you more info.April 15, 2013 at 6:39 pm #131892
Ok, the inspect element tab says that no css file or js file has been found (404 error) when I’ve directed the domain name chewbah.at to the site. But when I use the http://www.gholubowicz.com/Chewbahat/One-pager/ address, the browser founds everything. I’m thinking maybe the .htaccess? But I’ve no clue how to correct it. (I mean I know where to find it, and how to edit it, but no clue what to write in).April 15, 2013 at 7:03 pm #131894CrocoDillonParticipant
For me, chewbah.at redirects to http://chewbahat.tumblr.com/ for me so can’t test.
In the network tab if you click on the filename you can see in the header tab the request url, if you enter this url manually in the browser do you get the file or an 404 as well?April 16, 2013 at 12:31 pm #131979
- The forum ‘CSS’ is closed to new topics and replies.