RewriteRule ^blog/tag/([^/.]+)/?$ index.php?id=blog&tag=$1 [L]
RewriteRule ^blog/post/([^/.]+)/?$ index.php?id=blog&post=$1 [L]
RewriteRule ^blog/page/([^/.]+)/?$ index.php?id=blog&page=$1 [L]
RewriteRule ^blog/archive/([^/.]+)/?$ index.php?id=blog&archive=$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(es|en)/(.*?/)?([A-Za-z0-9_-]+)/?$ index.php?id=$3&lang=$1 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]
I found a conflict between using language codes in the URL with the I18N plugin and using clean URLS with the news manager. The URL for the news manager includes the %language% instead of the particular en/es/de ect. I guess this would involve modifying the news manager .htaccess rules too? I'm afraid to screw up my rewrite rules.
By the way Connie, the word "guys" in colloquial English refers to both guys and girls kind of like in Spanish a noun keeps the masculine form when referring to a group of guys and girls and only uses the feminine form when referring only to one or more girls exclusively. The idiosyncrasies of language are never ending! 0_0
RewriteRule ^blog/post/([^/.]+)/?$ index.php?id=blog&post=$1 [L]
RewriteRule ^blog/page/([^/.]+)/?$ index.php?id=blog&page=$1 [L]
RewriteRule ^blog/archive/([^/.]+)/?$ index.php?id=blog&archive=$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(es|en)/(.*?/)?([A-Za-z0-9_-]+)/?$ index.php?id=$3&lang=$1 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]
I found a conflict between using language codes in the URL with the I18N plugin and using clean URLS with the news manager. The URL for the news manager includes the %language% instead of the particular en/es/de ect. I guess this would involve modifying the news manager .htaccess rules too? I'm afraid to screw up my rewrite rules.
By the way Connie, the word "guys" in colloquial English refers to both guys and girls kind of like in Spanish a noun keeps the masculine form when referring to a group of guys and girls and only uses the feminine form when referring only to one or more girls exclusively. The idiosyncrasies of language are never ending! 0_0
Todo arde si le aplicas la chispa adecuada.