How To Redirects To Another Page In WordPress Backend


Sponsored Links




Redirect to Another Page in WordPress Backedn is possible in WordPress, it’s because WordPress built in in many many featured, a lot of simple code, a lot of API and many more, on this tips, I will show you how to redirects to another page in WordPress backend. This code use wordpress function wp_redirect()

Try to explore this example from wp engineer and you can explore more to get what you really want

function do_redirect_1() {
	global $pagenow;

	if ( 'plugins.php' === $pagenow ) {
		if ( function_exists('admin_url') ) {
			wp_redirect( admin_url('edit-comments.php') );
		} else {
			wp_redirect( get_option('siteurl') . '/wp-admin/' . 'edit-comments.php' );
		}
	}
}
if ( is_admin() )
	add_action( 'admin_menu', 'do_redirect_1' );


Need more example go to WP Engineer tutorial and I hope this example make you clearly about redirect to another page in WordPress Don’t worry if you still confused about tutorial, please let’s me know and we can discuss it.

Subscribe to Full RSS Feed

RSS FeedIf you thing this article useful, please consider subscribing to our RSS Feed or e-mail updates and stay updated with us. You can also follow @WPTricksNet on twitter for latest updates.

About WP Tricks

We are WordPress Family, we collected and writed useful tips and tricks for you WordPress. We share it for you...

Related Tips and Trick from Local Data and on The Net

Redirects To Another Page In WordPress Backend - WP Engineer

Redirects To Another Page In WordPress Backend. January 21st, 2010 by Frank • WordPress Hacks • 7 Comments. WordPress allows using a function, to simple redirect Read More

How To Redirects To Another Page In WordPress Backend / WordPress

Redirect to Another Page in WordPress Backedn is possible in WordPress, it’s because WordPress built in in many many featured, a lot of simple code, a lot of API Read More

all links lead to "too many redirects" « WordPress.com Forums

can’t open the page. Too many redirects occurred trying to open “http://sowealthytogether.wordpress.com redirected to open another page This sounds like a backend Read More

Redirection - Urban Giraffe | Life, The Universe, and WordPress

you to pass a URL through to another page from the Typepad blog to WordPress (different urls) but rather just redirects Backend really slick. Does exactly what Read More

Change the Search-URL of WordPress - WP Engineer

Tags: development, hack, PHP, Search, WordPress, WP; Comment feed; read: 8961 | today: 21 ; leave a Comment; Related Posts. Redirects To Another Page In WordPress Backend Read More


3 Responses to How To Redirects To Another Page In WordPress Backend

  1. vimax says:

    I can’t see your post..all error

    Warning: preg_match() [function.preg-match]: Compilation failed: missing ) at offset 13 in /home/wptricks/public_html/_w/wp-content/plugins/search-unleashed/models/highlighter.php on line 48

  2. I made this plugin that allows WordPress users to be able to redirect a category (not a page) to any URL on the net.

    http://wpjudge.com/the-much-needed-category-redirect-plugin-is-here/

    Think it is a great supplement to your function and other plugins like page-links-to. Been to lazy to put it in the repository.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>