Hi
I have a site in Joomla CMS.
I want to redirect my old url :
http://www.brcreation.com/index.php?/Softwares/Tool-to-Convert-Files?itemid=167&mid=167
to :
http://www.brcreation.com/Softwares/Tool-to-Convert-Files?itemid=167&mid=167
As you see above, I want to remove "index.php?/" from my site url.
I have created a script for this but there are some problems. It doesn't redirect to correct url.
Here is my script :
<script type="text/javascript">
var myRegExp = "/index.php\?\//"; // This may be wrong. I dont know more about regexp.
var string1 = window.location;
toString(string1);
//alert( string1 );
var matchPos1 = string1.search(myRegExp);
if(matchPos1 != -1) {
window.location = string1;
}
</script>
Plese help me on this