Issue with uploading Wordpress Theme

Linode Staff

After installing WordPress, I want to upload a theme to it, and it keeps telling me "Link has expired".

What do I need to do?


1 Reply

Hi there!

I'm sorry to hear that you're facing this issue. While I haven't run into this myself, it appears to be a common problem when installing larger themes.

After researching this issue, it seems like increasing the maximum file upload size in WordPress can potentially help with this. It looks like there are a few ways to do this. Depending on your setup, you'll need to edit your "php.ini" file or your ".htaccess" file. For reference, you'll find a guide on increasing this limit here

To locate your php.ini file, you can try the following command:

$ php -i | grep "php.ini"

Once you've found this file, try adding the following to php.ini (or updating these fields if they already exist):

upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300

To locate your .htaccess file (if there is one), try this command when you're in your WordPress site's root directory:

$ find ./ -name ".htaccess"

For this file, you'd need to add or edit the following:

php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300

After making these changes, you can see if they've taken place by clicking "Media" and then "Add New" in your WordPress dashboard. This page will show your current maximum upload file size limit.

I hope this is helpful for you! If you find that you're still running into this issue after making these changes, please let us know and we'd be happy to try and and troubleshoot this even further. Have a great day!

Kind regards,
Andrew O.
Linode Support Team


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct