HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Feature Requests (http://www.howtoforge.com/forums/forumdisplay.php?f=17)
-   -   Stats for domain (http://www.howtoforge.com/forums/showthread.php?t=43778)

esezako 2nd March 2010 10:58

Stats for domain
 
Other feacture is view statistics for domains although they are in different site accounts.

Example:
site1 = a.example.com
site2 = b.example.com

I can see stats for site1 and site2, but i can't see the global stats for domain example.com

esezako 7th April 2010 12:56

any comment for this?

createch 11th April 2010 15:14

I suppose it depends on how you create the two sites.

[Option One]
If you create a.XXXX.com and b.XXXX.com under the domain www.XXXX.com by using co-domain and directory mapping, then the statistics will be global.

The link below is how to do it:
http://www.wallpaperama.com/forums/h...anel-t721.html

[Option Two]
But if you create the a.XXXX.com and b.XXXX.com separately as two entries, of course the statistics will be separated. This is logically correct.

So, why not just use Option One if you just need a global statistics ?

Createch

createch 11th April 2010 15:20

One further point ... please add the following apache directives so that there will not be any changes to the browser address bar when users go to the two sub-domains:

(for example 2 sub-domains: sub1.domain.tld and sub2.domain.tld)

RewriteEngine on
RewriteCond %{HTTP_HOST} ^sub1.domain.tld [NC]
RewriteRule ^/(.*)$ /sub1/$1 [L]
RewriteCond %{HTTP_HOST} ^sub2.domain.tld [NC]
RewriteRule ^/(.*)$ /sub2/$1 [L]

Cheers,
Createch

esezako 15th April 2010 19:29

Hi, i am in the option 2.
I need the global statics and separate statics at the same time.

Other ideas?

mexxchan 17th April 2010 16:58

Your request is definitely nice-to-have instead of something which is important to many people.

I believe developers will accord very low priority to such request.

saudom 30th October 2013 12:08

site1 = a.example.com
site2 = b.example.com
oh.I can understand that there are two website different .so you can set up a program to view statistics of example.com.


All times are GMT +2. The time now is 20:48.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.