View Single Post

  #6 (permalink)  
Old 05-31-2007, 11:37 AM
nixcraft's Avatar
nixcraft nixcraft is offline
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,060
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Hi,

For domain.com/index.php/slug/.. you don't need url.rewrite it is done by WP itself. If you need domain.com/slug/ (w/o index.php) you need mod_rewrite. Here is what I use for my own blog:
For wp seo clean urls:
Code:
server.error-handler-404 = "/index.php?error=404"
To redirect cyberciti.biz/urls/... to www.cyberciti.biz/url use as follows (replace it with your own domain name)

Code:
$HTTP["host"] =~ "^cyberciti\.biz$" { url.redirect = ( "^/(.*)" => "http://www.cyberciti.biz/$1" ) }
Let me know if you need any help
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote