Answer the question
In order to leave comments, you need to log in
Why does it give a 404 error on a certain category of pages when you turn on SEF Advanced Mode?
Good afternoon!
Created a new category of pages "Our services" on the site. I use the module to display a list of links to pages with services on the main page. The category had links with id at the beginning. Removed them by putting code in the config.xml file
<field name="sef_advanced_link" type="radio" default="1" label="SefAdvancedMode" description="Remove Item ID from Content URL?">
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
Answer the question
In order to leave comments, you need to log in
There is another hack, it is for 3.1, but maybe it was formed somewhere else.
в файле components/com_content/router.php
на примерно 377 строке:
код
->where($db->qu oteName('alias' ). ' = ' . $db->quote($db- >quote($seg ment)));
надо заменить на
->where($db->qu oteName('alias' ). ' = ' . $db->quote($seg ment) );
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question