Okay here is simple way to fix everything:
1. First let's tell google to stop indexing us:
Add to templates layout.phtml in head tag after meta
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
This will tell google to not index this page anymore and not follow links from this page
2. Now to redirect users to the same page in swf gallery:
Add
<meta http-equiv="refresh" content="0;url=http://yoursite.com/#/<?php echo $swfAPath; ?>" />
to layout.phtml's head, this too will redirect users from ?p=html to the root of your site and they will see same picture
and some extra:
3. To lock up html gallery forever
You can also redirect everybody who came to ?p=html page to ?p=gallery.
Unfortunately they wont be redirected to the same picture, just to gallery root. And this step is just for reference.
Open imagevue routing.inc.php and after //Html routes
change:
$routingRules[] = array(
'match' => array('p' => 'html'),
'routeTo' => array('controller' => 'index', 'action' => 'html')
);
to
$routingRules[] = array(
'match' => array('p' => 'html'),
'routeTo' => array('controller' => 'index', 'action' => 'gallery')
);
( action='
html' changes to '
gallery' )
This will treat ?p=html as ?p=gallery
Actually
I wouldn't recommend step 3, thats only for those who want to give up on html completely.