Title: Permalink not working
Last modified: August 19, 2016

---

# Permalink not working

 *  [daiver](https://wordpress.org/support/users/daiver/)
 * (@daiver)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/permalink-not-working-3/)
 * I just installed the new wordpress in my server and it is running fine except
   for permalinks.
 * I checked the custom permalink structure field and just went with /%postname%/,
   however it 404s me every time.
 * There is no .htaccess created in the dir and if I create one and assign 777 permissions
   to it, WP won’t write to it.
 * What’s wrong and how can I solve it?
 * Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [WebDev WaxLotus LLC](https://wordpress.org/support/users/musnake/)
 * (@musnake)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/permalink-not-working-3/#post-889162)
 * Are you on a linux or windows server?
 * Never set a .htaccess to anything higher than 660 and even then, for the shortest
   time possible…
 * [http://codex.wordpress.org/Using_Permalinks#Using_only_.25postname.25](http://codex.wordpress.org/Using_Permalinks#Using_only_.25postname.25)
 *  Thread Starter [daiver](https://wordpress.org/support/users/daiver/)
 * (@daiver)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/permalink-not-working-3/#post-889178)
 * Damn, I’m using lighttpd. =(
 * Oh well, back to the old VPS with Apache…
 *  Thread Starter [daiver](https://wordpress.org/support/users/daiver/)
 * (@daiver)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/permalink-not-working-3/#post-889344)
 * I still have this problem and I would really like to fix it.
 * I’m willing to pay someone to teach me how it is done so that I can do it for
   future installations.
 * Please contact me: daiver – gmail – com
 *  [buckdaddy](https://wordpress.org/support/users/buckdaddy/)
 * (@buckdaddy)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/permalink-not-working-3/#post-889345)
 * I am having similar problems
 *  [med123](https://wordpress.org/support/users/med123/)
 * (@med123)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/permalink-not-working-3/#post-889346)
 * Via an ftp program login to your server. In the root folder you should see a 
   file named .htaccess
 * It may be easier if you have cpanel installed: yourwebsite.com/cpanel
 * If you do go to File manager and tick the box that says show hidden files (.htaccess
   should show up now).
 * You can edit the .htaccess file from within File manager by clicking on the edit
   link near the top. Otherwise you can use notepad (but google htaccess and notepad–
   I think you have to upload it in a certain way). Once you have it open add the
   line(s) of code that wordpress suggested when you edited the permalinks setting.
 * You’ll realise how simple it is once you get through it the first time. I hope
   that helps!
 *  [buckdaddy](https://wordpress.org/support/users/buckdaddy/)
 * (@buckdaddy)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/permalink-not-working-3/#post-889347)
 * I can find the htaccess but have no idea what code to put in there
 *  Thread Starter [daiver](https://wordpress.org/support/users/daiver/)
 * (@daiver)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/permalink-not-working-3/#post-889348)
 * The root of the problem is that I’m using Lighttpd.
 * It is what comes with my VPS and changing it is a hassle.
 *  [daveabrahams](https://wordpress.org/support/users/daveabrahams/)
 * (@daveabrahams)
 * [16 years, 12 months ago](https://wordpress.org/support/topic/permalink-not-working-3/#post-889394)
 * The lighttpd fix is easy: [http://r00tshell.com/archives/2007/05/16/wordpress-lighttpd-permalinks-without-rewrite/](http://r00tshell.com/archives/2007/05/16/wordpress-lighttpd-permalinks-without-rewrite/)
 *  [vikasnarayan](https://wordpress.org/support/users/vikasnarayan/)
 * (@vikasnarayan)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/permalink-not-working-3/#post-889401)
 * Hi Guys . If nothing works try this …..
    you need to turn off magic_quotes_sybase
   For doing so open your .htaccess file and add php_flag magic_quotes_sybase Off
 * Hope it works!!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Permalink not working’ is closed to new replies.

## Tags

 * [permalinks](https://wordpress.org/support/topic-tag/permalinks/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 9 replies
 * 6 participants
 * Last reply from: [vikasnarayan](https://wordpress.org/support/users/vikasnarayan/)
 * Last activity: [16 years, 10 months ago](https://wordpress.org/support/topic/permalink-not-working-3/#post-889401)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
