I am receiving 404 error message when I enable the Gallery2 SEO/SEF featureIn order to fix this issue, you have to edit the following rewrite rule in your .htaccess file, which is located in the root directory of your Gallery application:
RewriteRule /v/([^?]+)\?(.*) /main.php?g2_view=core.ShowItem&g2_path=$1&$2 [N]
should become:
RewriteRule /v/([^?]+)?(.*) /main.php?g2_view=core.ShowItem&g2_path=$1&$2 [N]