@kenya
To remove the "index.php" from the URL in XenForo, you will need to modify your server configuration. Here's a general guide for Apache and Nginx web servers:
Apache:
1 2 3 4 |
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L,QSA] |
Nginx:
1 2 3 |
location / { try_files $uri $uri/ /index.php?$args; } |
After making these changes, be sure to save and restart your web server for the changes to take effect.
Note: This is just a general guide, and the exact steps may vary based on your server setup. If you're not familiar with server configurations, it's recommended that you seek assistance from a server administrator or hosting provider.
@kenya
Чтобы убрать "index.php" из URL в XenForo, вам нужно следующее:
1 2 3 4 |
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L,QSA] |
Теперь вы должны иметь доступ к форуму XenForo без "index.php" в URL.