1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

MyBB HTML Sitemap

Discussion in 'Forum Management' started by jovica888, Nov 21, 2013.

  1. #1
    This will create a page with all your URLs and then you can put this URL in your footer and then u can achieve better internal linking

    http://www.mydomain.com/sitemap/1
    Code (markup):
    OK Firts you need to upload sitemap.php file at / (root)

    open this file end edit line 51
    SEMrush
     $data = ('<a href="http://www.mydomain.com/'.$post.'">'.$name.'</A>')
    PHP:
    Add you domain here :)

    Go to AdminPanel > Templates > Add Template
    Template Name: sitemap
    Content:
    <html>
    <head>
    <title>Sitemap page {$mybb->input['page']} - Forum Name</title>
    {$headerinclude}
    </head>
    <body>
    {$header}
    <hr><br>
    <center>{$sitemap}</center><br><BR><hr>
    {$footer}
    </body>
    </html>
    PHP:
    After this u need to add this line to .htaccess file
    RewriteRule sitemap/(.*) sitemap.php?page=$1
    PHP:
    After this go to footer templates and add your sitemap link somewhere you want ;)

    Demo:
    http://www.weblasters.com/sitemap/1
    Code (markup):
    Download sitemap.php;
    http://www17.zippyshare.com/v/88777563/file.html
    Code (markup):
    That is it :sleepy:
     
    jovica888, Nov 21, 2013 IP
    SEMrush