Jump to content

Search the Community

Showing results for tags 'sitemap'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General Discussion
    • Announcements
    • Business Discussion
    • Business Services
    • Sell and Buy
  • Themes & templates
    • KVS default theme
    • KVS paysite theme
  • Educational / support
    • Technical Support
    • FAQ
    • Educational Series

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 2 results

  1. Hello. what is the satellite website sitemap location? I have added to google webmaster http://www.website.com/sitemap.php but Discovered URLs = 0 sitemap.php is this the sitemap location or ... thank you. Merry Christmas and Happy New Year.
  2. General sitemap structure in KVS KVS renders sitemap dynamically as a typical web page configured to produce XML format instead of HTML. You can find sitemap page in Website UI -> Pages -> [system] Sitemap: Due to specific sitemap structure limitations on the number of links, KVS breaks down sitemap into several sitemap indexes, rendering different entities: Videos Albums Playlists Tags Models Categories Sponsors Channels Sitemap indexes that can potentially generate more than 50k links are additionally broken down into paginated sitemaps. That's why sitemap page renders 2 blocks for some object types (videos, albums, playlists, models, tags): one block is for listing all pages (e.g. Sitemaps Videos), another block is for listing all objects per page (e.g. Links to Videos). For categories, sponsors and channels KVS considers that their amount is small, so they are rendered as single lists. Adding search queries into sitemap Since the number of search queries is potentially unlimited, you should consider adding them as 2 blocks similar to models. 1) Open Sitemap page for editing and add the following 2 blocks into it: {{insert name="getBlock" block_id="search_results" block_name="Sitemaps Search Queries"}} {{elseif $smarty.request.type=='search'}} {{insert name="getBlock" block_id="search_results" block_name="Links To Search Queries"}} Here are the highlighted locations where to add these blocks as their position is quite important: 2) Save page editor. After saving you can see that 2 new blocks were added to page structure with default settings: 3) Open Sitemaps Search Queries block for editing. Set its template to the following code: {{section start=1 loop=$nav.page_total+1 name=pages}} <sitemap> <loc>{{$lang.urls.sitemap}}?type=search&amp;from_links_search={{$smarty.section.pages.index}}</loc> <lastmod>{{$smarty.now|date_format:"%Y-%m-%d"}}</lastmod> </sitemap> {{/section}} Set Cache lifetime (s) to 86400. Set the following parameter values: items_per_page = 500 var_from = from_sitemaps_search sort_by = Query text Desc Save this block editor. 4) Open Links To Search Queries block for editing. Set its template to the following code: <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> {{foreach item=item from=$data}} {{assign var="query" value=$item.query|replace:"-":"[dash]"|replace:"&":"%26"|replace:"?":"%3F"|replace:"/":"%2F"|replace:" ":"-"|replace:"[dash]":"--"|rawurlencode}} <url> <loc>{{$lang.urls.search_query|replace:"%QUERY%":$query}}</loc> <lastmod>{{$smarty.now|date_format:"%Y-%m-%d"}}</lastmod> <changefreq>weekly</changefreq> <priority>0.6</priority> </url> {{/foreach}} </urlset> Set Cache lifetime (s) to 86400. Set the following parameter values: items_per_page = 500 var_from = from_links_search sort_by = Query text Desc Save this block editor. 5) Now you should have a fully working search sitemap inside your main sitemap index. Try opening your sitemap and look for "search" keyword: http://domain.com/sitemap.php If your database has search queries, you should see something like this in your sitemap: http://domain.com/sitemap/?type=search&from_links_search=1 http://domain.com/sitemap/?type=search&from_links_search=2 ....
×
×
  • Create New...