- Joined
- Mar 27, 2022
- Messages
- 550
- Points
- 53
Reputation:
Just find .htaccess file and paste the code inside it .
Then save that file.
Now you can proceed into your Admin CP.
Go into "Options", then go to "Basic board information", then scroll to the bottom and check "Use full friendly URL's".
Now if you did it right, your index.php should be removed from the URL. Go to your site to confirm this.
Code:
ErrorDocument 401 default
ErrorDocument 403 default
ErrorDocument 404 default
ErrorDocument 405 default
ErrorDocument 406 default
ErrorDocument 500 default
ErrorDocument 501 default
ErrorDocument 503 default
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
</IfModule>
Then save that file.
Now you can proceed into your Admin CP.
Go into "Options", then go to "Basic board information", then scroll to the bottom and check "Use full friendly URL's".
Now if you did it right, your index.php should be removed from the URL. Go to your site to confirm this.