.htaccess not working migrate punBB to phpBB

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
terrepu
Registered User
Posts: 3
Joined: Sun May 12, 2013 7:45 am

.htaccess not working migrate punBB to phpBB

Post 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.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 22853
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket probably.

Re: .htaccess not working migrate punBB to phpBB

Post 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.
"The more connected we get the more alone we become" - Kyle Broflovski©
terrepu
Registered User
Posts: 3
Joined: Sun May 12, 2013 7:45 am

Re: .htaccess not working migrate punBB to phpBB

Post 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.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 22853
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket probably.

Re: .htaccess not working migrate punBB to phpBB

Post by Mick »

If you've already converted to phpBB why do you need to redirect, everything you need should be in phpBB?
"The more connected we get the more alone we become" - Kyle Broflovski©
terrepu
Registered User
Posts: 3
Joined: Sun May 12, 2013 7:45 am

Re: .htaccess not working migrate punBB to phpBB

Post 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
Last edited by terrepu on Sun May 12, 2013 10:30 am, edited 1 time in total.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 22853
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket probably.

Re: .htaccess not working migrate punBB to phpBB

Post by Mick »

Please fill out the Support Request Template Generator and post it back here to enable us to assist you better.
"The more connected we get the more alone we become" - Kyle Broflovski©
Locked

Return to “[3.0.x] Support Forum”