Hi,
I am using a window.localtion redirect in Javascript to convert to
SEO urls in an existing site. I didnt make the website from the beginning, so I'm using javascript to dynamically redirect pages to the
SEO pages in cooperation with mod_rewrite:
2 examples:
{if $uri == '/index.php?id=6'}
<script type="text/javascript">window.location.href="products6.htm"</script>;
**/if}
OR
{if $uri == '/index.php?id=3'}
<script type="text/javascript">window.location.href="home3.htm"</script>;
**/if}
$uri is the old url. If I want to go back from products6.htm to home3.htm Then I have to click 2 times to go back a previous page. This only occurs in IE, in firefox and Safari, it works fine.
Doesn anyone know a fix for this?