![]() | |||||||
Wordpress pretty urls AND Lighttpd? 1 Attachment(s) Currently my permalinks look like this: Is there any way to rewrite them to be more seo friendly? Like this: Anybody knows how could I achieve that? I'm using Lighttpd instead of Apache at my VPS (in case of apache it would be a simple mod_rewrite). I've already tried dozens of googled lighttpd.conf tweaks but none of them worked at my blog. I'm really curious about this because many blogs are successfuly running on Lighttpd and seo friendly urls are no problem for them. My complete lighttpd.conf file is in the attachment if needed. :( |
Yes, there is. You should rewrite your .htaccess file to look like this: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /yourbase/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /yourbase/index.php [L] </IfModule> # END WordPress Oh sorry, I didn't see the lighttpd... |
no need for any of that....go into wordpress panel....options->permalinks->custom add whatever custom permalink structure u want...:) tony this is what i use..... /%postname%.html |
Thanks for help guys but you probably didn't notice that I'm using lighttpd webserver, so .htaccess file doesn't work as well as mod_rewrite... Custom permalinks work also only with Apache. Anyways I've found an easy workaround. I had to edit the config files for lighttpd at server root (/etc/lighttpd/lighttpd.conf)... ;)... |
| All times are GMT -7. The time now is 03:09 AM. |
Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0