Roger
Roger

Reputation: 607

Can't insert images into post in wordpress when on live server

I am currently using wordpress 4.4 with the following plugins installed:

  1. Add this sharing buttons
  2. advanced custom fields
  3. custom post type ui
  4. tg facebook comments
  5. ultimate social media plus
  6. velvet blues updates urls
  7. wp mail smtp

My problem is the following: My image does not display in my posts when I add one via the add media button. Instead it sends me out of the dashboard and unto this url: http://my_domain_name/wp-admin/post.php. I can upload images, I can choose images, I can even set them as featured image but it just won't let me add them in between my blogs via the add media button.

Furthermore, this problem only occurs on my live server but everything works fine on my local xampp server. What could be the problem with this.

Note: I checked my host and permission for dir "wp-content/uploads is already set to 755.

Upvotes: 0

Views: 1152

Answers (4)

Roger
Roger

Reputation: 607

Thank you very much for all your input. I was able to solve my problem. It was a server issue. I notified my hosting provider and they were able to sort things out. Happy new year :)

Upvotes: 1

Wiram Rathod
Wiram Rathod

Reputation: 1919

Set 755 recursive permission to this dir "wp-content/uploads". And also check upload_max_filesize and post_max_size parameters in your hosting server. May be your server configuration not allow big size of image.

Upvotes: 1

karanvir singh
karanvir singh

Reputation: 16

Check your server permission for images

Upvotes: 0

Vasanth Kumar
Vasanth Kumar

Reputation: 21

You have to set the write permission on your server for the /wp-content dir or the directory where your file will save.

In localhost it will work fine because by default all the protection's are disabled.

Some websites for your references.

https://in.godaddy.com/help/set-directory-permissions-windows-6481

https://www.youtube.com/watch?v=E-uyCJ4Gxog

Upvotes: 0

Related Questions