wordpress problem redirect file to directory

bleach

Senior Member
Joined
Oct 12, 2008
Messages
991
Reaction score
79
i need someone who know about wordpress

i need to redirect blabla.com/wp-admin/admin.php?page=ppt_admin.php to blabla.com/wp-admin/ or blabla.com/wp-admin/ to blabla.com/admin
 
Bleach,

Is there a reason you cannot redirect these URL's using .htaccess? Unless your server does not have support for this configuration file this would seem like the most effective means. You would just have to ensure that the proper files were located at that new location or you wouldn't be able to login to the backend.

Unless of course you are building something and need to redirect from within the code. Have you tired the wp_redirect() function in that case?

More on that code here,

php - How to redirect to different admin page in Wordpress? - Stack Overflow

Best,

Shawn
 
Back
Top