Title: Rewriting URLs in Joomla Component
Tags: php;.htaccess;mod-rewrite;joomla
Question: I have a trouble in mod_rewrite redirect. I want to create friendly SEO links for my component. Now linkk looks like that:
http://www.mytestsite.com/index.php?option=com_mycomponent&amp;task=show_posts&amp;evid=11&amp;Itemid=200&amp;year=2013&amp;month=10&amp;day=15&amp;title=this-is-really-test-article-here&amp;uid=43840300d283724e77d5f33f19780f36&amp;catids=15|16|17|18&amp;filter_reset=1
I want to have:
http://www.mytestsite.com/posts/200-this-is-really-test-article-here
where first part of URL is itemid (200), and after article title.
How can i do that?
Comment: Have a read of this: http://docs.joomla.org/Supporting_SEF_URLs_in_your_component


Here is another answer: Do make sure that you have a .htaccess file in the root of your web server home directory.
Also make sure that adequate file permissions are set, so that php/joomla can write to .htaccess and add mod_rewrite rules. I would recommend setting .htaccess file permission to 644. If that doesn't work, come back and ask again!
For Search Engine Keyword selection, this tutorial should be sufficient (skip to step 3): http://moz.com/blog/seo-your-joomla-website-in-11-super-easy-steps
A useful link to test if mod_rewrite is enabled on your webserver: http://docs.joomla.org/How_to_check_if_mod_rewrite_is_enabled_on_your_server

Here is another answer: In Joomla, this is done in the administrator control panel by editing the site configuration (Site...Global Configuration). Click on the SEO tab and check the desired options, save and you're done.
If you need more options, try installing an SEO extension

{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 2, 'CommentCount': 1, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2013:00:11/18/13', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<php><.htaccess><mod-rewrite><joomla>', 'Title': 'Rewriting URLs in Joomla Component', 'ViewCount': 124, 'id': 20051573, 'user_AboutMe': None, 'user_AccountId': 3602218.0, 'user_DisplayName': 'user3005293', 'user_Reputation': 1.0, 'user_Views': 0.0, 'user_id': 3005293.0}}