PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old January 29th, 2013, 02:53 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2009
Posts: 7
millions of weird urls being indexed and errored by photo post

have a decent sized photopost gallery, and starting in dec when we upgraded to the latest version, we are getting millions (literally) of pages being indexed by google that function, but link to nothing. the urls dont make sense. for example:

/mygallery/showgallery.php?cat=wdsbwgjgr&page=11

there is no category named "wdsbwgjgr". photopost loads up the entire contents of the gallery though.

the problem is - every thumbnail on the page links to a broken page:
/mygallery//my-image-name.html

which doesnt work, as it seems to be missing the cat name.


i have scoured my site, and there are no links to weird urls anywhere i can find.


my biggest issue now: google has just notified us that they penalized us doe to excessive missing content and broken links. we have PLUMMETED in the rankings across the board, and have had 2.25 million (good) pages, de-indexed.

please let me know if you have any ideas on what could be causing this. im out of ideas.

im using the standard htaccess file, but have just added a 404 redirect just in case.

Code:
Content visible to verified customers only.


(i'll pm the url if needed)
dlpcorp is offline   Reply With Quote
Old January 29th, 2013, 04:30 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
The problem is this probally has nothing to do with your site or our program.

First off your talking two different things which is causing your issue because your urls are bad.

Your bad links are probally from some spam bot or bad google bot I would have no idea because quite frankly from our programs operation the cat variable is always NUMERIC.

Now given that constant here in our programs normal operation your now electing to use SEO urls which is fine. However your url is bad so your seo url is not going to be correct.

/mygallery/showgallery.php?cat=wdsbwgjgr&page=11

The proper url is probally something like

/mygallery/showgallery.php?cat=501&page=11

A url like that would be converted into a category seo url something like this

/mygallery/g501-my-cat-name-page11.html

You can see that as an example here

Toys that Go - PhotoPost Photo Gallery

A proper photopost url to a photo would be say this

/mygallery/showphoto.php?photo=31&cat=501&title=sometitle

That would translate to say this

/mygallery/some-cat-name/p31-some-title.html

see an example of that can be seen here

2006_Fab_Fords_Mustangs_243 - PhotoPost Photo Gallery

So really whatever is going on with your google links or how they got there has nothing particularly to do with our program or its operation.

I can not say how those links got in google since our program has nothing to do with putting links in google.

You can add 404 redirects as a backup but your issue has to do with google and its operation. Google is the one who puts links in there site. They are not getting those links from your site or our program and you need to tell them that. Ask them where they are getting those bad urls because they do not come from your site.

You can turn off seo urls but personally I have google flush your sites links and do a complete reindex of your site because the issue is from them.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 29th, 2013, 05:22 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2009
Posts: 7
right... not saying this is photoposts fault obviously. however, something needs to be done about 1 thing:

if someone hits a url that doesnt exist in photopost (ie: /mygallery/showgallery.php?cat=wdsbwgjgr&page=11) then it should be stopped cold... instead, the ENTIRE gallery (all categories) are piled into one, and displayed... meaning MILLIONS of pages (depending upon the size of your gallery) could be instantly grabbed and indexed... all pointing to things that dont exist.

re-index is out of the question. this is a site with 22.5 million pages... it has taken way too much time to get it all indexed.. and google, at its peak crawl rate, would still take months to get it all back.... all the while, our business is suffering horribly.



i dont like hacking the core of a software package.. but there needs to be something done to handle this issue. ie: if (!cat) {echo ' no category found'; }else {.... list the cat }
dlpcorp is offline   Reply With Quote
Old January 29th, 2013, 05:23 PM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2009
Posts: 7
can you point me to where i need to make that change to save me some time?
dlpcorp is offline   Reply With Quote
Old January 29th, 2013, 05:33 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
The point I am making is our program doesn't have any bad urls.

If there is really a problem with the url you are entering in our program then you get a diewell message which is the proper action. So you get cat can not be found or photo can not be found. That already exists in the program.

You need to find out where google is indexing bad urls from. They are not coming from your application.

I merely said if you have bad urls indexed from google then you can minimize any damage by turning off SEO URLS in global options since the information your using to convert to seo is wrong.

There is nothing I can tell you to do about bad information that is being generated from an outside source that is not our application. If the photo is not found you get a message. The point i have beem making is it is google that is making the mistake if they are indexing pages with wrong data.

Our application has nothing to do with google. I know you want more of an answer but there is literally nothing I can do about something outside our application. I can not fix some bad url in google.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; January 29th, 2013 at 05:45 PM.
Chuck S is offline   Reply With Quote
Old January 29th, 2013, 05:50 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
If you want to hack your program and kill the ability to show all photos the only other suggestion I have is maybe in showgallery.php

Code:
Content visible to verified customers only.
You could change to maybe

Code:
Content visible to verified customers only.
There is not support for such an action and do so at your own risk. I can offer no further discussion on code mods.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; January 30th, 2013 at 05:25 PM.
Chuck S is offline   Reply With Quote
Old January 30th, 2013, 04:12 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2009
Posts: 7
thanks, but that didnt work.




as for the issue... i dont think you understand what im saying here.

i know your program is not responsible for generating these weird urls. the creation of these urls has nothing to do with you or photopost. it is most likely a bot or spammer.

the problem however, is that your program does WORSE than nothing with it. if a random string is presented as a cat, one which simply doesnt exist... rather than handling it as an error, it presents all of the galleries content.

here is why this is a problem (and a huge problem):
1 or two pages of duplicate content is not that big of a deal. but, with anyone that has a decent sized gallery (we have roughly 50k images)... it leads to the potential to create HUGE number of errors. google will annihilate your site if it sees thousands of pages of duplicate content, much less millions. this is what happened to us (and this is not speculation... this is in conversations with google over this matter... we have just been reindexed). each one of these random string urls that was most likely pinged by a bot or server looking for exploits, was picked up by google. each one of those random string creates en entire gallery worth of empty links, and millions of pages of duplicate content.


i hacked around a bit in the code, but they were messy and created other issues. for us, using mod rewrite, this is probably the most elegant solution i could quickly come up with (had to come up with something yesterday so google would reindex us)

$qqqcurrent = $_SERVER['REQUEST_URI'];
$qqqcheck = 'showgallery.php?cat=';
$pos = strpos($qqqcurrent, $qqqcheck);
if ($pos === true) {
header("HTTP/1.1 301 Moved Permanently");
header("Location: /mygallery/");
}
dlpcorp is offline   Reply With Quote
Old January 30th, 2013, 05:22 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Quote:
the problem however, is that your program does WORSE than nothing with it. if a random string is presented as a cat, one which simply doesnt exist... rather than handling it as an error, it presents all of the galleries content.
That is because it is suppose to as there is an option to show all photos which is why as I initially said cat=all if it is not numeric.

What I said does indeed work

Message - PhotoPost Photo Gallery

There is one more thing you might want to modify up at the top of the file on the typecast line where cat is STRING change that to INT

Code:
Content visible to verified customers only.
I understand exactly what your saying but you need to understand it is not our place to fix google issues. The problem is as I see it is why is google indexing spam bot urls in the first place and where. They are not getting the urls from our application.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; January 30th, 2013 at 07:30 PM.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SEO problem: Pictures are not indexed by Google vFranky Photopost Pro How Do I...? 22 June 21st, 2012 04:09 PM
Disable or Turn off Indexed Thumbs Fortissimo Photopost Pro How Do I...? 1 February 5th, 2010 01:24 PM
Forum users getting millions or billions of posts xluk Classifieds Bug Reports 19 January 14th, 2010 01:45 PM
Over 1,7 millions views in 1 year gr8ocean Show off your PhotoPost site! 0 October 25th, 2007 12:28 PM
Gallery not being indexed by google Pooh Installs and Upgrade - vBulletin 3.0.X 1 July 20th, 2005 01:55 PM


All times are GMT -5. The time now is 05:18 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0