Новости Joomla

👩‍💻 ИИ-админ для Joomla ближе, чем вы думаете: Joomla MCP.

👩‍💻 ИИ-админ для Joomla ближе, чем вы думаете: Joomla MCP.

В февральском номере Joomla Community Magazine в статье Evolving Joomla - Joomla CMS MCP Server: Opening the Door to AI-Powered Administration рассказывается о работе команды разработчиков над внедрением в ядро Joomla MCP-сервера.

Что такое MCP-сервер?
Последние годы всех захватывает бум ИИ-технологий. Появились ИИ-агенты - программы, устанавливаемые на сервер или компьютер, которые получают от вас запрос или задачу в человеческом виде и могут выполнять действия с файлами, ходить по сайтам, создавать сайты, программировать и т.д. Люди используют ИИ-агентов в самых разных ситуациях: от написания и проверки кода (даже там, где язык программирования не знаете совсем) до планирования путешествий и бронирования гостиницы.

ИИ-агенты могут использовать различные программные инструменты по протоколу Model Context Protocol (MCP). Для этого разработчик программы должен внедрить MCP в свой продукт или сервис. Так, например, ваш ИИ-агент может ходить по сайтам через браузер и собирать нужную информацию, управляя браузером через MCP-сервер. Или использовать функционал IDE PHP Storm для написания кода, сбора и отладки ошибок, использовать поиск PHP Storm по кодовой базе, а не простой текстовый поиск по файлам. MCP предоставляет набор функций для полноценного управления программным обеспечением.

В случае с Joomla, сервер MCP может предоставить администраторам следующие возможности:
- Автоматическое создание категорий, материалов и меню на основе карты сайта или PDF-файла.
- Создавайть SEO-оптимизированные заголовки и метаописания в пакетном режиме.
- Обновлять расширения на нескольких сайтах одновременно
- Создание посадочные страницы.

Важно отметить, что сервер MCP не задумывался как функция, доступная только «супер-администраторам». Цель инициативы — создать решение, которое будет простым в настройке, маломощным и доступным для широкого круга пользователей.

В процессе разработки точка входа Joomla (аналогично Site, Administrator, Api, Cli), которая будет работать с Streamable HTTP, необходимым для MCP. Аутентификация пока что предполагается на токенах, но затем планируется создание универсального OAuth-сервера для Joomla.
Фактические возможности MCP — инструменты, ресурсы и подсказки — реализованы в виде плагинов для обеспечения расширяемости. Таким образом ожидаем, что и сторонние разработчики смогут создавать MCP-плагины для внедрения поддержки своих расширений Joomla для работы с ИИ.

@joomlafeed

Вышли релизы безопасности Joomla 6.0.4 и Joomla 5.4.4

Релиз безопасности Joomla 6.0.4 и Joomla 5.4.4

Проект Joomla! рад сообщить о выходе Joomla 6.0.4 и Joomla 5.4.4. Это релизы безопасности и исправления ошибок для серий 5.x и 6.x.

0 Пользователей и 1 Гость просматривают эту тему.
  • 1 Ответов
  • 522 Просмотров
*

Gleb72

  • Захожу иногда
  • 94
  • 0 / 0
Что прописать в.htaccess?
« : 14.02.2026, 21:57:52 »
Здравствуйте.
Что нужно прописать в .htaccess, если при переходе из меню попадаю на страницу со ссылкой такого вида
https://forkam.by/besplatnaya-doska-ob-yavlenij/ishchu-rabotu?_gl=1*6i5v64*_ga*MzkwNDk5NC4xNzY5NjMyOTIx*_ga_2HG8SMZ2WT*czE3NzEwOTM0MzEkbzM3JGcxJHQxNzcxMDkzNDM3JGo1NCRsMCRoMA..
*

Gleb72

  • Захожу иногда
  • 94
  • 0 / 0
Re: Что прописать в.htaccess?
« Ответ #1 : 14.02.2026, 22:04:41 »
Перенаправления 301 настроены, SEF включен.
htaccess такого вида:
##
# @package    Joomla
# @copyright  Copyright (C) 2005 - 2019 Open Source Matters. All rights reserved.
# @license    GNU General Public License version 2 or later; see LICENSE.txt
##

