Remove international characters from slug – Almost done – Bit help

Following on from my comment on your question. The solution would be to hook your own filter onto the same functions sanitize_title_with_dashes does, in this case i think you’re just aiming to hook onto sanitize_title as is done with sanitize_title_with_dashes. Simply ensure you hook on after sanitize_title_with_dashes, which is hooked on at the default priority … Read more

Page URL not working due to physical directory

This isn’t really content negotiation at all, since there is an actual matching directory. Your server will not reach WordPress to process the URI if it encounters a directory first. You will need to either rename your directory or change the permalink for the page in order to have both working.

Permalinks and page store

When you enable permalinks in WordPress, it creates an htaccess file in whatever directory it’s located in. Since WordPress is installed in the root directory, there will be an .htaccess file there that enabled permalinks. It is possible that the rewrite rules that WordPress is producing are interfering with your install of ecommerce. If ecommerce … Read more

Change author permalink using htaccess?

it’s simpler to do this via your theme’s functions.php or a plugin rather than .htaccess: function wpse31040_author_rewrite(){ add_rewrite_rule( ‘author/([0-9]+)/?$’, ‘index.php?author=$matches[1]’, ‘top’ ); } add_action( ‘init’, ‘wpse31040_author_rewrite’ ); make sure to visit the permalinks settings page after adding this to flush rewrite rules.

Shortcodes not working

This is how your shortcode should be set up: function short_birthday( $atts, $content = NULL ) { extract( shortcode_atts( array( ‘year’ => ‘default value’ ), $atts ) ); list( $Y, $m, $d ) = explode( “-“, $year ); $data = date( “md” ) < $m.$d ? date( “Y” )-$Y-1 : date( “Y” )-$Y; return $data; … Read more

Problem with special character WordPress

There is nothing you can do, the % symbol is not a neutral character and whatever 2 characters immediatly follow it are used to represent a character. This is called percent encoding. http://en.wikipedia.org/wiki/Percent-encoding For example, to encode a % you would use %25. Thus the answer is: No, it is not possible to fix this … Read more

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