Title: 403 .htaccess problem
Last modified: August 19, 2016

---

# 403 .htaccess problem

 *  [Gizoku](https://wordpress.org/support/users/gizoku/)
 * (@gizoku)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/403-htaccess-problem/)
 * Hi,
 * I’m completely new to all of this and after getting wordpress installed, all 
   of my pages give 403 errors. After doing a bit of searching around I learned 
   about .htaccess and found mine, here it is:
 * > Options +Indexes
   >  Satisfy any Order Deny,Allow Allow from 172.17.0.0/16 Allow
   > from 212.227.35.64/27 Allow from 212.227.34.151 Allow from 212.227.34.190 Deny
   > from all RemoveType .html .gif AuthType Basic AuthName “Access for /logs” AuthUserFile/
   > kunden/homepages/7/d315386974/htpasswd require user u57228931
 * Don’t ask me why, but my gut feeling was “Deny from all” was the problem. So 
   when I tried changing the permission on my .htaccess file from 664 to 775, filezilla
   throws out this message:
 * Status: Set permissions of ‘/logs/.htaccess’ to ‘775’
    Command: SITE CHMOD 775.
   htaccess Response: 550 CHMOD 775 .htaccess: Operation not permitted
 * So I’m kind of at a loss for what to do now… none of the pages on my site are
   working and this seems like the only solution, but I don’t have permission to
   edit my .htaccess file, is this something to do with my host?
 * I’d much appreciate if someone could shed some light on this.
 * Thanks!

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

 *  [Riversatile](https://wordpress.org/support/users/riversatile/)
 * (@riversatile)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/403-htaccess-problem/#post-1652263)
 * OK…
 * create a copy of your **.htaccess** file, then replace all the lines by :
 * > Order allow,deny
   >  allow from all
 * Then, save this file as **.htaccess** and **upload it / overwrite it** on your
   server. And you’ll see what’s happen. **This can’t impact your server.**
 *  Thread Starter [Gizoku](https://wordpress.org/support/users/gizoku/)
 * (@gizoku)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/403-htaccess-problem/#post-1652371)
 * I didn’t have permission to change/edit the .htaccess file on my sever, even 
   when I changed the permissions. I got that message I posted from the log in filezilla.
   I’m thinking it’s something to do with my host?
 *  Thread Starter [Gizoku](https://wordpress.org/support/users/gizoku/)
 * (@gizoku)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/403-htaccess-problem/#post-1652465)
 * Basically, I can’t change the file permission on .htaccess from 664. My web host
   is 1&1 UK. The .htaccess file is currently in a folder named ‘logs’ which is 
   in the root directory. This is the file I don’t have access to change. I tried
   creating a new .htaccess file in the root directory containing what you posted
   but I still get 403 errors.
 *  [jpower38](https://wordpress.org/support/users/jpower38/)
 * (@jpower38)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/403-htaccess-problem/#post-1652666)
 * I had the same problem, but was able to copy the .htaccess file onto my hard 
   drive, made the necessary adjustments (wordpress gave me a code to insert into
   the file) and saved it. I then deleted the .htaccess file in my root directory(
   because it wouldn’t let me edit or overwrite) and uploaded the copy to replace
   it. This seemed to do the trick, my pages are linking nicely.

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

The topic ‘403 .htaccess problem’ is closed to new replies.

## Tags

 * [edit](https://wordpress.org/support/topic-tag/edit/)
 * [forbidden](https://wordpress.org/support/topic-tag/forbidden/)
 * [host](https://wordpress.org/support/topic-tag/host/)
 * [htaccess](https://wordpress.org/support/topic-tag/htaccess/)
 * [permission](https://wordpress.org/support/topic-tag/permission/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [jpower38](https://wordpress.org/support/users/jpower38/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/403-htaccess-problem/#post-1652666)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
