Rewriting permalinks with custom posts

Oh dear, turns out I need to touch up on my regex, the second match only matches one character. It ought to be:

'([\w]{2})/the-wines/([^/]+)/?' => 'index.php?pagename=$matches[2]&lang=$matches[1]'

Leave a Comment

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