Jump to content

Presta shop at root directory, who already have html and php files


ebclr

Recommended Posts

I have a prior website with several Html files and even some php files.

 

I installed Prestashop 1.7, and they take full control of the main directory, all my prior files are inaccessible because PrestaShop controller takes control of everything, is there a way to point to my old plain HTML . Case not how can i create route rules to access those old plain html files ?

Link to comment
Share on other sites

I have a prior website with several Html files and even some php files.

 

I installed Prestashop 1.7, and they take full control of the main directory, all my prior files are inaccessible because PrestaShop controller takes control of everything, is there a way to point to my old plain HTML . Case not how can i create route rules to access those old plain html files ?

 

the solution is you copy your Prestashop website to a sub-folder and keep html + php files at root, or copy all html+php files to sub-folder and keep your Prestashop at root

Link to comment
Share on other sites

I found by myself one very simple and amazing solution

 

change this line on  htacess 

 

DirectoryIndex index.php index.html  index.shtml index.cgi index.php index.phtml index.htm home.html welcome.html

 

to this

 

DirectoryIndex index.html index.php index.shtml index.cgi index.php index.phtml index.htm home.html welcome.html

 

Now any html at root simple works

  • Like 1
Link to comment
Share on other sites

I found by myself one very simple and amazing solution

 

change this line on  htacess 

 

DirectoryIndex index.php index.html  index.shtml index.cgi index.php index.phtml index.htm home.html welcome.html

 

to this

 

DirectoryIndex index.html index.php index.shtml index.cgi index.php index.phtml index.htm home.html welcome.html

 

Now any html at root simple works

 

may this affect the Prestashop?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...