-
AuthorPosts
-
Aratype Friend
Aratype
- Join date:
- August 2007
- Posts:
- 797
- Downloads:
- 41
- Uploads:
- 60
- Thanks:
- 194
- Thanked:
- 98 times in 6 posts
February 26, 2014 at 11:33 pm #195266I noticed even in your demo that article’s title has a number before it. Can I get ride off this number or it is mandatory to have it?
Thanking you in advance.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
February 27, 2014 at 11:11 am #524621Please let me know where I can see it. Any screenshot will be helpful as well.
Aratype FriendAratype
- Join date:
- August 2007
- Posts:
- 797
- Downloads:
- 41
- Uploads:
- 60
- Thanks:
- 194
- Thanked:
- 98 times in 6 posts
February 28, 2014 at 8:35 am #524740Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 4, 2014 at 8:10 am #525209<em>@aratype 413885 wrote:</em><blockquote>From your demo… You see 159 “159-paris-hilton-and-christina”
</blockquote>
That means you wish to remove article id from url, this solution works perfectly on Joomla 3.x.
Open the “components/com_content/router.php“ file
Step 1:
Replace:
$advanced = $params->get(‘sef_advanced_link’, 0);With:
$advanced = $params->get(‘sef_advanced_link’, 1);Step 2
Change:
->where($db->quoteName(‘alias’) . ‘ = ‘ . $db->quote($db->quote($segment)));
To:
->where($db->quoteName(‘alias’) . ‘ = ‘ . $db->quote($segment));becino Friendbecino
- Join date:
- October 2014
- Posts:
- 24
- Downloads:
- 0
- Uploads:
- 11
- Thanks:
- 9
- Thanked:
- 1 times in 1 posts
November 4, 2014 at 5:39 pm #554149hi bro’s ….. thanks for help writitng this ….. 😀
i have a joomla 3.3.6 and i dont have this line
where($db->quoteName(‘alias’) . ‘ = ‘ . $db->quote($db->quote($segment)));but i change only the firt line two times in file ……..
lines 38 and 294
and all works fine !!!! thanks!!!!
1 user says Thank You to becino for this useful post
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
November 5, 2014 at 2:53 am #554187Hi there,
Just want to give some more information:
– Should not remove id. It would cause performance issue.
– Should not do core hacking
– You can try to use 3rd SEF extension like sh404SEFThank you,
Viet VuAuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 6 replies, has 4 voices, and was last updated by jooservices 10 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Why article’s title includes a number?
Viewing 6 posts - 1 through 6 (of 6 total)