N
N
Nikita Bratsky2017-08-07 01:00:45
htaccess
Nikita Bratsky, 2017-08-07 01:00:45

There is a problem with the .htaccess file, help?

I need to configure the server (via .htaccess) so that when a link is clicked, the server thinks it is accessing an index page, not a separate page/file. This is necessary to display the template and, therefore, data that is individual for each user, as an example, I can cite the “audio recordings” section in VK.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dummyman, 2017-08-07
@NikBr_9

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

it?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question