Title: Theme 403 Forbidden
Last modified: January 4, 2020

---

# Theme 403 Forbidden

 *  [alivion](https://wordpress.org/support/users/alivion/)
 * (@alivion)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/theme-403-forbidden/)
 * When i try to install a theme all works fine, but when i go to my installed themes
   it is
    isnt showing up. i tried setting my permissions to 777 but that didnt 
   work, and when i try to go to the theme in my browser (with [site]/wp-content/
   themes) i get the error 403 Forbidden You don’t have permission to access this
   resource. But i tried every permission setting in my FTP but nothing happend.
 * I followed this tutorial for security [https://www.digitalocean.com/community/tutorials/how-to-configure-secure-updates-and-installations-in-wordpress-on-ubuntu](https://www.digitalocean.com/community/tutorials/how-to-configure-secure-updates-and-installations-in-wordpress-on-ubuntu)
    -  This topic was modified 6 years, 4 months ago by [alivion](https://wordpress.org/support/users/alivion/).

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

 *  Thread Starter [alivion](https://wordpress.org/support/users/alivion/)
 * (@alivion)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/theme-403-forbidden/#post-12291173)
 * Here are some screenshots:
    [https://prnt.sc/qj4w5j](https://prnt.sc/qj4w5j) 
   [https://prnt.sc/qj4wej](https://prnt.sc/qj4wej)
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/theme-403-forbidden/#post-12292042)
 * technically it must make requests to a file, is index.php of the theme twentytwenty
   visible in your browser?
    your guide indicates read and write permissions. Read
   only
 * > -rw-r–r– 1 wp-user wp-user 177 Nov 18 15:21 index.php
 * You have Read and Write -rw-rw-r–
    Only example , not edit any configuration 
   [https://www.a2hosting.com/kb/developer-corner/apache-web-server/directory-index-listings](https://www.a2hosting.com/kb/developer-corner/apache-web-server/directory-index-listings)
 * you just have to enable [directoryindex](https://httpd.apache.org/docs/2.4/mod/mod_dir.html#directoryindex)
 *  Thread Starter [alivion](https://wordpress.org/support/users/alivion/)
 * (@alivion)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/theme-403-forbidden/#post-12292274)
 * [https://prnt.sc/qja7zv](https://prnt.sc/qja7zv)
    I get the same error as before
   i tried to add Options +Indexes to my .htaccess file but that didnt work. My .
   htaccess file : [https://prnt.sc/qja8i6](https://prnt.sc/qja8i6) And i was looking
   at the link you sent ([https://httpd.apache.org/docs/2.4/mod/mod_dir.html#directoryindex](https://httpd.apache.org/docs/2.4/mod/mod_dir.html#directoryindex))
   But what i get from that is that i need to set the DirectoryIndex to where my
   index.php file is but it does not say in wich config i need to add that line.
    -  This reply was modified 6 years, 4 months ago by [alivion](https://wordpress.org/support/users/alivion/).
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/theme-403-forbidden/#post-12292401)
 * Directoryindex means when you connect remotely to a folder he moves you to the
   file you have set.
    Search with browser, directoryindex [https://help.ubuntu.com/lts/serverguide/httpd.html](https://help.ubuntu.com/lts/serverguide/httpd.html)(
   for ubuntu and apache 2)
 *  Thread Starter [alivion](https://wordpress.org/support/users/alivion/)
 * (@alivion)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/theme-403-forbidden/#post-12292424)
 * Ah okay but do you know where i need to add this code because it does not say
   where.
 *     ```
       <Directory "/twentytwenty">
           DirectoryIndex index.php
       </Directory>
       ```
   
 *  [autotutorial](https://wordpress.org/support/users/autotutorial/)
 * (@autotutorial)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/theme-403-forbidden/#post-12292551)
 * [https://wordpress.org/support/topic/theme-403-forbidden/#post-12292401](https://wordpress.org/support/topic/theme-403-forbidden/#post-12292401)
 * > The DirectoryIndex is the default page served by the server when a user requests
   > an index of a directory by specifying a forward slash (/) at the end of the
   > directory name.
   > For example, when a user requests the page [http://www.example.com/this_directory/](http://www.example.com/this_directory/),
   > he or she will get either the DirectoryIndex page if it exists, a server-generated
   > directory list if it does not and the Indexes option is specified, or a Permission
   > Denied page if neither is true. The server will try to find one of the files
   > listed in the DirectoryIndex directive and will return the first one it finds.
   > If it does not find any of these files and if Options Indexes is set for that
   > directory, the server will generate and return a list, in HTML format, of the
   > subdirectories and files in the directory. The default value, found in /etc/
   > apache2/mods-available/dir.conf is “index.html index.cgi index.pl index.php
   > index.xhtml index.htm”. Thus, if Apache2 finds a file in a requested directory
   > matching any of these names, the first will be displayed.
 * [https://httpd.apache.org/docs/2.4/sections.html#file-and-web](https://httpd.apache.org/docs/2.4/sections.html#file-and-web)
   
   server config (httpd.conf, htaccess), virtual host [https://httpd.apache.org/docs/2.4/mod/core.html#directory](https://httpd.apache.org/docs/2.4/mod/core.html#directory)
 *  Thread Starter [alivion](https://wordpress.org/support/users/alivion/)
 * (@alivion)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/theme-403-forbidden/#post-12293238)
 * Yeh okay but what do i need to change then so that my theme starts working again
   because nothing is wrong with anything else except my themes.
 * I’m pretty a noob to this so if you could give me a dummy explanation.

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

The topic ‘Theme 403 Forbidden’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 2 participants
 * Last reply from: [alivion](https://wordpress.org/support/users/alivion/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/theme-403-forbidden/#post-12293238)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
