Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
172 views
in Q2A Core by

hello all,

i want to translate admin/emails url to newadmin/newemails.

$QA_CONST_PATH_MAP=array( does not work for this.

if i use below code it only changes admin slug but no way for sub slug .

$QA_CONST_PATH_MAP = array(

                'admin' => 'newadmin'     

);

works for mydomain/admin to mydomain/newadmin

-------------------------------------

$QA_CONST_PATH_MAP = array(

                'admin/emails' => 'newadmin/newemails'     

);

does not work.

-----------------------------------

Any idea please. thank you.

An old question as mine.

https://www.question2answer.org/qa/18970/possible-map-segments-subfolders-using-qa_const_path_map

1 Answer

+1 vote
by
No it’s still not possible to change paths with slashes in. You can change ‘admin’ but that’s it.

But why do you need to change it? It’s just an address for administrators, it doesn’t need to be SEO friendly or anything like that.
...