Greetings. I had installed the phpbb3 forum first on
http://www.mysite.com/phpbb3 . Then I added an addon domain abc.com to point to the phpbb3 folder with url masking so that the forum url becomes
http://abc.com . I also added this in the .htaccess file so all urls to the forum point to abc.com:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^abc\.com
RewriteRule (.*)
http://abc.com/$1 [R=301,L]
ErrorDocument 404 /index.php
But now when I post a new message with this Instant Post Redirect 0.1.2 MOD, it redirects me to a
http://phpbb3.mysite.com/ subdomain url and gives an error page. When I had added the addon domain abc.com in the cpanel to the /home/user/public_html/phpbb3 directory, it had made a subdomain phpbb3.mysite.com even though the phpbb3 directory already existed with the forum. I tried removing all the above .htaccess rules but still the same problem so I guess it has something to do with how the mod works with addon domains.
If I remove this mod, it work ok and gives the redirect page. But I really want to use this cool mod as it saves time while posting a lot of posts. Please tell me what changes to make in the code to make it work. I have tried to explain as clearly as I can but I can explain more if required. Thanks and awaiting some help.