Piwigo.org

You are not logged in. (Register / Login)

Announcement

Post a reply

Write your message and submit

Click in the dark area of the image to send your post.

Go back

Topic review (newest first)

plg
Yesterday 22:07:49

rvelices wrote:

ok. what config variable should I test for multisite ? (In this case I will force generation in data_dir)

As I said earlier, in Piwigo 2.5 there is no variable saying "multiple site activated". But hoedlmoser made a good proposition with $conf['site_dir'], see topic:22173 and [wiki] Multiple site (multisite).

I think we should implement this configuration variable for Piwigo 2.6. Your opinion?

plg
2013-05-14 15:24:32

actually I thought you were using robots.txt. Maybe the user should be told that she has to submit her sitemap to search engines.

rvelices
2013-05-14 15:12:51

plg wrote:

Do you suppose that webmaster declare their sitemap on Google Webmaster Tools? or use a robot.txt?

The first one ...

plg
2013-05-14 14:19:42

(there is no variable saying "multisite activated")

plg
2013-05-14 14:19:14

But how do you tell Google that the sitemap is located on http://domain.com/sitemap.xml or http://domain.com/_data/site1/sitemap.xml ?

Do you suppose that webmaster declare their sitemap on Google Webmaster Tools? or use a robot.txt?

rvelices
2013-05-14 13:40:29

plg wrote:

If you plan to use a data_dir, no need to check multiple site or not, juste use $conf['data_location']

The problem is that search engines will call http://domain.com/piwigo/sitemap.xml : how can you make it look at http://domain.com/piwigo/<_data>/sitemap.xml instead?

Search engines will call what you tell them to call. I will not change default location that has been set so far unless multisite. I will just force data_dir if multisite. Today the filename can also be ../../sitemap.xml or anything else ...

plg
2013-05-14 12:51:43

If you plan to use a data_dir, no need to check multiple site or not, juste use $conf['data_location']

The problem is that search engines will call http://domain.com/piwigo/sitemap.xml : how can you make it look at http://domain.com/piwigo/<_data>/sitemap.xml instead?

rvelices
2013-05-14 12:24:25

ok. what config variable should I test for multisite ? (In this case I will force generation in data_dir)

plg
2013-05-14 10:35:11

(sorry for this huge delay on reply)

yes, the problem is that sitemap.xml is written at the root directory of Piwigo and it is shared among all galleries.

rvelices
2012-05-10 16:47:53

plg wrote:

Would it be possible to make extension:78 compatible with multisite feature?

It's only about the location of the generated file. Right ?

plg
2012-05-10 14:04:19

Hi rvelices,

Would it be possible to make extension:78 compatible with multisite feature?

Board footer

Powered by FluxBB

About this website · Donate · Contact Piwigo project © 2002-2013