##
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!
#
# The line 'Options +FollowSymLinks' may cause problems with some server configurations.
# It is required for the use of mod_rewrite, but it may have already been set by your
# server administrator in a way that disallows changing it in this .htaccess file.
# If using it causes your site to produce an error, comment it out (add # to the
# beginning of the line), reload your site in your browser and test your SEF urls. If
# they work, then it has been set by your server administrator and you do not need to
# set it here.
##

## No directory listings
<IfModule autoindex>
  IndexIgnore *
</IfModule>

## Suppress mime type detection in browsers for unknown types
<IfModule mod_headers.c>
Header always set X-Content-Type-Options "nosniff"
</IfModule>

## Can be commented out if causes errors, see notes above.
Options +FollowSymlinks
Options -Indexes

## Mod_rewrite in use.

RewriteEngine On

## Begin - Rewrite rules to block out some common exploits.
# If you experience problems on your site then comment out the operations listed
# below by adding a # to the beginning of the line.
# This attempts to block the most common type of exploit `attempts` on Joomla!
#
# Block any script trying to base64_encode data within the URL.
# Block any script that includes a <script> tag in URL.
# Block any script trying to set a PHP GLOBALS variable via URL.
# Block any script trying to modify a _REQUEST variable via URL.
# Return 403 Forbidden header and show the content of the root home page
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule .* index.php [F]
#
RewriteRule ^([A-Za-z0-9-]+)/([^/]+)/(.*)/([0-9]+).html$ index.php?auto=$1&model=$2&state=$3&page=$4 [L]
RewriteRule ^([A-Za-z0-9-]+)/([^/]+)/(.*).html$ index.php?auto=$1&model=$2&state=$3 [L]
RewriteRule ^([A-Za-z0-9-]+)/([^/]+).html$ index.php?auto=$1&model=$2 [L]
RewriteRule ^([A-Za-z0-9-]+).html$ index.php?auto=$1 [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^/]+)/([^/]+)/([^/]+).html$ index.php?catalog=$1&webmaster=$2&file=$3 [L]
## End - Rewrite rules to block out some common exploits.

## Begin - Custom redirects
#
# If you need to redirect some pages, or set a canonical non-www to
# www redirect (or vice versa), place that code here. Ensure those
# redirects use the correct RewriteRule syntax and the [R=301,L] flags.
#
## End - Custom redirects

##
# Uncomment the following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root).
##

# RewriteBase /

## Begin - Joomla! core SEF Section.
#
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
#
# If the requested path and file is not /index.php and the request
# has not already been internally rewritten to the index.php script
# and the requested path and file doesn't directly match a physical file
# and the requested path and file doesn't directly match a physical folder
# internally rewrite the request to the index.php script
RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L]
#
## End - Joomla! core SEF Section.
php_value upload_max_filesize 250M
php_value post_max_size 250M
<IfModule mod_rewrite.c>
   Options +FollowSymLinks
   RewriteEngine On

   RewriteCond %{REQUEST_METHOD} =GET
   RewriteCond %{REQUEST_URI} ^(.*)/index.php$
   RewriteRule ^(.*)$ %1/ [R=301,L]

   RewriteCond %{REQUEST_URI} ^(.*)/index.htm$
   RewriteRule ^(.*)$ %1/ [R=301,L]

   RewriteCond %{REQUEST_URI} ^(.*)/index.html$
   RewriteRule ^(.*)$ %1/ [R=301,L]
</IfModule>
<ifModule mod_php.c>
  php_value upload_max_file_size 100000M
  php_value post_max_size 500M
  php_value   default_charset utf-8
  php_value   max_execution_time 200
</ifModule>
AddHandler application/x-httpd-php .html
AddHandler cgi-script .pl .py .jsp .asp .htm .shtml .sh .cgi
AddType application/x-javascript .js
AddType text/css .css
AddType text/xml .xml
AddType application/octet-stream .doc .mov .avi .pdf .xls
# ForceType application/x-httpd-php
<ifModule mod_deflate.c>
   AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/css text/javascript application/javascript application/x-javascript
