Welcome to WebmasterWorld Guest from 107.20.104.161

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

.htaccess, 301, and images

     

smartwork

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

5+ Year Member



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.

jdMorgan

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

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



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

smartwork

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

5+ Year Member



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

Featured Threads

Hot Threads This Week

Hot Threads This Month