Welcome to WebmasterWorld Guest from 54.159.50.111

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

.htaccess, 301, and images

     
6:53 pm on Dec 15, 2009 (gmt 0)

Junior Member

5+ Year Member

joined:Nov 18, 2009
posts: 43
votes: 0


One one of our sites, we're redirecting everything to a sub-folder. We noticed that on our ssl pages that the padlock blips and is then gone. From my reading, others have mentioned that it's related to the 301 and images are preceived to be non-https. In this scenario and in the cases I read about, IE doesn't display any security warning windows.

Is there something additionally that needs to be done to address the images? If I shut off image display in IE, the padlock displays correctly. All our images references appear to be relative and within subfolders of the folder we're redirecting to.

10:00 pm on Dec 15, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
posts:25430
votes: 0


Use an internal URL-to-filepath rewrite, not a external URL-to-URL client redirect. In this way, the incoming requested URLs will be "mapped" or "pointed" to a non-default location in the filesystem (your subdirectory), with the client (e.g browser or search robot) remaining completely oblivious to this fact.

The basic problem appears to be that you've 'mixed up' URLs with filepaths; They don't necessarily have to be related. In so doing you've thrown a client redirect into the mix, which is unnecessary, slows down your users' transactions, puts double-entries in your server logs (screws up your stats), and may be the cause of this SSL problem. Like many technical misunderstandings or errors, little errors in server configuration can cause *big* problems.

Jim

10:49 pm on Dec 15, 2009 (gmt 0)

Junior Member

5+ Year Member

joined:Nov 18, 2009
posts:43
votes: 0


Thanks for the information, Jim. I reconfigured it and it solved the issue right away.