Issue
i upload all of my web folder to the root and then move all my project to inside a folder and fixed all the addresses in the main index.php
every thing works fine but i dont know for what reason this happens
But:
class SiteController extends Controller
{
public function actionIndex()
{
return $this->render('index');
}
public function actionTest()
{
echo 'awdaw';
}
|
but site index Works fine
Solution
i found the solution in my htaccess file in the end my .htaccess become this and it is ok right now
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{HTTP_HOST} ^(www\.)?myaxagent\.com
RewriteRule ^(.*)$ https://www.mysitetesttest.com/$1 [R,L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.php [L]
Answered By - noshad b.e
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.