[advanced search]
Results from the most recent live auction are here.
17 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Web Hosting Discussion
User Name
Password

The Legion Host - Quality Hosting
Forum Sponsor
Shared and Reseller hosting. cPanel, Daily Off-Site Backups, Quality Support and more. Hosting from $5 per month!

Old 05-12-2008, 03:47 PM   · #1
risoknop
NamePros Member
 
Trader Rating: (3)
Join Date: Apr 2008
Posts: 63
NP$: 0.00 (Donate)
risoknop is on a distinguished road
Wordpress pretty urls AND Lighttpd?

Currently my permalinks look like this:

Quote:
/index.php/%postname%/



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

Quote:
/%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.



Please register or log-in into NamePros to hide ads
Attached Files
File Type: txt lighttpd.txt (11.8 KB, 0 views)
risoknop is offline   Reply With Quote
Old 05-13-2008, 08:41 AM   · #2
rafaelrls
NamePros Member
 
rafaelrls's Avatar
 
Location: me = new (live(in.paradise())
Trader Rating: (0)
Join Date: Jan 2008
Posts: 153
NP$: 0.00 (Donate)
rafaelrls is an unknown quantity at this point
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...
rafaelrls is offline   Reply With Quote
Old 05-13-2008, 09:22 AM   · #3
tonyfloyd
NamePros Regular
 
tonyfloyd's Avatar
 
Location: New York
Trader Rating: (7)
Join Date: Jan 2008
Posts: 450
NP$: 1742.00 (Donate)
tonyfloyd is on a distinguished road
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
tonyfloyd is offline   Reply With Quote
Old 05-13-2008, 11:18 AM   · #4
risoknop
NamePros Member
 
Trader Rating: (3)
Join Date: Apr 2008
Posts: 63
NP$: 0.00 (Donate)
risoknop is on a distinguished road
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)... ...
risoknop is offline   Reply With Quote
Reply

NamePros is a revenue sharing forum.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


Site Sponsors
Proof is in the Parking Proof is in the Parking http://www.dnfinder.com
Advertise your business at NamePros
All times are GMT -7. The time now is 11:46 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0