Is it possible to add a site-wide add_rewrite_rule for a multilingual site?

I don’t know if this can be done at once —using maybe an htaccess rule–. But, I think rebuilding the existing rewrite rules instead of adding new ones can do the trick. There are filters available for each group of rewrite rules: post_rewrite_rules date_rewrite_rules comments_rewrite_rules search_rewrite_rules author_rewrite_rules page_rewrite_rules {post_type}_rewrite_rules {taxonomy}_rewrite_rules By using ‘post_rewrite_rules’ filter we … Read more

WP E-commerce wpml translation or multilingual

Yes, it is extremely frustrating to find a plugin that works without errors and is still customisable. I have tried the following: Shopp – www.shopplugin.net (very good, but will only support WPML in the next update – unknown release date) Marketpress – http://wordpress.org/extend/plugins/wordpress-ecommerce/ (workes well, but is pretty limited, not sure if the paid version … Read more

is_front_page breaks with url parameters generated by a plugin

I’m not sure if lang is a reserved/used query variable in WordPress, but if it’s not, then adding might help. Use a filter on query_vars like this: function my_query_vars( $vars ) { $vars[] = ‘lang’; return $vars; } add_filter( ‘query_vars’, ‘my_query_vars’ ); Although WordPress will now know about the language query variable, I’m not sure … Read more

WordPress page with non-English text

In your wp-config.php set the encoding constants correctly: define( ‘DB_CHARSET’, ‘utf8’ ); define( ‘DB_COLLATE’, ‘utf8_general_ci’ ); And add an accept-charset attribute to your form: <form name=”frm” method=”post” action=”<?php bloginfo(‘url’); ?>/message/” accept-charset=”utf8″ >

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)