Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-05-04 08:32:44

douglgm
Member
From: Bristol
Registered: 2006-08-23
Posts: 182
Website

SEO Image Optimisation and Textpattern

One of the drawbacks of the way Textpattern manages images is that each image is given a numerical file name when uploaded to the Images tab.

While I’m happy playing around with the alt and even a long description using the caption you’re stuck with a numerical file name.

My assumption is that if I want to give my images a reasonable file name, I’ll need to manually host/manage them…

Offline

#2 2012-05-04 09:00:38

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: SEO Image Optimisation and Textpattern

This has come up many times in the forum. Such as here, here and (by me) here.

Offline

#3 2012-05-04 10:09:37

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,001
Website GitHub

Re: SEO Image Optimisation and Textpattern

The htaccess-based half-way-house approach described in this thread works quite nicely, I find, although I have one host where the slash doesn’t work but another character like an underscore or hash does.


TXP Builders – finely-crafted code, design and txp

Offline

#4 2012-05-04 10:24:02

douglgm
Member
From: Bristol
Registered: 2006-08-23
Posts: 182
Website

Re: SEO Image Optimisation and Textpattern

Jakob,great thread! Thanks for this.

Offline

#5 2012-05-04 16:34:11

milosevic
Member
From: Madrid, Spain
Registered: 2005-09-19
Posts: 390

Re: SEO Image Optimisation and Textpattern

A little bit off-topic but related to this… ¿could it be possible with htaccess to simulate a subdomain for the images folder in order to improve the load speed in the client side?

I am thinking on something like http://images.mytextpatternsite.com responses with the content of http://www.mytextpatternsite.com/images


<txp:rocks/>

Offline

#6 2012-05-04 17:02:33

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,001
Website GitHub

Re: SEO Image Optimisation and Textpattern

Jorge, you should be able to do that already with this line in config.php – see this txptip. You could probably combine the htaccess rule from maniqui in that directory too.


TXP Builders – finely-crafted code, design and txp

Offline

#7 2012-05-04 18:39:14

milosevic
Member
From: Madrid, Spain
Registered: 2005-09-19
Posts: 390

Re: SEO Image Optimisation and Textpattern

Great! Thanks a lot jakob. I will read the txptip carefully :-)


<txp:rocks/>

Offline

Board footer

Powered by FluxBB