[Nulled] » Nulled Warez Scripts » CMS (Site management systems) » DataLife Engine » DLE hacks » We change the annoying xfsearch in the address to a more logical word
December 26 2022

We change the annoying xfsearch in the address to a more logical word

Title: Changing the annoying xfsearch to a more logical word in the address
Author: everyone who thought of it
The author of this method: DomiTori
CMS: any version of DLE


Description:

I think everyone has thought at least once that the word xfsearch on the site and in the address bar does not fit into the site in any way and only ruins all its beauty. Let's change the situation

To begin with, let's decide which word we will replace this most annoying xfsearch. I choose the word "find" and show you an example of this word
We will need to edit 6 files. Let's get started.

1. Open .htaccess
Looking for (in DLE 10.3 36-38 lines)


# search by additional fields
RewriteRule ^xfsearch/([^/]*)(/?)+$ index.php?do=xfsearch&xf=$1 [L]
RewriteRule ^xfsearch/([^/]*)/page/([0-9]+)(/?)+$ index.php?do=xfsearch&xf=$1&cstart=$2 [L]


We change it to the selected word, so that it turns out like this:

# search by additional fields
RewriteRule ^find/([^/]*)(/?)+$ index.php?do=xfsearch&xf=$1 [L]
RewriteRule ^find/([^/]*)/page/([0-9]+)(/?)+$ index.php?do=xfsearch&xf=$1&cstart=$2 [L]


2. Open engine/engine.php
Looking for (in DLE 10.3 349 line)


"xfsearch/"


We change it to our own


"find/"


3. Open engine/modules/show.custom.php
Looking for (in DLE 10.3 374 line)

"xfsearch/"


We replace it with our own

"find/"


4. Open engine/modules/show.full.php
We search 2 times (in DLE 10.3 1006 and 1336 lines)

"xfsearch/"


We replace it twice with our own

"find/"


5. Open engine/modules/show.short.php
Looking for (in DLE 10.3 480 line)

"xfsearch/"


We replace it with our own

"find/"


6. Open engine/modules/topnews.php
Looking for (in DLE 10.3 222 line)

"xfsearch/"


We replace it with our own

"find/"


As a result, the link to the search for additional fields will become more reasonable, and the search engines will index it as we make it.


Information

Visitors who are in the group Guests they can't download files.
Log in to the site under your login and password or if you are a new user go through the process registrations on the website.

Comments:

This publication has no comments yet. You can be the first!

Information the publication:

Related News

26 December 2022
DLE hacks
Additional fields by

Title: Additional fields by category [DLE ALL] Author: everyone who thought of it The author of this method:

Read more
26 December 2022
DLE hacks
Global hack to change

I present a global hack for structuring additional fields as categories, without the prefix xfsearch, as well as

Read more
26 December 2022
DLE hacks
Rewrite rules for CNC on

As you know, an Apache server is not the optimal solution for creating highly visited projects, and as site

Read more
26 December 2022
DLE hacks
Using tags

This hack allows you to use [declination=X][/declination] tags in all.tpl files of the template and makes a minor

Read more
26 December 2022
DLE modules
Powerful module Download

Use it in news and on static pages. When you click, you will be redirected to a separate download page where you

Read more

Information

Users of 🆅🅸🆂🅸🆃🅾🆁 are not allowed to comment this publication.

Site Search

Site Menu


☑ Websites Scripts

Calendar

«    December 2024    »
MonTueWedThuFriSatSun
 1
2345678
9101112131415
16171819202122
23242526272829
3031 

Advertisement

Survey on the website

Evaluate the work of the site
 

Statistics

  • +4 Total articles 6749
  • +19 Comments 4218
  • +27 Users : 6014