Assistance with Rewrite rule

Discussion in 'Apache' started by koyan, Oct 9, 2009.

  1. #1
    Hallo there,

    I recently migrated my site from joomla 1.0 to joomla 1.5.

    I had some SEO rewritting component before, but now I am using joomlas core url rewritting. So some of my urls have changed.

    My old urls were like:
    mydomain/component/option,com_kunena/Itemid,100/func,view/catid,22/id,130641/

    My new urls are different:
    mydomain/forum/22-sometext/130641-someothertext?#130641

    Also, this works:
    index.php?option=com_kunena&func=view&catid=22&id=130641


    My .htaccess already has some data (from joomla) which I copy bellow.

    ########## Begin 3rd Party or Core SEF Section
    #
    RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
    RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule (.*) index.php
    #
    ########## End 3rd Party or Core SEF Section



    I have tried several things, but none worked. How can I do it?
    Anyone has any idea?

    Thanks,
    K.
     
    koyan, Oct 9, 2009 IP