Page 1 of 1

.htaccess not working migrate punBB to phpBB

Posted: Sun May 12, 2013 8:02 am
by terrepu
Hello. I´m not able to get work .htaccess after migration form punBB 1.4.x to phpBB 3.0.11

.htaccess file

Code: Select all

Options +FollowSymlinks

RewriteEngine On

RewriteBase /
# Tested (redir punBB old topics URLs to ):

Code: Select all

# Redirect old file path to new file path
RewriteRule ^viewtopic.php?id=12 viewtopic.php?f=24&t=8 [L,NC]
# Tested (redir form www to non www):

Code: Select all

RewriteCond %{HTTP_HOST} ^www\.forum\.site\.com [NC]
RewriteRule ^(.*) http://forum.site.com/$1 [L,R=301]
# Tested (simply redir php file

Code: Select all

Redirect 301 /extern.php /feed.php
..and nothing work.. It is .htaccess working in phpBB in standard way? Apache of course support mode rewrite and the same rules works befor (at punBB dir). Thank you for your help.

Re: .htaccess not working migrate punBB to phpBB

Posted: Sun May 12, 2013 9:41 am
by Mick
Yes, .htaccess works in the normal way. You should try searching the internet for answers to .htaccess issues, this board is for vanilla phpBB support.

Re: .htaccess not working migrate punBB to phpBB

Posted: Sun May 12, 2013 10:00 am
by terrepu
No one punBB to phpBB URL .htaccess redirect topic at internet. Checked ;)

PS: Topic posted to 3.0.x Support Forum ..so if drop to some other place sorry & thx for moving to right place.

Re: .htaccess not working migrate punBB to phpBB

Posted: Sun May 12, 2013 10:03 am
by Mick
If you've already converted to phpBB why do you need to redirect, everything you need should be in phpBB?

Re: .htaccess not working migrate punBB to phpBB

Posted: Sun May 12, 2013 10:23 am
by terrepu
Because..

punBB use viewtopic.php?id=xyz
phpBB use viewtopic.php?f=xyz&t=xyz

punBB use viewforum.php?id=xyz
phpBB use viewforum.php?f=xyz&t=xyz

..so nothing found.. & Google beat me hard :D

Re: .htaccess not working migrate punBB to phpBB

Posted: Sun May 12, 2013 10:25 am
by Mick
Please fill out the Support Request Template Generator and post it back here to enable us to assist you better.