Enable Rewrite Option for Discuz!

>> Sunday, April 19, 2009




First, Go to your Backend admin and find option like images above, and then chose what you want to rewrite.
1. Page List of Theme = Rewrite option when you go to Sub forum
2. The theme of the content = When you go to Someone Post / Thread
3. Personal Data page(space.php)= When you go to Someone Profile
4. Tag page(tag.php)Of static = (YOURDOMAINNAME)/tag.php
5. Discuz! Archiver Of static = Rewrite for Discuz Archiver

but dont Submit, First you need to upload or make new file named by .htaccess in your discuz folder. And copy code below


RewriteEngine On

RewriteBase /

RewriteRule ^archiver/([a-z0-9\-]+\.html)$ archiver/index.php?$1
RewriteRule ^forum-([0-9]+)-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2
RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ viewthread.php?tid=$1&extra=page\%3D$3&page=$2
RewriteRule ^profile-(username|uid)-(.+)\.html$ viewpro.php?$1=$2
RewriteRule ^space-(username|uid)-(.+)\.html$ space.php?$1=$2
RewriteRule ^tag-(.+)\.html$ tag.php?name=$1

RewriteBase:
http://(YOURDOMAINNAME) => RewriteBase /
http://(YOURDOMAINNAME)/forum => RewriteBase /forum

0 comments:

About This Blog

Discuz1.blogspot.com is a Blog for helping English Discuz user to get any plugin or template for Discuz Forum. Discuz1 is not affialited nor represents to Comsenz Inc. “Discuz” is a Registered Trademark of Comsenz Inc.

Followers

Discuz!

Blog Flux Directory Web Developement Blogs - BlogCatalog Blog DirectoryTopOfBlogs DigNow.org Web Design

Recent Comments

Blog Archive

Category

Bump Us!

  © Discuz1.blogspot.com 2009

Back to TOP