InterviewSolution
| 1. |
How You Can Remove Index.php From Your Application Url ? |
|
Answer» Steps to remove index.php from your APPLICATION url. Step 1: First configure your Yii-application CONFIGURATION file like below code ..... Step 2: Enable apache rewrite ENGINE. To enable rewrite engine type the following command in your TERMINAL (Ubuntu ). a2enmod rewrite // to enable rewrite engine Step 3: Then, if you'd like, you can use the following .htaccess file in your application folder where index.php exists RewriteEngine On Thats all the 3 steps to remove index.php from the URL. Steps to remove index.php from your application url. Step 1: First configure your Yii-application configuration file like below code ..... Step 2: Enable apache rewrite engine. To enable rewrite engine type the following command in your terminal (Ubuntu ). a2enmod rewrite // to enable rewrite engine Step 3: Then, if you'd like, you can use the following .htaccess file in your application folder where index.php exists RewriteEngine On Thats all the 3 steps to remove index.php from the URL. |
|