forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: Saif on September 29, 2010, 02:54:24 pm
-
http://www.orangewallpapers.com
I have a custom error page called 404Page.htm in a directory named 404 in root.
now, where do I edit the codes in .htaccess, so any broken gallery link gets redirected to my custom 404 page ?
Plz Advice.
Thanks
-
ErrorDocument 404 /404/404Page.htm
-
Well, actually my question is where exactly in .htaccess do i write this ?
-
That's in no way related to Coppermine. http://httpd.apache.org/docs/2.0/mod/core.html#errordocument
-
ErrorDocument 404 /404/404Page.htm If I'm putting this code in .htaccess, its giving me error 500 :(
So that is what I'd like to know where do I insert this code in .htaccess so the gallery works fine & broken urls also get redirected.