WordPress Warning: file_exists() [function.file-exists]: open_basedir restriction in effect.

1). Open your web-config file via FTP and add these 2 lines:


Please change the domain.com with your own domain name.

2). Browse your server files either via FTP or Panel and Go to –> wp-content folder. Here create a new folder with any name example uploads1. Make sure to give the writing rights to the folder. Now Go to your WordPress admin panel – -> Settings –> Media. And change the path of uploading files with the name of the new directory that you just created.

It should probably work now and as it does for me but if it doesn’t just try one more step:

3). Create a new .htaccess file and overwrite the new file with the old file on your web server.

It would definitely work for you now. If you still face any issues, post a comment below or reach me via the contact form. I will try to figure it out for you.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s