bob bob
asked 7 years ago

I run buddypress and I would like to change the author to employees
Example:
http://sitename.com/author/testuser  
to
http://sitename.com/employees/testuser   
Thank you!
 

bob bob
replied 7 years ago

Also how would I updated to the newest version and my related posts on the questions have disappeared.

3 Answers
Dom Amor
answered 7 years ago

You could just do a 301 redirect from author to employees. That way future updates of DW Q&A wont over write a patch. Just my thought anyway. 

BigHug
answered 7 years ago

Hi Bob,
With Author permalink, if you know about url rewirte, you can use it. Or you can search for  “wordpress change author slug” plugin. Edit author slug (http://wordpress.org/plugins/edit-author-slug/) is one of them.

About updating to the latest question, you can download from http://wordpress.org/plugins/dw-question-answer/ or update it directly from your plugin dashboard.
We will enable sidebar of DWQA soon so please stay tuned.

Thanks and hope this helps,
Rambu

shubhra
answered 7 years ago

If you don’t want to use a plugin, add this code in your functions.php

 add_action(
 'init'
 , 
 'change_wp_author_base'
 );
 function
 change_wp_author_base() {
 global
 $wp_rewrite
 ;
 $author_slug
 = 
 'employees'
 ; 
 // changed author slug name
 $wp_rewrite
 ->author_base = 
 $author_slug
 ;
 }
Powered by DW Question & Answer Pro