Image block on different urls

Permalink
I have added the image block to a page for a large banner on the top of the page. I select an image from the file manager, and keep the other settings as preset (automatic scaling etc).

The image appear as expected, but when i go to the url for the site without the www. in front of the hostname, the image does not show. I checked the html source, the whole img tag is gone. The rest of the page are normal, including images inserted into Content blocks.

Any ideas?

henit
 
henit replied on at Permalink Reply
henit
Ok, i tried CTRL-F5 and all other kinds of refresh when the image did not appear on the other url. I am sure i had published the changes, i also tried opening the page in another browser where I was not logged in, the same thing there with image showing on the www-url but not on the non-www url.

Then I logged in to the non-www url (since I have to log in again when coming from the www-url to the non-www url), and then the image is suddenly visible. I logged out again, and now it is visible all the time..

This feels like a bug of some kind.
jamesdtedder replied on at Permalink Reply
Any response on this. I'm having the same issue with html blocks and cannot for the life of me figure it out.
Ekko replied on at Permalink Reply
Ekko
Go to your sitemap and click on the page in question, click on properties and than page paths. Make sure only 1 url is there. If theres more than one remove it, or if you need more than one, as a general rule write a 301 rule into your site.

Place this code in your .htaccess file:

<code>redirect 301 /old/old.htmhttp://www.newdomain.com/somefile.html</code>...

If the .htaccess file already contains content, then scroll to the end and make sure you leave one line between the old code and the new code

Save the file