Full Seo Download Link for WCDDL

Status
Not open for further replies.

The Dude

Banned
Banned
656
2009
26
0
Hey guys i just start using ddl script for a few days though i have no ddl site, just testing at my local pc. I think seo is really helpful for wcddl. unfortunately i could not found any working seo mod for ddl. so i just playing with .htaceess and found a very easy way to make the download page seo. lolz actually included all page.

Here's The instruction:

open index.php
Search for this line:
Code:
<a href="download.php?id=<?=$dl[id]?>">

Replace with this:
Code:
<a href="download-<?=$dl[id]?>-<?=$dl[title]?>.html">


make a .htaccess and put it to your root folder
Code:
# Full Seo Download Link for WCDDL Made By The Dude | MissionW.org

RewriteEngine On  
# if your dir is into any folder just change the last line, example: dude/download.php?id=$1

RewriteRule ^index\.html$ /index.php [QSA,L,NC]

RewriteRule ^download-([^-]*)-([^-]*)\.html$ /download.php?id=$1 [QSA,L,NC]

that's it.
this .htaccess also make your site.com/index.php to site.com/index.html


:D don't forget to say thanks

PS: I am fully noob so don't expect any help from me. though i will try.

I also posted this into warezcoders.com:
Code:
http://warezcoders.com/forum/viewforum.php?f=15
 
10 comments
i don't think people can get pecial character in ddl site. all should be DIGIT & Letter. though if you get just edit and hope other webmaster will develop this mod...more advanced. :)
 
yes there are several issues with this
1. as Dman says, special characters will mess up
2. if a download title has forwerd slashes in then you will get dead downloads
 
this is not full, it's only for download links!

Any way for everything, eg: domain.com/app.html or domain.com/app ?

and some links show up incomplete: eg:

domain.com/download-243-Photoscape%203.5.html

check the %
 
Epic bump anway, like he said, it's only for download links.

Search around Warez Coders you have rewrite tutorials there for pages and categories.
 
Status
Not open for further replies.
Back
Top