ThomasS Posted March 29, 2016 Share Posted March 29, 2016 Hi Since my IPB 4 upgrade I got several hundred 404 pages, regarding Google Webmaster Tools. All links do like like these:https://www.parkour-vienna.at/gallery/sizes/773-marc-pose/square/ https://www.parkour-vienna.at/gallery/sizes/1681-p1020817/medium/ https://www.parkour-vienna.at/gallery/sizes/3361-pb220179/large/ I fixed some new 404's by adding strings like "Disallow: /*?do=findComment" & "Disallow: /*&content_commentid=undefined" to the robots.txt, but I'm not sure on that ones above.... any idea? thanks in advance Link to comment Share on other sites More sharing options...
Adlago Posted March 29, 2016 Share Posted March 29, 2016 Hi @ThomasS Add this code in your htaccess file. I think that will solve the problem. //301 Redirect Entire Directory RedirectMatch 301 https://www.parkour-vienna.at/gallery/773-marc-pose/square/(.*) https://www.parkour-vienna.at/community/gallery//$1 RedirectMatch 301 https://www.parkour-vienna.at/gallery/sizes/1681-p1020817/medium/(.*) https://www.parkour-vienna.at/community/gallery//$1 RedirectMatch 301 https://www.parkour-vienna.at/gallery/sizes/3361-pb220179/large/(.*) https://www.parkour-vienna.at/community/gallery//$1 Link to comment Share on other sites More sharing options...
ThomasS Posted March 30, 2016 Author Share Posted March 30, 2016 11 hours ago, Adlago said: Hi @ThomasS Add this code in your htaccess file. I think that will solve the problem. //301 Redirect Entire Directory RedirectMatch 301 https://www.parkour-vienna.at/gallery/773-marc-pose/square/(.*) https://www.parkour-vienna.at/community/gallery//$1 RedirectMatch 301 https://www.parkour-vienna.at/gallery/sizes/1681-p1020817/medium/(.*) https://www.parkour-vienna.at/community/gallery//$1 RedirectMatch 301 https://www.parkour-vienna.at/gallery/sizes/3361-pb220179/large/(.*) https://www.parkour-vienna.at/community/gallery//$1 thanks, but that doesn't change anything at all.. what is this supposed to do? (there is nothing behind /square, /medium or /large coming anymore) the 404's are over 1000 now and still rising.... seems like this is failing for every picture in the gallery... any suggestions? (am I the only one with that problem?) Link to comment Share on other sites More sharing options...
opentype Posted March 30, 2016 Share Posted March 30, 2016 You should make sure the main gallery page for every image is properly forwarded. Is that a case? But I wouldn’t worry about the “errors” regarding the pages for the individual sizes. There wasn’t really any need to have them indexed in the first place and hitting 404s now is not necessarily an “error in need of fixing”. It’s how the web works. The pages are gone and the search engines learn about this by hitting a 404. So they will drop those pages sooner or later, which is the right thing to do, since the pages are indeed gone. Link to comment Share on other sites More sharing options...
ThomasS Posted March 30, 2016 Author Share Posted March 30, 2016 All I do is using the IPB generated Sitemap and place it at Google search console... that's it I don't know how Google is getting to these 404-sites...looks correct in the sitemap itself: https://www.parkour-vienna.at/community/sitemap.php?file=sitemap_content_gallery_Image_1 and I don't see any sites linking to these /medium /lage etc. you guys are not getting such 404 errors in the search console? (I'm just not interested in getting downranked, because google thinks I'm trying to bomb them with random generated sites) Link to comment Share on other sites More sharing options...
opentype Posted March 30, 2016 Share Posted March 30, 2016 19 minutes ago, ThomasS said: I don't know how Google is getting to these 404-sites... They were indexed on the 3.x site with these URL. 19 minutes ago, ThomasS said: (I'm just not interested in getting downranked, because google thinks I'm trying to bomb them with random generated sites) There is nothing wrong with 404s. Again, that how the web works. I can delete a sub-forum now with 10,000 topics in it and the search console might show 10,000 404 errors. But that is supposed to happen. There is no action required on my part to do anything about it. If you really worry about this, Adlago’s approach is also fine. Forward the failing URLs either to the main image page or the size specific URLs like gallery/image/IMAGE_ID/?imageSize=medium Link to comment Share on other sites More sharing options...
ThomasS Posted March 30, 2016 Author Share Posted March 30, 2016 Ahh, I get it.. so those are old indexed links from IPB3 which are not working anymore with IPB4... i thought it's the other way round and these url's are new with ipb4.... OK thanks for the clarification as I'm not very good with rewrite-rules, could someone create a general rule (placeholders for image-names) for forwarding those 404's to the propers IPB4 sites? :] Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.