Sever381 Posted June 6, 2016 Report Share Posted June 6, 2016 Пытаюсь в блог запилить виджет от relap.io, но их система не индексирует адреса с параметрами, что делать? Вот какая ссылка у меня сейчас: site.com/index.php?/blogs/entry/61-sem-gorodov-kotoryie-ischeznut-do-2100-goda/ к тому же заметил, что в основном все ссылки на сайте содержат /index.php?/ Quote Link to comment Share on other sites More sharing options...
Redneck Posted June 6, 2016 Report Share Posted June 6, 2016 8 минут назад, Sever381 сказал: к тому же заметил, что в основном все ссылки на сайте содержат /index.php?/ админка - система - продвижение - поисковая оптимизация - Использовать mod_rewrite? включить Quote Link to comment Share on other sites More sharing options...
Sever381 Posted June 6, 2016 Author Report Share Posted June 6, 2016 6 минут назад, Redneck сказал: админка - система - продвижение - поисковая оптимизация - Использовать mod_rewrite? включить Сайт на nginx, ошибку выдало... для .htaccess вот так вот: <IfModule mod_rewrite.c> Options -MultiViews RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteRule \.(js|css|jpeg|jpg|gif|png|ico|map)(\?|$) /404error.php [L,NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> Quote Link to comment Share on other sites More sharing options...
sever38 Posted June 6, 2016 Report Share Posted June 6, 2016 Нашёл способ, пригодиться тем кто юзает форум на Nginx. Прописываем .... location / { try_files $uri $uri/ /index.php; в nginx.config и перезапускаем Nginx Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.