404 Error while adding comment in Group Post


We are using buddypress on our website. When someone try to place comments on any post in group it ends to 404 Not Found. This issue looks like permalink or .htaccess related issue but I am not sure if it is related to this or something else. Before posting the URL looks like this


When someone tries to place comment the URL change to


This start coming after we migrated the site from subdomain to root domain.

Following is the configuration of my site

WordPress: Version 3.3.1

BuddyPress: Version

S2Members Pro Version: 111220

Theme: MoviePress from PremiumPress.com

Is there any solution available for this issue?