forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: skmdd on May 02, 2008, 06:48:22 pm

Title: Coppermine accepting bad URL's
Post by: skmdd on May 02, 2008, 06:48:22 pm
I have a site: http://decoratingdesktop.com [Edit GauGau] Warning: links in this thread are not safe for work [/Edit]
Recently I noticed that Google is indexing some of the pages with wrong URL.
Its showing:
http://decoratingdesktop.com/index.php/index.php?cat=7
instead of:
http://decoratingdesktop.com/index.php?cat=7 (http://decoratingdesktop.com/index.php?cat=7)

I discussed this issue and came to know that my site accepts http://decoratingdesktop.com/index.php/index.php?cat=7 and displays the correct page but does not load the css or images as the relative path is not correct. Since all the links on this page have and extra "index.php/" in the URL, Google does wrong indexing of all these linked pages.
I further saw that even the coppermine demo site behave the same way.
http://coppermine-gallery.net/demo/cpg14x/index.php/index.php?cat=5
does not load any images.
Is there a way so that I can show 404 error instead of displaying the page with wrong URL? This would atleast not index the wrong URL in Google.

Title: Re: Coppermine accepting bad URL's
Post by: Stramm on May 02, 2008, 07:30:58 pm
Have you properly setup your gallery (ie the 'URL of your coppermine gallery folder' in config)?
Title: Re: Coppermine accepting bad URL's
Post by: skmdd on May 02, 2008, 09:26:48 pm
Have you properly setup your gallery (ie the 'URL of your coppermine gallery folder' in config)?
Yes. I have the URL properly setup which is : "http://www.decoratingdesktop.com/" and does not have index.php with it.
I don;t know how the wrong URL got into Google indexing, but I want to have a 404 page not found error on these error URL's.
Currently, for Google crawler, it sees the page with wrong URL and crawls the site using wrong URL's. If I say page not found, then the crawler would not proceed with further indexing.
Title: Re: Coppermine accepting bad URL's
Post by: Joachim Müller on May 02, 2008, 09:59:11 pm
The thread subject you chose won't win you friends here... >:(
Always post a warning togeter with links that point to pages like yours ::) - I edited your initial posting accordingly.
Title: Re: Coppermine accepting bad URL's
Post by: skmdd on May 03, 2008, 08:43:08 am
The thread subject you chose won't win you friends here... >:(
Always post a warning togeter with links that point to pages like yours ::) - I edited your initial posting accordingly.
Thanks for this. I will keep in mind next time.