Let me try to explain my problem/question.
We have a Zenphoto gallery that when a user on on an Album, we provide them with some embed html that they can use on their own site.
eg
http://spoilertv.co.uk/images/fringe/season-4/promotional-episode-photos/episode-4.01-neither-here-nor-there/
This is great and works well.
However, we recently had to move an album, and this caused an issue with broken image links
see here for example
http://itsawesometv.com/blog/2011/04/07/hawaii-5-0-1-22-hoohuli-naau-poze-promotionale/
You will see that the images are broken and the links take you to a Zenphoto page saying "Object Not Found".
Now what I would like to do is to have some sort of catchall image and link redirect. So that if we have to move album again we won't get loads of 404 errors and broken image links.
eg
So that rather than displaying a broken image on the site that has embeded the old code, that they get a little icon for each broken image. This would stop the 100's of 404 errors in my server log.
Also it would be great if when they clicked on the icon, that rather than go to the Object Not Found page, that it redirects to the Gallery Homepage.
Any suggestions about how I can do this? Links/examples most welcomed.
Related
After buying hosting and domain for my site, I uploaded the content.
Then I read about how Google finds and index websites and pages, I went to the Google Search Console and registered my website property successfully.
But in the "pages" section I see that the page (my website has only 1 page, index.html) is labelled as "not indexed", with the reason of "Excluded by ‘noindex’ tag".
After a quick search online, the solution seems to be to remove the "noIndex" tag from the page code: but in my code there isn't that tag.
I haven't found anyone with my same problem so far; what could be the reason for this?
I am trying to use an image from an existing website in my html page. The issue is that the image is not getting resolved correctly, Even when I hit the image URL directly on browser, its getting redirected to some other site. I have tried on all browsers but no luck.
I have heard about restricting resource using hot linking but in this case not sure whats happening. Any pointers/suggestions please.
Eg - I want to use image(http://www.acsisair.com.au/wp-content/themes/acsis-air/images/logo.png) but when hitting this URL after clearing browser cache, its being redirected to other website (http://www.nine.com.au)
It's very, very likely a form of hotlinking protection: if you change the URL subtly to make it clearly incorrect, you get a 404 page.
That means when you enter an URL to a resource that exists, you're given a header redirect. That's not an accident.
There's likely nothing you can (or should) do to circumvent this.
Use images you can host on your own site.
Im trying to download and open a kml file on goole earth but a red dot appears over a file in earth. that specific file doesn't appear on earth. I'm bad with tech, I don't know how to code or the coding language so simplified answers will be the most helpful. To find the file, search "nrdc conservation solutions layer for google earth." It is one of the first links/the first kml file that pops up. If it makes any difference I am using a mac. Thank you for the help!
If you have KML with NetworkLinks, the icon in the saved places (left panel) of Google Earth will reflect the state while it is fetching content. A NetworkLink links to another KML file which can a URL to a remote server.
If for example, the network link fails to open then the "error" icon with red circle will be displayed. The red circle basically means the URL failed to load content same as if it failed in a web browser. In most cases, this results from an HTTP 404 not found error that you would see in a web browser for a broken link. It could also be another 4xx code or 5xx HTTP error code. To verify the issue, right-mouse click on the NetworkLink, select "Properties", copy the URL in the link field then paste the URL into a web browser. If the target URL is broken then you'll need to fix the URL then paste back into Google Earth and/or into your KML to work correctly.
If the KML is returned to web browser but not Google Earth then the content-type (aka mime type) might be wrong. You can enable FireBug and/or the web console in your web browser to debug the HTTP response headers.
Here is the full list of icons for the state of NetworkLink from KML 2.2 spec:
I've a website which displays and edits the contents of a different web pages like adding css codes to them.
It works like this, i use curl to get the contents of webpages then i edit the content and add base tag with href attribute which points the url that i got the contents of it. Then i put the edited content to an iframe on my website. It was working for a year, but yesterday i noticed an error that google chrome shows me the security warning page.
I've tried so many things to fix this problem but i couldn't fix it. when i use the base tag with different domain from the top domain, it shows the warning page. Do u have any idea how can a pass this problem. I have to use base tag with a different domain from the base tag.
It looks that was google side error :D We contact with them and the problem is fixed :)
Having a very strange issue which I hope you can help me with.
No errors in Apache logs. I am running a Drupal6 site, with only a few images that are failing to display.
The site's url is configured as a subdomain, i.e. in sites, directory domain.com.insurance contains all the drupal files, modules, etc.
Using Firebug their relative URLs are set to:
/insurance/files/webfm/auth/insurance_profiles/profile4.jpg
Visiting this file throws a drupal not found page.
The problem here is the URL specified by the developers.
Instead of :
/insurance/files/webfm/auth/insurance_profiles/profile4.jpg
Correct URL is:
/insurance/sites/insurance/files/webfm/auth/insurance_profiles/profile4.jpg
Thats it, hope it helps :)