Jump to content

SEO techniques for prestashop - image alt tags


mowax

Recommended Posts

Hi,

I am new to SEO, but am learning and would like to share one technique that I am trying now. I am still investigating, and thought perhaps that someone has done this and knows what to do?

For those who don't know about it, images are very useful for increasing keyword density on your pages, as you can put keywords in the image file name (keyword1-keyword2-keyword3.jpg) and also in the alt text to display for the image, eg.

Prestashop does this for you, by putting the product name in the img title, but renames the image so that you can't put keywords in there. I have found this line of code in the product.tpl file which determines this:

%7B$img_prod_dir%7D%7B$cover.id_image%7Dname|escape:'htmlall':'UTF-8'}"/>

The alt tag is blank, so it is very tempting to put my main keywords in there to appear on all the images' alt tags, but before I do that I would like to check if anyone else has done this, as I don't want to make google angry.

Looking forward to your thoughts!

Dag

Link to comment
Share on other sites

I am also thinking about renaming all the products in my shop, to include some keywords. They will need to be separated by commas, so my example would be something like this:

Rubber mat, anti slip, kitchen

Perhaps customers will notice that you are using keywords in the title, perhaps not, but it will definately optimise the heck out of your pages right? What are people's opinions about this? Is the strange appearance of the product names worth it for better SEO?

Link to comment
Share on other sites

  • 4 weeks later...
  • 4 weeks later...

@Ardian,

Thanks for sharing your method, I will definately give it a try, but I just discovered that I need to switch my hosting package as my windows server doesn't allow URL rewriting!!!

So there is another tip to anyone starting out, get a LINUX SERVER!

@erdem101

Thanks for the suggestion, I have read about it briefly but its still not clear. Do you know of any guides on how to install it?

Link to comment
Share on other sites

  • 3 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...