For example the practice http://johncms.daivietpda.com/forum do nhé
This is the first 4.0.1 johncms not have to edit the url in the forum the following categories
[Code] http://johncms.daivietpda.com/ ... ?id=1 [/ code]
Topics called: Application Software
Now we'll edit the url to rewrite
[Code] http://johncms.daivietpda.com/ ... .html [/ code]
Doing this means creating a virtual path, for the purpose of search engine friendly, seo generally to everyone for wap is known more
To get on the path as beautiful as you do the following steps
I will guide the steps before and after the offline analysis steps
Step 1:
Open. Htaccess file to find lines of johncms
[code]RewriteRule .* - [F][/code]
Add below
[code]RewriteRule _(.*)\.html$ /forum/index.php?id=$1[/code]
Step 2:
Download file attachments url.php below, unzip the folder / incfiles
Step 3:
File open forum / index.php
Find line 16
[code]require('../incfiles/core.php');[/code]
Add below
[code]require('../incfiles/url.php');[/code]
Find: line 749
[code] echo '' . $res['text'] . ' [' . $count . ']';[/code]
Replace with:
[code] echo '' . $res['text'] . ' [' . $count . ']';[/code]
Find: line 302
[code] echo '' . $res['text'] . '';[/code]
Replace with:
[code] echo '' . $res['text'] . '';[/code]
Find: line 349
[code] echo '' . $res['text'] . ' [' . $colmes1 . ']';[/code]
Replace with:
[code] echo '' . $res['text'] . ' [' . $colmes1 . ']';[/code]
Find: line 232
[code] $tree[] = '' . $res['text'] . '';[/code]
Replace with:
[code] $tree[] = '' . $res['text'] . '';[/code]
Save and enjoy all
You can replace the tail. Html by tail regardless of what you want, for example, msv used. Msv that
Lech If you go please leave a thank you more sources http://daivietpda.com
http://daivietpda.com
url.zip