Support Forum

TML and SP redirects

RG Rodrigo B Galluf
Rodrigo B Galluf
Member

Theme My Login plugin is overiding sp redirects. How can I avoid that?

Before TML was installed users were being redirected to mysite.com/forum, which is what I want…

but now they are being redirected to mysite.com/login

Any help?

1 Answer

New Answer

MP Mr Papa
Mr Papa
Member

dont know… except maybe to check the priority used by tml for its redirect… and compare to the sp one… and make sure ours is a higher priority…

you didnt say which redirects… but ours are defined in simple-press/sp-statup/sp-load-core.php around lie 188…

if you edit core, you will lose your changes on upgrades…  other alternative is to use the hook sph_core_startup, remove the hook you want to change the priority on and then readd it with the desired priority…. do that from your spFunctions.php file…