Forum Replies Created
-
In reply to: No .htaccess file for “pretty” URLS?
yes it works! thanks!
In reply to: Error on click :(yeees! With “false” it works!!!
In reply to: No .htaccess file for “pretty” URLS?!!!!!! Maybe I have resolved!!!!!! I set the pretty permalings to false in a config.php!!!!!
In reply to: No .htaccess file for “pretty” URLS?ok chrishajer I post now my code
.HTACCES:
<ifmodule mod_rewrite.c>
RewriteEngine On
RewriteBase /forum/
RewriteRule ^forum/([0-9]+)/page/([0-9]+)$ /forum/forum.php?id=$1&page=$2 [L,QSA]
RewriteRule ^forum/([0-9]+)$ /forum/forum.php?id=$1 [L,QSA]
RewriteRule ^topic/([0-9]+)/page/([0-9]+)$ /forum/topic.php?id=$1&page=$2 [L,QSA]
RewriteRule ^topic/([0-9]+)$ /forum/topic.php?id=$1 [L,QSA]
RewriteRule ^tags/(.+)/page/([0-9]+)$ /forum/tags.php?tag=$1&page=$2 [L,QSA]
RewriteRule ^tags/(.+)/?$ /forum/tags.php?tag=$1 [L,QSA]
RewriteRule ^tags/?$ /forum/tags.php [L,QSA]
RewriteRule ^profile/([0-9]+)/page/([0-9]+)$ /forum/profile.php?id=$1&page=$2 [L,QSA]
RewriteRule ^profile/([0-9]+)/([a-z]+)$ /forum/profile.php?id=$1&tab=$2 [L,QSA]
RewriteRule ^profile/([0-9]+)/([a-z]+)/page/([0-9]+)$ /forum/profile.php?id=$1&tab=$2&page=$3 [L,QSA]
RewriteRule ^profile/([0-9]+)$ /forum/profile.php?id=$1 [L,QSA]
RewriteRule ^view/([a-z-]+)/page/([0-9]+)$ /forum/view.php?view=$1&page=$2 [L,QSA]
RewriteRule ^view/([a-z-]+)$ /forum/view.php?view=$1 [L,QSA]
RewriteRule ^rss/$ /forum/rss.php [L,QSA]
RewriteRule ^rss/forum/([0-9]+)$ /forum/rss.php?forum=$1 [L,QSA]
RewriteRule ^rss/topic/([0-9]+)$ /forum/rss.php?topic=$1 [L,QSA]
RewriteRule ^rss/tags/([a-z]+)$ /forum/rss.php?tag=$1 [L,QSA]
RewriteRule ^rss/profile/([0-9]+)$ /forum/rss.php?profile=$1 [L,QSA]
</ifmodule>
CONFIG.PHP:
<?php
define(‘BBDB_NAME’, ‘Sql*****_4’);
define(‘BBDB_USER’, ‘Sql*****’);
define(‘BBDB_PASSWORD’, ‘********’);
define(‘BBDB_HOST’, ‘62.149.***.**’);
$bb_table_prefix = ‘bb_’;
$bb->domain = ‘http://www.motiongraphics.it’;
$bb->path = ‘/forum/’;
$bb->name = ‘Motiongraphics Forum’;
$bb->admin_email = ‘info@motiongraphics.it’;
$bb->mod_rewrite = true;
$bb->page_topics = 30;
$bb->edit_lock = 60;
$bb->gmt_offset = +2;
define(‘BBLANG’, ”);
$bb->akismet_key = ‘*********3c’;
$bb->wp_table_prefix = ‘wp_’;
$bb->wp_home = ‘http://motiongraphics.it’;
$bb->wp_siteurl = ‘http://motiongraphics.it’;
if ( !defined(‘BBPATH’) )
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );
?>
Many Thanks!