9 years ago
7
Topic

Hello

With the search and list LINK plugin  you can create dynamic pages that are lists depending on the parameters you pass.

It can create a lot pf pages Google will crawl and index. However all these pages share the same TITLE and DESCRIPTION which is very bad from a SEO point of view.

How can we dynamicall alter these two tags please ? 

I whish I could set the page title of the search page according to some parameters.

thanks for your sharing

cyril

Get a Book for SEBLOD
572 Posts
_jrmo
9 years ago
0
Level 1

Hi Cyril,

Interesting. What about creating a specific list template that has some parameters for this -> for setting the page title and description?

9 years ago
0
Level 1

Hi James

Yes, I guess you're right. I only hoped there was some existing trick to do it but building such a list template shouldn't be that difficult. We need one for a current projet and will publish it as soon as we finish it

thanks for the idea

cyril

9 years ago
2
Level 1

Hello James

About this idea of creating a new seblod list that would set the HTML title of the page, do you think it's possible inside the seblod list to reach the page title ??

thanks

cyril

251 Posts
Viktor Iwan
9 years ago
1
Level 2

let's work on this, i'm thinking about create a placeholder where some param can be change automatically

9 years ago
0
Level 3

Hi Viktor

You mean you propose to create such a list template ?

Anyway what would be the PHP methods inside the seblod list to reach the page title please ?

thanks

cyril

9 years ago
1
Level 1

Hello there !

Nobody can give me a clue here please?

What would be the PHP methods inside the seblod list to reach and edit  the page title please ?

thanks

cyril

188 Posts
uriel
8 years ago
0
Level 2
 $ Document = JFactory :: getDocument ();
 $ document-> setTitle ("title custom");
$ Document-> setDescription ("csutom");
url Selod > index.php?art_title_backend=&boxchecked
$ _GET ["art_title_backend"]

 

Get a VIP membership