[wellylug] Use of old links by site visitors

John Durham johndurh at spunge.org
Wed Jan 10 09:04:45 NZDT 2007


Daniel Pittman wrote:
> John Durham <johndurh at spunge.org> writes:
>
>   
>> After a lot of setting up, and some basic changes, I have been
>> checking visitor statistics for my site. Some of them appear to be
>> trying to view images that used to be in the /images directory (now in
>> the /imgs directory). Without bothering with why they would go for the
>> images directly, I'm curious to know if there is a setting for apache
>> that will divert such attempts to the correct place so that old links
>> might still work? PS: Please don't suggest I create the /images
>> directory again so people can swipe pictures!  
>>     
>
> There are several solutions:
>
>   Use an alias to map /images to /imgs
>   Use Redirect rules to direct traffic from one to the other
>   Use an alias to display an informative page about the change
>   Use mod_rewrite to remap the URL as appropriate
>
> All of these are detailed in the Apache documentation.
>
> Regards,
>         Daniel
>   
Thanks everyone. You have given me plenty to think about.
-- 
John Durham
Site http://modecideas.com




More information about the wellylug mailing list