с помощью htaccess
CODE (htmlphp):
скопировать код в буфер обмена
скопировать код в буфер обмена
- RewriteRule ^news/* /templates/plugins/news/index.php [L]
- RewriteRule ^test/* /templates/plugins/text/index.php [L]