Coppermine accepting bad URL's Coppermine accepting bad URL's
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Coppermine accepting bad URL's

Started by skmdd, May 02, 2008, 06:48:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

skmdd

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

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.


Stramm

Have you properly setup your gallery (ie the 'URL of your coppermine gallery folder' in config)?

skmdd

Quote from: 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)?
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.

Joachim Müller

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.

skmdd

Quote from: 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.
Thanks for this. I will keep in mind next time.