Rewrite download link for DLE » DataLife Engine Support

DLEVIET - DataLife Engine Support Home Page

DataLife Engine Support » DataLife Engine » Edit Code » Rewrite download link for DLE

Rewrite download link for DLE

  • Author: admin;  
  • Views: 2494;  
  • Date: 10 January 2010;  
If you want SEO of your site more than now. Please do this h@ck to change download link

http://yoursite/engine/download.php?id=1

to

http://yoursite/dl/1_files_example.zip

GO GO GO

1 Open file .htaccess and find

RewriteEngine On


Below it add

# Download link
RewriteRule ^dl/([0-9]+)_(.*)(/?)+$ /engine/download.php?id=$1 [L]


2. Open file engine/modules/functions.php and find

engine/download.php?id={$row['id']}{$area}


Replace to

dl/{$row['id']}{$area}_{$row['name']}


There are 2 place you need to replace in this step.
We encourage you to Register or Login to website under your name.

Liugarneth

Posted 25 April 2010 13:43 Register: 25.04.2010
Thanks :)

sri

Posted 16 May 2010 01:13 Register: 25.04.2010
pl any demo

because i am using same method. but i can't see any changes.

thanks
Information
Members of Guest cannot leave comments.

Pagerank Update

    Updates Yandex SEO
    13.04.2012
    16.02.2012
    04.02.2012
    Updates Yandex search
    17.05.2012
    15.05.2012
    12.05.2012
    Updates Yandex Catalogue
    22.05.2012
    21.05.2012
    18.05.2012
    Updates Google
    03.05.2012
    06.02.2012
    08.11.2011

Find us on Facebook

Poll

How do you know DataLife Engine Support?

Search Engine
Other DLE Support websites
Forum
Friends
Others

Sponsor

Calendar

«    May 2012    »
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
Contact us in social network

Facebook

Twitter