VafCat Posted June 10, 2013 Share Posted June 10, 2013 (edited) Hi, how can I add a php page (that don't have anything to do with the platform system) in the platform root folder and not giving me the 404 error when accessing it? Edited June 10, 2013 by VafCat (see edit history) Link to comment Share on other sites More sharing options...
PascalVG Posted June 10, 2013 Share Posted June 10, 2013 Probably your permissions aren't set correctly. check if file has permissions set to 644 (or 755 if needed) If not sure, just go to the file in your cPanel and change permissions using chmod 644 <file name> More on changing permissions/chmod: http://en.wikipedia.org/wiki/Chmod My 2 cents, pascal Link to comment Share on other sites More sharing options...
VafCat Posted June 10, 2013 Author Share Posted June 10, 2013 the file is already on my ftp in the root folder and have 755 CHMOD, but when I access it, it gave me the 404 error from prestashop. do I have to register the file somewhere? Link to comment Share on other sites More sharing options...
PascalVG Posted June 10, 2013 Share Posted June 10, 2013 path fully correct? CaPItals etc. do you have a link to the page you want to call it from? and a direct link to the php page as well.. Link to comment Share on other sites More sharing options...
VafCat Posted June 10, 2013 Author Share Posted June 10, 2013 (edited) images below: Edited June 10, 2013 by VafCat (see edit history) Link to comment Share on other sites More sharing options...
VafCat Posted June 10, 2013 Author Share Posted June 10, 2013 I'm changing my website with prestashop, and i have a lot of "old" links of the products on facebook, and produs.php is a redirect of all of the old products links to the index page. Link to comment Share on other sites More sharing options...
VafCat Posted June 10, 2013 Author Share Posted June 10, 2013 (edited) I think I resolve the problem... i changed the redirect from header() to meta redirect Edited June 10, 2013 by VafCat (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts