Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

Wordpress pretty urls AND Lighttpd?

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Watch

risoknop

Established Member
Impact
2
Currently my permalinks look like this:

/index.php/%postname%/

Is there any way to rewrite them to be more seo friendly? Like this:

/%postname%/

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.

:(
 

Attachments

  • lighttpd.txt
    11.8 KB · Views: 76
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
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...
 
0
Close
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
 
0
Close
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)... ;)...
 
0
Close
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

A browser tab with a favicon next to the page title
Search members
You can now search for members by name, company, location and more. Open the search at the top of any page and choose Members. You will...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back