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

How To Redirect Blog to First Post

Today Tricks is How To Redirect Blog to First Post. This code original writen by Ashton Sanders. You need to put this code on your index.php or home.php to make it work. It just uses the WordPress Redirect function to … Read More

WP Tutorial: Remove admin name in comments class

Batovasan, create nicely WordPress Tutorial. The reason create this tutorial is Small Security Hole on WordPress. Like we all know by default, when the blog admin left a comment on his blog, WordPress use the name in the comment css … Read More

How To Exclude Pages or Posts from Search Results Page

For some reason, sometimes we need to exclude some contents on our WordPress site from search results in our WordPress. Example we didn't need to display our about page to be indexed or searchable by WordPress search. To enable this … Read More

How to Tweak You WordPress Post Category Page

Deluxe Blog Tips give nicely example how to show different number of post each category in WordPress. This code must be put in functions.php. On Deluxe Blog Tips sample how to show number post on News and WordPress Category. On … Read More

How To Remove WordPress 3.1 Admin Bar

There are a lot of new features on WordPress 3.1, one popular feature is display WordPress Admin bar. This bar is added automatically by WordPress 3.1. This bar will be activated on your dashboard and the site itself (front page). … Read More

How To Display Content for Admin Only

Display Specific Content for Admin Only in WordPress can be done easily, all need to do just write some if else statement with same parameter. On this example I will show you how to display simple stats from WordPress and … Read More

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

Source: http://wpengineer.com/1945/redirects-to-another-page-in-wordpress-backend/

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

Source: http://wptricks.net/how-to-redirects-to-another-page-in-wordpress-backend/

poze cu pizde si pule - WordPress Tricks & Tips

How To Redirects To Another Page In WordPress Backend February 3rd, 2010 By WP Tricks Posted tips, I will show you how to redirects to another page in WordPress backend. read more

Source: http://wptricks.net/archives/poze-cu-pizde-si-pule

WordPress › Backend Redirect « WordPress Plugins

Redirects all non admin users who try to access the WordPress backend to a defined URL. Another simple problem solving plugin. If a user tries read more

Source: http://wordpress.org/extend/plugins/backend-redirect/

php - Create WordPress Page that redirects to another URL - Stack

Create WordPress Page that redirects to another to create a new WordPress page that is actually a link to another log into your WordPress backend, and create a new page. read more

Source: http://stackoverflow.com/questions/1698797/create-wordpress-page-that-redirects-to-another-url


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>