I recently created an application (sales portal) in PHP for a small company. The company had a website developed in the press. Since I did not work with the word press, as I embedded my application on a website, I simply created a subdirectory on the host and loaded my application there. For instance:
domainname.com - their website
domainname.com/portal is the location of my application (index.php file).
Starting from a month, Iām studying Zend Framework 1.8, and I want to rewrite the portal in the Zend platform, since I wrote the portal from scratch and its kernel is not as safe as it would be if it implements the Zend environment.
My question is: can I enable the Zend framework application on the Wordpress website as I did using the application from scratch, creating a subdirectory on the host and downloading the application there? And if so, how can I configure the Zend application so that it recognizes the name domainname.com/portal as the domain name (as the home directory).
The problem that I am facing right now is that when I print http://www.domainname.com/portal/sales , it returns 404 because there is no such directory on the server. Of course, what I mean with the above link (domainname.com/portal/sales):
website: domainname.com/portal controller: sale action: index
"domainname.com/portal/index.php/sales", - "domainname.com/portal/", (, domainname.com/portal/sales ) 404.
( : - http://www.domainname.com )
.