</ifModule>
<IfModule mod_gzip.c>
   mod_gzip_on         Yes
   mod_gzip_dechunk    Yes
   mod_gzip_item_include file      \.(html?|txt|css|js|php|pl)$
   mod_gzip_item_include mime      ^text\.*
   mod_gzip_item_include mime      ^application/x-javascript.*
   mod_gzip_item_exclude mime      ^image\.*
   mod_gzip_item_exclude rspheader   ^Content-Encoding:.*gzip.*
</IfModule>
<ifModule mod_headers.c>
   #кэшировать HTML и htm файлы на один день
   <FilesMatch "\.(html|htm)$">
      Header set Cache-Control "max-age=43200"
   </FilesMatch>
   #кэшировать CSS, javascript и текстовые файлы на одну неделю
   <FilesMatch "\.(js|css|txt)$">
      Header set Cache-Control "max-age=604800"
   </FilesMatch>
   #кэшировать Flash и изображения на месяц
   <FilesMatch "\.(flv|swf|ico|gif|jpg|jpeg|png)$">
      Header set Cache-Control "max-age=2592000"
   </FilesMatch>
   #отключить кэширование
   <FilesMatch "\.(pl|php|cgi|spl|scgi|fcgi)$">
      Header unset Cache-Control
   </FilesMatch>
</IfModule>
<ifModule mod_expires.c>
   ExpiresActive On
   #по умолчанию кеш в 5 секунд
   ExpiresDefault "access plus 5 seconds"
   #кэшировать Flash и изображения на месяц
   ExpiresByType image/x-icon "access plus 2592000 seconds"
   ExpiresByType image/jpeg "access plus 2592000 seconds"
   ExpiresByType image/png "access plus 2592000 seconds"
   ExpiresByType image/gif "access plus 2592000 seconds"
   ExpiresByType application/x-shockwave-flash "access plus 2592000 seconds"
   #кэшировать CSS, javascript и текстовые файлы на одну неделю
   ExpiresByType text/css "access plus 604800 seconds"
   ExpiresByType text/javascript "access plus 604800 seconds"
   ExpiresByType application/javascript "access plus 604800 seconds"
   ExpiresByType application/x-javascript "access plus 604800 seconds"
   #кэшировать HTML и htm файлы на один день
   ExpiresByType text/html "access plus 43200 seconds"
   #кэшировать XML файлы на десять минут
   ExpiresByType application/xhtml+xml "access plus 600 seconds"
</ifModule>

RewriteEngine On
RewriteRule ^index.php/(.+)$ /$1 [R=301,L]
RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,L]

<FilesMatch "\.svg$">
  <IfModule mod_headers.c>
    Header always set Content-Security-Policy "script-src 'none'"
  </IfModule>
</FilesMatch>

## START JSPEED OPTIMIZATIONS ##
<IfModule mod_expires.c>
  ExpiresActive on

# Default
  ExpiresDefault "access plus 1 year"

# Application Cache
  ExpiresByType text/cache-manifest "access plus 0 seconds"

# HTML Document
  ExpiresByType text/html "access plus 0 seconds"

# Data documents
  ExpiresByType text/xml "access plus 0 seconds"
  ExpiresByType application/xml "access plus 0 seconds"
  ExpiresByType application/json "access plus 0 seconds"

# Feed XML
  ExpiresByType application/rss+xml "access plus 1 hour"
  ExpiresByType application/atom+xml "access plus 1 hour"

# Favicon
  ExpiresByType image/x-icon "access plus 1 week"

# Media: images, video, audio
  ExpiresByType image/gif "access plus 1 year"
  ExpiresByType image/png "access plus 1 year"
  ExpiresByType image/jpg "access plus 1 year"
  ExpiresByType image/jpeg "access plus 1 year"
  ExpiresByType image/webp "access plus 1 year"
  ExpiresByType video/ogg "access plus 1 year"
  ExpiresByType audio/ogg "access plus 1 year"
  ExpiresByType video/mp4 "access plus 1 year"
  ExpiresByType video/webm "access plus 1 year"

# X-Component files
  ExpiresByType text/x-component "access plus 1 year"

