Thursday, June 16, 2016

Datalife Engine Noindex Hack


After 5 years I am back on using Datalife Engine CMS.
And one of the problem I faced when trying to rank well for SEO was no index for tags, xfields or other pages I didn't want to.
In wordpress it is simple, installing plugins making it easy to solve this problem but not for DLE, after searching found this great hack which gets the work done.

Download: https://www.mediafire.com/?wuwrag0k0mra2g5

Follow the steps below to install.
  1. Copy all the files from the folder Upload in the root of your webserver.
  2. Open main.tpl and after the tag 
{headers} 
Insert
{include file="/engine/modules/noindex.php?noindex=userinfo,register&index=showfull,main,cat&follow=cat_page,main_page"}
Available values :
main - Homepage
date - Page news for specific dates
cat - Category page
showfull - Full news page
xfsearch - Additional field page
search - Search results page
userinfo - The profile page
register - Registration page
stats - Statistics page
pm - Personal messages page
feedback - Feedback page
favorites - Favorites page
newposts - New posts page
addnews - Add news page
lastnews - Page with the latest news on the site
lastcomments - Page with last comments
lostpassword - Recover password page
static - Static page
catalog - Catalog page
alltags - Tag cloud page
tags - Page news from the tag cloud
allnews - Page with all the news on the site, or all the news of any user
cat_page - Category pages pagination
main_page - Homepage pagination
lastnews_page - Latest news page pagination
xfsearch_page - Additional fields pages pagination
lastcomments_page - Last comments page pagination
newposts_page - New posts page pagination
catalog_page - Catalog page pagination
allnews_page - All news page pagination
tags_page - Tags page pagination
showfull_page - Page pagination in full news
date_page - Pages pagination news for specific dates

noindex - Here add values for the pages you want noindex, nofollow tag.
index - Here add values for the pages you want index, follow tag.
follow - Here add values for the pages you want noindex, follow tag..

Related Posts:

  • Drop-down horizontal menu for DLE With this hack you can create a nice Drop-down Horizontal menu for your site.. It uses HTML, CSS and a bit of jQuery.Version DLE: 8.5 and below Reviewed: Opera, IE, Mozilla Download Link: http://www.mediafire.co… Read More
  • New Links I present you hack transformation options for DataLife Engine. Powered by CSS2.0 support each browser. The trick is that when you hover on a link it is animated and the background turns to the left or right. Very nice t… Read More
  • How to insert PHP code in file main.tplmain.tpl file is a template file of DLE. There are cases when you need to insert PHP codes in It, but It is not allowed. So now I will show you a hack how to enable the insertion of PHP codes in main.tpl 1. Open file index.p… Read More
  • Datalife Engine Noindex Hack After 5 years I am back on using Datalife Engine CMS. And one of the problem I faced when trying to rank well for SEO was no index for tags, xfields or other pages I didn't want to. In wordpress it is simple, installing pl… Read More
  • Add button in the WYSIWYG editor The buttons do the insertion into the body of news, anything. Doing for themselves, as they should be inserted into the short and full story frame with styles and so on.  Open: engine/editor/shortnews.php  Find:… Read More

2 comments:

  1. how to use javascript in Article (Full description:)

    ReplyDelete
    Replies
    1. What Javascript are you trying to use?
      It is by default denied, for security reasons.

      Delete