I need to remove the category name from my SEF URL - Joomla! Forum - community, help and support
hi,
i have activated mod_rewrite in server , sef urls turned on
i need article urls without category name , out id number
http://www.bhartiyacity.contact-us-now.com
this website
please help
i have activated mod_rewrite in server , sef urls turned on
i need article urls without category name , out id number
http://www.bhartiyacity.contact-us-now.com
this website
please help
i have tried
step 1
joomla 3.0.2: way got working. if find way, please let know!
edit “components/com_content/router.php“, continue on step 2.
remember, you’ll have re-do step every time update joomla.
step 2 (there 2 places need change, 1 near top, 1 in middle)
replace this:
$advanced = $params->get('sef_advanced_link', 0);
with this:
$advanced = $params->get('sef_advanced_link', 1);
step 3
you want edit router.php file:
- from: ->where($db->quotename(‘alias’) . ‘ = ‘ . $db->quote($db->quote($segment)));
- to: ->where($db->quotename(‘alias’) . ‘ = ‘ . $db->quote($segment));
then showing 404 not found error
step 1
joomla 3.0.2: way got working. if find way, please let know!
edit “components/com_content/router.php“, continue on step 2.
remember, you’ll have re-do step every time update joomla.
step 2 (there 2 places need change, 1 near top, 1 in middle)
replace this:
$advanced = $params->get('sef_advanced_link', 0);
with this:
$advanced = $params->get('sef_advanced_link', 1);
step 3
you want edit router.php file:
- from: ->where($db->quotename(‘alias’) . ‘ = ‘ . $db->quote($db->quote($segment)));
- to: ->where($db->quotename(‘alias’) . ‘ = ‘ . $db->quote($segment));
then showing 404 not found error
Comments
Post a Comment