# Fonts
  ExpiresByType application/font-ttf "access plus 1 year"
  ExpiresByType font/opentype "access plus 1 year"
  ExpiresByType application/font-woff "access plus 1 year"
  ExpiresByType application/font-woff2 "access plus 1 year"
  ExpiresByType image/svg+xml "access plus 1 year"
  ExpiresByType application/vnd.ms-fontobject "access plus 1 year"

# CSS and JavaScript
  ExpiresByType text/css "access plus 1 year"
  ExpiresByType text/javascript "access plus 1 year"
  ExpiresByType application/javascript "access plus 1 year"

  <IfModule mod_headers.c>
    Header append Cache-Control "public"
    <FilesMatch ".(js|css|xml|gz|html)$">
       Header append Vary: Accept-Encoding
    </FilesMatch>
  </IfModule>

</IfModule>

<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE image/x-icon
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/font
AddOutputFilterByType DEFLATE application/font-truetype
AddOutputFilterByType DEFLATE application/font-ttf
AddOutputFilterByType DEFLATE application/font-otf
AddOutputFilterByType DEFLATE application/font-opentype
AddOutputFilterByType DEFLATE application/font-woff
AddOutputFilterByType DEFLATE application/font-woff2
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE font/ttf
AddOutputFilterByType DEFLATE font/otf
AddOutputFilterByType DEFLATE font/opentype
AddOutputFilterByType DEFLATE font/woff
AddOutputFilterByType DEFLATE font/woff2
# GZip Compression
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
</IfModule>
## END JSPEED OPTIMIZATIONS ##
Options +FollowSymLinks
   RewriteEngine On
    RewriteCond %{HTTP:X_FORWARDED_PROTO} !https [NC]
    RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
    RewriteRule ^templates\/your_template_folder/ - [L]
   
## I found this necessary for @fontface fonts
RewriteRule ^templates\/your_template_folder\/fonts/ - [L]
##Yoo Themes Widgetkit and Zoo will not display CSS styles or images correctly if the cache folder access is blocked
RewriteRule ^cache\/widgetkit/ - [L]
RewriteRule ^cache\/com_zoo/ - [L]
RewriteRule ^cache\/com_templates/ - [L]
RewriteRule ^cache\/template/ - [L]
RewriteRule ^cache\/plg_jch_optimize/ - [L]
RewriteCond %{HTTP_HOST} ^forkam\.by$ [OR]
RewriteCond %{HTTP_HOST} ^www\.forkam\.by$
RewriteRule ^component\/tags\/tag\/pakety$ "https\:\/\/www\.forkam\.by\/tseny\-na\-uslugi" [R=301,L]
RewriteCond %{HTTP_HOST} ^forkamby\.iron\.hostflyby\.net$ [OR]
RewriteCond %{HTTP_HOST} ^www\.forkamby\.iron\.hostflyby\.net$
RewriteRule ^(.*)$ "https\:\/\/www\.forkam\.by\/$1" [R=301,L]

RewriteCond %{HTTPS} !=on
RewriteRule^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]

RewriteCond %{HTTP_HOST} ^forkam\.by$ [NC]
RewriteRule ^(.*)$ https://www.forkam.by/$1 [R=301,L]
RewriteEngine On
RewriteCond %{HTTP_HOST} ^forkam.by
RewriteRule (.*) https://www.forkam.by/$1 [R=301,L]

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php74” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php74___lsphp .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

htaccess и перенаправление

Автор zotov24

Ответов: 28
Просмотров: 3368
Последний ответ 14.02.2026, 21:27:36
от Gleb72
Joomla 3.3.4 nginx и конфиг htaccess

Автор bagas

Ответов: 16
Просмотров: 5640
Последний ответ 29.03.2023, 12:33:18
от SolopoV
Убрать слеш на конце без.htaccess

Автор stardel

Ответов: 6
Просмотров: 4192
Последний ответ 26.01.2022, 20:05:09
от SolopoV
Хочу прописать для таблицы шрифт и размер, но почему-то ошибка rbrace

Автор polezniy

Ответов: 2
Просмотров: 830
Последний ответ 24.10.2021, 19:05:10
от polezniy
Правильный ли.htaccess и robots от дублей

Автор ALEXRAW

Ответов: 5
Просмотров: 1648
Последний ответ 03.05.2021, 21:01:43
от gartes