my opencart website is not displaying images on on way back machine - image

My opencart website is not displaying images on way back machine of Alexa.com (How did
www.aaa------aa.com
look in the past?), I have checked multiple dates but images does not display anywhere.
My opencart images are also not getting crawled by google merchant center, it shows that it is because of the robots.txt but I have removed images from robots.txt file & still it shows same error.
My website is working fine otherwise and I am also getting orders but want to know if the above two issues are interrelated and what can be the best solution to this problem.
Thanks,
Gaurav

from what you are saying i think the problem with wayback machine is that you cache of images got cleared so ofcource most urls of images are dead, since opencart get 98% of images from cache after they get resized. So no problem there, i think this happens with every oencart setup that cached images are cleared from time to time, also in the same fashion please check images folder and sub-directories if you have any .htaccess limiting everything but local requests, also one last notice google usually takes from one day and up to update data regarding robots.txt and other data.
And if nothing works out try to specifically allow access to one directory with robots.txt
Hope i could help you.

Related

Website is different when I upload on FTP

I have just started developing for a few weeks now and I bought a domain, but when I upload the files on live, the website looks different than what I have uploaded. Now, this gets fixed when I clear my cache. The problem is that my visitors enter, they see the page in a way, and after I update it they see it as the previous version!
Is there any possible solution for this? I don't want my visitors to clear cache every time I make a change on my website!
This is quite probable to be due to css cache. Your server is loading a cached version. You can specify the cached time in a few ways. Etags and htaccess (on apache) are the most common.
A very simple trick is just to add at the end of your style link url (where you load your main style in the head of the document) a get-like parameter: just like this:
main.css?v=2

Sometimes, images do not load

Upon loading my site (https://ameersavage.com), certain images do not load in Chrome. Upon reloading the page, the results vary. Rarely does everything load properly in Chrome. This only started happening once I uploaded the site to the server.
When I uploaded the site using the server's online cPanel, none of the assets appeared until I started fiddling with each individual file's permission. I then tried uploading the site using FTP (Transmit) which produced far better results, but still certain assets sometimes do not always show up once the page loads.
Do you think this is a reflection of poor server performance? I wanted to get a second opinion before I subscribe to a new server provider (any recommendations?).

Fixing slow response time for resources

I have a Magento website and I have been noticing an increase in warnings from Catchpoint that various images, CSS files, and javascript files are taking longer than usual to load. We use Edgecast for our CDN and have all images, CSS, and JS files hosted there. I have been in contact with them and they determined that the delays happen when the cache for the resource has expired and it must contact the origin for an updated file. The problem is that I can't figure out why it would take longer than a second to return a small image file. If I load the offending image off our server (not from the CDN) in my browser it always returns quickly. I assume that if you call up an image file directly using the full URL to the image file (say a product image, for example), that would bypass any Magento logic or database access and simply return the image to you. This should happen quickly, and it normally does, but sometimes it doesn't.
We have a number of things in play that may have an effect. There are API calls to the server for various integrations, though they are directed at a secondary server and not the web frontend. We may also have a large number of stale images since Magento doesn't delete any images even if you replace them or delete the product.
I realize this is a fairly open ended question, and I'm sorry if it breaks SO protocol, but I'm grasping at straws here. If anyone has any ideas on where to look or what could cause small resource files, like images, to take upwards of 8 seconds to load, I'm all ears. As an eCommerce site, it's getting close to peak season, and I can feel the hot breath of management on my neck. Any help would be greatly appreciated.
Thanks!
Turns out we had stumbled upon some problems with the CDN that they were somewhat aware of and not quick to admit. They made some changes to our account to work around the issues and things are much better now.

Check on which pages an image is used?

Is there a certain way to check which pages on a website use a specific image?
Say I have some image which I don't use on a page anymore, so I'd like to delete it from my server. But I'm not entirely sure if it's being used on other pages, is there a way to check if it's still being shown on other pages?
You can hook your website to google webmaster tools and wait a little bit after a while 404 errors will appear there. This way you can track unused resources and dead ends.
This includes images.
There is a better way if you have direct access to the web server.
Visit every page in your website or let google crawl it.
You can later sort the files by date modified and ones which are not modified lately are not used.
You have to make sure you get the images from the pages so I would use a historyless cahceless session.
How to sort the files according to the time stamp in unix?

Google Traffic and CDN

I have moved all images from a website to a content delivery network on another domain. And, as a result, lost all Google image search traffic. Is damage permanent or will traffic return, will images on another domain still allow my site to be in image search results? Maybe I should have moved images gradually? Any advise?
It's gone because Google can now no longer find the images it had previously spidered, google will of course find the new locations however there is no guarantee it will rank your images the same as before.
The best way to recover is to implement 301 redirects using your .htaccess file. Depending on how you've moved the images and if they are in the same or a different folder structure it may require a bit of work to fix.

Resources