Completely solve the problem of WordPress primary domain binding to level two directory

Source: Internet
Author: User

Recently use WordPress to build a personal blog, the WordPress directory to the overall upload to the space root directory, after the installation is complete access to the domain name www.jjsir.com, access failure. After groping the setup, finally solved the problem. Here's how:

1. Login to WordPress background to set up.

WordPress Address: Http://jjsir.com/wordpress website program placed in the root directory of the WordPress folder.

WordPress Site Address: http://jjsir.com

Shown

2. Copy the wordpress/index.php to the root directory. Modifying the index.php

Require (DirName (__file__). '/wp-blog-header.php ');
For
Require (DirName (__file__). '/wordpress/wp-blog-header.php ');
Problem solving. Access www.jjsir.com now to open the home page.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Completely solve the problem of WordPress primary domain binding to level two directory

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.