/gallery2/main.php - why is this my 2nd most popular URL in stats?
snackmaster
Joined: 2005-11-20
Posts: 135 |
Posted: Sun, 2008-03-02 02:20 |
Gallery's Main.php has been my 1st or 2nd most popular URL since embedding Gallery in Wordress ~2+ years ago. I've always run Gallery in embed mode so why is that? Embed mode like so: Is the traffic to the URL from the WPG2 plugin & pages, Search Engine's directing folks there, spiders, malicious scripts.... ? Wordpress = / |
|
ozgreg
Joined: 2003-10-18
Posts: 1378 |
Posted: Sun, 2008-03-02 07:38 |
This is because in certain photo views (IE FullSize, Slideshow, Lightbox) G2 will direct the link via main.php rather than via WPG2 page. For now we cannot change this until we move away from the imageblock plugin (which is responsible for fetching/displaying G2 images) ____________________________________ |
|
snackmaster
Joined: 2005-11-20
Posts: 135 |
Posted: Sun, 2008-03-02 20:55 |
Would Sidebar block be such a view? I don't use FullSize, Slideshow, Lightbox or anything else. Just Thumbnails and basic pages with the images. I do see that 404s for gallery pages lead to Main.php & "Item not found" so that could account for some. Which is a second question can I achieve a standard 404 with Gallery embedded in WP? Thanks, |
|
ozgreg
Joined: 2003-10-18
Posts: 1378 |
Posted: Sun, 2008-03-02 22:11 |
I have just described why the imageblock uses such a view, If you look at the links being accessed you should be able to see the content being referenced, also remember outside the sidebar, Gallery2 also does display full size images as well. Part of your post concerns me, you should not get a 404 when viewing main.php nor get a item not found, even if you have blocked direct access to your Gallery2. ____________________________________ |
|
snackmaster
Joined: 2005-11-20
Posts: 135 |
Posted: Wed, 2008-03-05 23:54 |
Yes the 404 concerns me too, but it's that visitors see Main.php with errors instead of the sites normal 404 page. Example Quote:
Error Detail - Thanks for the imageblock explanation. |
|
ozgreg
Joined: 2003-10-18
Posts: 1378 |
Posted: Thu, 2008-03-06 05:55 |
I had a look at the page and noticed the following /gallery2/d/2003-2/meekerpark_lodge.jpg <- /d/ in rules = download or Directly via Gallery2 which I believe goes via main.php. Yeah it is pain, as you have pointed out it throws out the views.. I never got to the bottom of why this happens... I might bump that old thread again... ____________________________________ |
|
ozgreg
Joined: 2003-10-18
Posts: 1378 |
Posted: Fri, 2008-03-07 22:46 |
I have confirmed this with the G2Developers that any item accessed Directly (via core.DownloadItem) will show as via main.php as it is internally displayed not via the Embedded Application Page.. ____________________________________ |
|