This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- All In One SEO Bundle By: https://www.alphawebtips.com Start --> | |
<b:if cond='data:blog.pageType == "index"'> | |
<title><data:blog.pageTitle/></title> | |
<b:else/> | |
<title><data:blog.pageName/> – <data:blog.title/></title> | |
</b:if> | |
<b:if cond='data:blog.metaDescription != ""'> | |
<meta expr:content='data:blog.metaDescription' name='description'/> | |
</b:if> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IF you want to learn how to redirect a WordPress page to another page or WordPress 404 page to another page WITHOUT PLUGIN, you are in the right place. | |
Read the detailed article here: https://www.alphawebtips.com/how-to-redirect-wordpress-page-to-another-page-without-plugin/ | |
##SEE Code below: | |
//TEMPLATE REDIRECT | |
function redirect_to_page() { | |
if(is_page('PAGE ID HERE')) { | |
wp_redirect(site_url('URL-HERE')); |