by _Twisted_Mods_ November 24th 2014, 5:54 am
goto
admin control panel>modules>html&javascript managment>javascript
make sure Enable Javascript code management : yes
then save
then create a new javascript
title: name what you want
placement: in all pages
javascript code:
- Code:
$(function(){
$('a[href="/u1"]').attr('href','/forum');
});
/u1 is the url on all the pages you want to change
/forum is the url it changess it to
if you want to add more urls to change just add another line
- Code:
$('a[href="/u1"]').attr('href','/forum');
so it will be like
- Code:
$(function(){
$('a[href="/u1"]').attr('href','/forum');
$('a[href="/u2"]').attr('href','/forum');
$('a[href="/u3"]').attr('href','/forum');
});
once your all done click submit under the code and your done