1 replies
  • WEB DESIGN
  • |
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

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

open this file end edit line 51

PHP Code:
 $data = ('<a href="http://www.mydomain.com/'.$post.'">'.$name.'</A>'
Add you domain here

Go to AdminPanel > Templates > Add Template
Template Name: sitemap
Content:
PHP Code:
<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
After this u need to add this line to .htaccess file
PHP Code:
RewriteRule sitemap/(.*) sitemap.php?page=$
After this go to footer templates and add your sitemap link somewhere you want

Demo:
Code:
http://www.weblasters.com/sitemap/1
Download sitemap.php;
Code:
http://www17.zippyshare.com/v/88777563/file.html
That is it
#html #mybb #sitemap

Trending Topics