# Can't Upload wordpress theme

**URL:** <https://forum.infinityfree.com/t/cant-upload-wordpress-theme/56427>\
**Category:** Hosting Support\
**Created:** [January 2, 2022, 4:50pm UTC](https://forum.infinityfree.com/t/cant-upload-wordpress-theme/56427 "2022-01-02T16:50:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon20694](https://forum.infinityfree.com/letter_avatar/anon20694/32/6_22734026db12803ebb3e059622ac3534.png) [@anon20694](https://forum.infinityfree.com/u/anon20694)\
**Post date:** [January 2, 2022, 4:50pm UTC](https://forum.infinityfree.com/t/cant-upload-wordpress-theme/56427/1 "2022-01-02T16:50:33Z")

</div>

Hello Everyone,  
Today, I was trying to upload 2 WordPress themes from the wordpress admin panel. 1st theme size is 5.61ms and another theme size is 8.30. But unfortunately, I am not able to upload it. Every time I try to do so, I get a 505 Bad gateway error as shown in the image below. Please help me solve this out.

 ![Screenshot](https://forum-cdn.infinityfree.net/original/3X/8/4/84ed05fc7ad6dc47fd0eecfa63a7180307bc3000.png)

---

<div class="post-metadata">

**Author:** ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)\
**Post date:** [January 2, 2022, 5:11pm UTC](https://forum.infinityfree.com/t/cant-upload-wordpress-theme/56427/2 "2022-01-02T17:11:23Z")

</div>

Try this.

Extract the theme zip file locally and upload the extracted files via ftp (filezilla) to the theme directory

---

<div class="post-metadata">

**Author:** ![anon20694](https://forum.infinityfree.com/letter_avatar/anon20694/32/6_22734026db12803ebb3e059622ac3534.png) [@anon20694](https://forum.infinityfree.com/u/anon20694)\
**Post date:** [January 2, 2022, 5:54pm UTC](https://forum.infinityfree.com/t/cant-upload-wordpress-theme/56427/3 "2022-01-02T17:54:56Z")

</div>

> [@KangJL](#):
>
> theme directory

What’s the theme directory for the WordPress site?

---

<div class="post-metadata">

**Author:** ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)\
**Post date:** [January 2, 2022, 6:03pm UTC](https://forum.infinityfree.com/t/cant-upload-wordpress-theme/56427/4 "2022-01-02T18:03:21Z")

</div>

/your\_domain/htdocs/wp-content/themes

---

<div class="post-metadata">

**Author:** ![anon20694](https://forum.infinityfree.com/letter_avatar/anon20694/32/6_22734026db12803ebb3e059622ac3534.png) [@anon20694](https://forum.infinityfree.com/u/anon20694)\
**Post date:** [January 2, 2022, 6:04pm UTC](https://forum.infinityfree.com/t/cant-upload-wordpress-theme/56427/5 "2022-01-02T18:04:09Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [January 9, 2022, 6:04pm UTC](https://forum.infinityfree.com/t/cant-upload-wordpress-theme/56427/6 "2022-01-09T18:04:18Z")

</div>

Closed on January 9, 2022, 6:04pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
