http://codex.wordpress.org/Function_Reference/admin_url has a section with examples
home_url() Home URL http://www.example.com site_url() Site directory URL http://www.example.com OR http://www.example.com/wordpress admin_url() Admin directory URL http://www.example.com/wp-admin/ includes_url() Includes directory URL http://www.example.com/wp-includes/ content_url() Content directory URL http://www.example.com/wp-content/ plugins_url() Plugins directory URL http://www.example.com/wp-content/plugins/
To serve WP from http://example.com/ in a few of the sites (multisite installation), I am creating a .htaccess with rewrite rules to send all requests to http://www.example.com/ to http://www.example.com/wordpress/ (all requests except the request for wordpress/ itself).
Should the admin_url not be returning home/wp-admin ? it seems to be returning siteurl/wp-admin. Have I reached a specific situation where the WP core is breaking down?
- The topic ‘admin_url’ is closed to new replies.