WordPress.org

Ready to get started?Download WordPress

Forums

Subdomain - wp-blog-header.php issue (1 post)

  1. HLBterence
    Member
    Posted 3 years ago #

    I just successful moved my blog [ http://www.example.com ] to [ http://subdomain.example.com ]. Now i want to make [ http://www.example.com ] my site address.How do i edit wp-blog-header.php for site url to work. Thank you so much.

    <?php
    /**
     * Loads the WordPress environment and template.
     *
     * @package WordPress
     */
    
    if ( !isset($wp_did_header) ) {
    	$wp_did_header = true;
    	require_once( dirname(__FILE__) . '/wp-load.php' );
    	wp();
    	require_once( ABSPATH . WPINC . '/template-loader.php' );
    }
    ?>

Topic Closed

This topic has been closed to new replies.

About this Topic