What's New
You must be logged in to reply to this topic.
Tagged: SEO, Underscore
Hi,
Yes, it requires to change two files, see attached screenshots.
1. Add the following code to /classes/Dispatcher.php:
'module-stblog-article' => array(
'controller' => 'article',
'rule' => 'blog/{id_st_blog}-{rewrite}.html',
'keywords' => array(
'id_st_blog' => array('regexp' => '[0-9]+', 'param' => 'id_st_blog'),
'rewrite' => array('regexp' => '[_a-zA-Z0-9-\pL]*'),
),
'params' => array(
'fc' => 'module',
'module' => 'stblog',
)
),
2. change {id_st_blog}_{rewrite}.html
to {id_st_blog}-{rewrite}.html
in the /modules/stblog/stblog.php
Best regards.
You must be logged in to reply to this topic.