GoDaddy and broken links
Permalink 1 user found helpful
Just as a preface, I have checked through the forums and tried a few things, but as of yet nothing's worked.
I developed the site locally on wamp, followed the instructions for uploading a site to GoDaddy, including modifying the php5.ini file. My content loads, but none of the images or css. When I inspect the page in Chrome I get a series of 404 not found errors for all of my images, css, and js.
Any ideas on where to start with this one? Oh, it's a shared linux server configuration.
Thanks in advance!
I developed the site locally on wamp, followed the instructions for uploading a site to GoDaddy, including modifying the php5.ini file. My content loads, but none of the images or css. When I inspect the page in Chrome I get a series of 404 not found errors for all of my images, css, and js.
Any ideas on where to start with this one? Oh, it's a shared linux server configuration.
Thanks in advance!
Thanks for the reply.
The url ishttp://www.waternwine.com
I moved the files directory and set the correct permissions (or at least I've set them to 755), so that should be fine.
The problem is that instead of looking in themes/mytheme/images for images, it's looking in waternwine.com/images, and not finding anything there. Any thoughts?
The url ishttp://www.waternwine.com
I moved the files directory and set the correct permissions (or at least I've set them to 755), so that should be fine.
The problem is that instead of looking in themes/mytheme/images for images, it's looking in waternwine.com/images, and not finding anything there. Any thoughts?
I looked at the URL for a few of your images and here is an example of the file name it is looking for (with the path):
http://www.waternwine.com/themes/waternwine/images/beer-glasses.jpg...
so it is looking in the path you say it should be in, but that image is not there.
It also looks like there are issues with the nav/header of your site. When I click through the pages the nav doesn't appear to be styled at all.
When I click on the page "Labels & More", it goes to: http://www.waternwine.com/labels... which does not seem to exist.
I don't think everything made it over in the move, nor do I think some of your page settings are correct.
May I also ask why you went with godaddy hosting? Their servers are notoriously slow and they also are known to have their own special set of issues with websites. This is not related to your problem, just an FYI.
http://www.waternwine.com/themes/waternwine/images/beer-glasses.jpg...
so it is looking in the path you say it should be in, but that image is not there.
It also looks like there are issues with the nav/header of your site. When I click through the pages the nav doesn't appear to be styled at all.
When I click on the page "Labels & More", it goes to: http://www.waternwine.com/labels... which does not seem to exist.
I don't think everything made it over in the move, nor do I think some of your page settings are correct.
May I also ask why you went with godaddy hosting? Their servers are notoriously slow and they also are known to have their own special set of issues with websites. This is not related to your problem, just an FYI.
I just noticed that when I clicked on the link for the image in my post it rerouted it to: http://www.waternwine.com/images/beer-glasses.jpg... - which does not exist.
Can you put the contents of your .htaccess file in this post?
Can you put the contents of your .htaccess file in this post?
Thanks for your reply.
If you go to the website now it'll look like it's working properly, but what I had to do was create the 'images', 'js', and 'css' at the root level, and copy the necessary files there. So, even though I'm using GetThemePath() it seems to be looking in folders located at the root.
I've checked my themes/waternwine/images folder and all the files are there - it's just a matter of getting C5 to look there.
I have two .htaccess files - one at the root, and one at the themes/waternwine level. Which one should I post here?
If you go to the website now it'll look like it's working properly, but what I had to do was create the 'images', 'js', and 'css' at the root level, and copy the necessary files there. So, even though I'm using GetThemePath() it seems to be looking in folders located at the root.
I've checked my themes/waternwine/images folder and all the files are there - it's just a matter of getting C5 to look there.
I have two .htaccess files - one at the root, and one at the themes/waternwine level. Which one should I post here?
There should only be one .htaccess file - at the root. Can you remove or rename the one in your /themes directory and cut and paste the contents of the one in your root directory?
If you want me to look at your dashboard, PM me with the uid/pw
If you want me to look at your dashboard, PM me with the uid/pw
Fixed! I removed the .htaccess that was sitting at my themes/waternwine level and everything started working.
As for your question about why I'm at GoDaddy - it's for a client, and he already had hosting there. Certainly not my choice :)
Thanks again for your assistance, it's very much appreciated.
As for your question about why I'm at GoDaddy - it's for a client, and he already had hosting there. Certainly not my choice :)
Thanks again for your assistance, it's very much appreciated.
I just looked at the site- much better
The links in your nav bar are not working. My suggestion is to turn off pretty urls- make sure that this code is removed from your .htaccess
Then clear and update your cache, then you can re-enable pretty urls, this should fix it
The links in your nav bar are not working. My suggestion is to turn off pretty urls- make sure that this code is removed from your .htaccess
# -- concrete5 urls start -- <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] </IfModule> # -- concrete5 urls end --
Then clear and update your cache, then you can re-enable pretty urls, this should fix it
I went to the site and it looks like all of the nav links are working.
Can you please mark this discussion as solved and helpful?
Thanks
Can you please mark this discussion as solved and helpful?
Thanks
When you moved your site did you make sure you moved the /files directory - it usually holds all of your images.
Can you give the url of your site so I can take a look?
Thanks