I uploaded as website to a subdomain, and every page is not working except the front page please check it here. What could be the possible reason?
I should have 8 pages in front level and many more on admin level but I am getting 404 error as you can see.
UPDATE:: .htaccess file
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
UPDATE to url routing
I do have few url router like below BUT I don't have any default router
$router->addRoute(
'get-destination',
new Zend_Controller_Router_Route('destination/get/:id/:dest-name', array(
'controller' => 'destination开发者_Go百科',
'action' => 'get',
'id' => 'id',
'dest-name' => 'dest-name'
))
);
just to make look cooler and on my navigation (which is loaded from xml I have) something like
<nav>
<home>
<label>HOME</label>
<controller>index</controller>
<action>index</action>
<route>default</route>
</home>
since I was getting url problem from where url was routed
and please check phpinfo at http://websmartus.com/demo/globaltours/public_html/phpinfo.php
I reckon the problem is in .htaccess. It should be looking like this:
RewriteEngine On
RewriteBase /demo/globaltours/public_html
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
精彩评论