almannai
01-28-2010, 10:00 PM
Although search engines are becoming much clever that ever but still a lot of webmasters argue that static urls are more friendly to be indexed by search engins than dynamic urls.
Is static urls are better than dynamic ones or not, VB4 comes with a tool to acomplish this without the need for third party tools anymore.
Steps:
1. Upload the .htaccess file to you forum directory. This file can be found in "do_not_upload\rewrite\apache2".
2. open admincp go to Server Settings and Optimization Options
3. set Friendly URLs (on top) to "Mod Rewrite Friendly URLs"
4. Save
And you are done :D
Notes:
1. If you are using VirtualDocumentRoot you need to un-comment # RewriteBase /forum/
and the "forum" is your forum directory path
2. You can add more rewrite rules to .htaccess for example to add for cms type the following line below entries rule:
ReWriteRule ^content/.* content.php [QSA]
3. For IIS you can find the "web.config" file in "do_not_upload\rewrite\iis7"
Enjoy
Is static urls are better than dynamic ones or not, VB4 comes with a tool to acomplish this without the need for third party tools anymore.
Steps:
1. Upload the .htaccess file to you forum directory. This file can be found in "do_not_upload\rewrite\apache2".
2. open admincp go to Server Settings and Optimization Options
3. set Friendly URLs (on top) to "Mod Rewrite Friendly URLs"
4. Save
And you are done :D
Notes:
1. If you are using VirtualDocumentRoot you need to un-comment # RewriteBase /forum/
and the "forum" is your forum directory path
2. You can add more rewrite rules to .htaccess for example to add for cms type the following line below entries rule:
ReWriteRule ^content/.* content.php [QSA]
3. For IIS you can find the "web.config" file in "do_not_upload\rewrite\iis7"
Enjoy