maryt
Posts: 3224
Joined: 16 Apr 12
Trust:
05 Oct 15 10:53 pm
Hi,
1. You only need to be concerned about images that are within your posts or pages. Check if there is an image embedded in each of the posts/page mentioned for this error and see if these images have no defined width or height.
To fix this, you will need to edit the post or page and switch to "TEXT" mode. While in text mode, look for the img code and see if the corresponding image designated by the src= has a defined height= or width=.
You can easily insert the height and width by including this code
Example:
height="250" width="620"
The resulting code will be like this:
img src="/wp-content/uploads/20xx/xx/image-filename-here.png" height="250" width="620"
Make sure that the above codes are enclosed with less than ( < ) and greater than ( > ) signs.
For more information, please see this tutorial:
http://www.w3schools.com/tags/tag_img.asp2. Robots.txt is not automatically installed or added in Wordpress. This is because the function of a robots.txt file is to let search engines know what pages on your site you want them to skip when indexing. This is a file that you need to set up manually since you need decide which pages search engines could not index.
You can use plugins like the WP Robots TXT plugin (
https://wordpress.org/plugins/wp-robots-txt/) to create, add and edit the robots.txt on your website.
You may refer to this lesson on Robots.txt for more information:
https://www.affilorama.com/site-building/robots-txt