(\)icholas Posted October 15, 2011 Share Posted October 15, 2011 (edited) Hello, Some of my product links from category pages are landing me on 403 Forbidden pages, the error page is also stating that "Additionally, a 404 Not Found error was encountered". I'm currently using ps V1.3.7.0. Links that will create this error are using the form.... /tools/1700-agn-k10338a-ball-link-pliers-4713413923274.html /tools/5738-nov-5832-silver-solder15g-60720905832.html This happens to any products who's default category is set to Tools. Placing the item back into the default category of Home does not fix the problem. Its only when i set the default category to something other than Tools or Home, that I am able to navigate to the product's page. An item which has had its default category left to Home and has been added to the Tools category still works fine. This type of product would take the form..... /2110-bon-10654-25mm-ball-allen-3723110654.html Its not until its default is set to Tools that the product begins giving me this error. It seems that this category is corrupting my items. Turning off the "friendly url" fixes the problem entirely. I prefer the shorter php style url, But i guess the friendly url is supposed to be better for seo and security. Also i want to know that my website is problem free. The only thing i can think of that may have triggered this problem was my alteration of the name of this category. To change its placement within my menu structure i changed it from 'Tools' to '09.Tools' as suggested by the prestashop wiki. I had already placed a number of items within the category before altering its name. This doesn't seem like it should be an issue though as the URL's are dynamically generated and the product records are only storing the ID of the categories in which they belong. I can't find anything that distinguishes this category and the products it effecting from the other categories and products with in the database. I tried regenerating my htaccess file but that didn't fix it either. I'm stumped. Any help would be greatly appreciated. UPDATED 5-23-12 As shokinro has suggested, I fixed this issue by deleting the category, creating an identical one and then reassigning all of the products that it contained. Luckily at the time this category did not contain many items. I had not tried changing the friendly URL field to match the new category name; as I assumed this would be automatic, but this is most likely why my links stopped working. For some reason I wasn't notified of the response to my post, or I would have attempted that course of action. Edited May 23, 2012 by Raffiki (see edit history) Link to comment Share on other sites More sharing options...
(\)icholas Posted November 20, 2011 Author Share Posted November 20, 2011 Still No ideas on this One? Link to comment Share on other sites More sharing options...
shokinro Posted November 20, 2011 Share Posted November 20, 2011 Usually change category name should not affect the friendly URL as long as you changed the "Firendly URL" field too. You can try to regenerate .htaccess file to see if this helps. It is a workaround, you also try to create another new category and try to re-assign existing products to that new category. Link to comment Share on other sites More sharing options...
jhnstcks Posted November 20, 2011 Share Posted November 20, 2011 Can we have a link to your site please, pm if you don't want to post it. Link to comment Share on other sites More sharing options...
(\)icholas Posted November 6, 2013 Author Share Posted November 6, 2013 Ahahah. So I finally figured out what the problem was. It's really funny because it seems so obvious in retrospect. Originally to get around this problem I had created a new category and moved the afflicted items into that category. I also left their default category at home. Two years down the line and I have someone doing data entry for me and the same problem comes up. She wasn't able to make a products default category 'tools' without receiveing a forbidden 500 error in the front office. Bottom line, do not create a second level category with the name 'Tools'. Because there is an actual file in the program named tools which is forbidden via an .htaccess file. Doh! Link to comment Share on other sites More sharing options...
vekia Posted November 6, 2013 Share Posted November 6, 2013 hello thank you for posting solution may i know what you exactly had in .htaccess file? Link to comment Share on other sites More sharing options...
Recommended Posts