Currently my permalinks look like this: Is there any way to rewrite them to be more seo friendly? Like this: I've already tried dozens of codes I've googled but none of them has worked so far. I think that this part should be somehow edited but I don't know how: My complete lighttpd.conf file is in the attachment.
$HTTP["host"] =~ "{yourdomain}" { var.app = "{yourdomain}" accesslog.filename = base + "/logs/" + app + ".access.log" server.errorlog = base + "/logs/" + app + ".error.log" load php app url.rewrite = ( "^/(wp-.+).*/?" => "$0", "^/(sitemap.xml)" => "$0", "^/(xmlrpc.php)" => "$0", "^/(.+)/?$" => "/index.php/$1" ) } Code (markup): This is the rewrite rule that works with wordpress for lighttpd.
Thanks. Few quick questions: Should I put my domain name (i.e. mydomain.com) instead of "yourdomain"? Do I need to do something more than just copy this to lighttpd.conf file? Thanks.