Google Search Console indexes website for www but images for non www.
-
On the google search console, the website data is all showing for the www.promierproducts.com. The images however are indexed on the non www version. I'm not sure why.
-
You are using relative URLs for most of your images. Look to see where you have set your default domain name in 3Dcart. Does it include the www suffix? Better yet, change all your URLs so they are absolute and include your subdomain and domain.
-
Hi Donna, thank you for the reply. The default domain in 3dCart is www. I'm not sure what you mean by "change all your URLs so they are absolute and include your subdomain and domain." Can you clarify that please? I appreciate it.
-
Hi Mike,
Here's a Whiteboard Friday that talks about absolute vs relative URLs. It should answer your questions.
I'll provide a quick example. A relative URL is any URL that DOES NOT explicitly specify the protocol (e.g., "http:// " or "https:// ") and/or domain ( promierproducts.com ) and subdomain (www), which forces the visitor's web browser (or the search engine bots) to assume it refers to the same domain or site on which the URL appears. An example would be the way your logo file is referenced on your home page - /assets/images/Promier-Logo-250-Egnyte.jpg.
An absolute URL is the opposite, a URL that DOES explicitly specify the protocol, domain, and subdomain. Using the same logo file as an example, your absolute logo file would appear as www.promierproducts.com/assets/images/Promier-Logo-250-Egnyte.jpg in the code.
The Whiteboard Friday explains why, from an SEO perspective, it is good to use absolute vs relative URLs.