Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Mods & Themes (http://www.bvlist.com/forumdisplay.php?f=97)
-   -   SEO - Optimization for Search Engine (http://www.bvlist.com/showthread.php?t=3477)

kp380lv 27th September 2009 17:48

SEO - Optimization for Search Engine
 
Create an htaccess file and paste this in the file...

PHP Code:

Options +FollowSymLinks
RewriteCond 
%{REQUEST_FILENAME} !-f
RewriteCond 
%{REQUEST_FILENAME} !-d
RewriteEngine On
RewriteBase 
/

RewriteRule torrent/id,([0-9]+)/ details.php?id=$1
RewriteRule 
^([0-9]+)-$ details.php?id=$[L]
RewriteRule torrent_comment/action,([a-zA-Z?-??-?0-9]+)/ comment.php?action=$1
RewriteRule 
^([a-zA-Z?-??-?0-9]+)-$ comment.php?action=$[L]
RewriteRule edit/id,([0-9]+)/ edit.php?id=$1
RewriteRule 
^([0-9]+)-$ edit.php?id=$[L]
RewriteRule ^torrent_category/([a-zA-Z0-9_-]+)?$ browse [L]
RewriteRule torrent_category/([0-9]+)/ browse.php?cat=$1
RewriteRule torrent
/id,([0-9]+)&details/id,([0-9]+)/ details.php?id=$1&dllist=$2
RewriteRule 
^([0-9]+)-$,([0-9]+)-$ details.php?id=$1&dllist=$[NC,L]
RewriteRule torrent/id,([0-9]+)&snatched/id,([0-9]+)/ details.php?id=$1&snatched=$2
RewriteRule 
^([0-9]+)-$,([0-9]+)-$ details.php?id=$1&snatched=$[NC,L]
RewriteRule torrent/id,([0-9]+)&filelist/id,([0-9]+)/ details.php?id=$1&filelist=$2
RewriteRule 
^([0-9]+)-$,([0-9]+)-$ details.php?id=$1&filelist=$[NC,L]
RewriteRule torrent/id,([0-9]+)&page/id,([0-9]+)/ details.php?id=$1&page=$2
RewriteRule 
^([0-9]+)-$,([0-9]+)-$ details.php?id=$1&page=$[NC,L]
RewriteRule torrent/id,([0-9]+)&hit/id,([0-9]+)/ details.php?id=$1&hit=$2
RewriteRule 
^([0-9]+)-$,([0-9]+)-$ details.php?id=$1&hit=$[NC,L]
RewriteRule torrent/id,([0-9]+)&viewcomm/id,([0-9]+)/ details.php?id=$1&viewcomm=$2
RewriteRule 
^([0-9]+)-$,([0-9]+)-$ details.php?id=$1&viewcomm=$[NC,L]
RewriteRule ^([0-9]+)-$ browse.php?cat=$[NC,L]
RewriteRule torrent_category/sort=([0-9]+)/type=([a-zA-Z?-??-?0-9]+)/ browse.php?sort=$1&type=$2
RewriteRule 
^([0-9]+)-$,([a-zA-Z?-??-?0-9]+)-$ browse.php?sort=$1&type=$[NC,L]
RewriteRule torrent_comment/([a-zA-Z?-??-?0-9]+)/([0-9]+)/ comment.php?action=$1&cid=$2
RewriteRule 
^([a-zA-Z?-??-?0-9]+)-$,([0-9]+)-$ comment.php?action=$1&cid=$[NC,L]
RewriteRule torrent_comment/([a-zA-Z?-??-?0-9]+)/([0-9]+)&sure=([0-9]+)/ comment.php?action=$1&cid=$2&sure=$3
RewriteRule 
^([a-zA-Z?-??-?0-9]+)-$,([0-9]+)-$,([0-9]+)-$ comment.php?action=$1&cid=$2&sure=$[NC,L

After that you should open your httpd.conf and enable 1. LoadModule rewrite_module modules/mod_rewrite.so and edit AllowOverride to AllowOverride All...


All times are GMT +2. The time now is 20:16.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.