We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

web site url modification | Forum

deep rolling
deep rolling Apr 19 '16
i want to change the profile url from 


www.sitename.com/user/recheal


to 


www.sitename.com/recheal


i made a modifiction in the code but i dont know if that will have an effect on the website in generale ?


any idea !!



thanks you in advance

Justin Trovalds
Justin Trovalds Apr 19 '16
go to ow_sysytem_plugins/base/init.php and modify this line



$router->addRoute(new OW_Route('base_user_profile', 'user/:username', 'BASE_CTRL_ComponentPanel', 'profile'));


to



$router->addRoute(new OW_Route('base_user_profile', '/:username', 'BASE_CTRL_ComponentPanel', 'profile'));

ross Team
ross Apr 19 '16
Topic was moved from General Questions.
deep rolling
deep rolling Apr 20 '16
ok thank you much appreciated , but is that going to effect other plugins or so !!
Justin Trovalds
Justin Trovalds Apr 20 '16
no