we set up a good site when the WordPress program in the form of a folder in the root directory of the space, access to add the folder name, access to the address is: http://www.xxx.com/wordpress , direct with domain name is inaccessible, workaround:
1. First copy the "index.php" in the program (in "/var/www/html/wordpress") to the root directory (/var/www/html) of the Web site, and then open the default format as follows:
Require (DirName (__file__). '/wp-blog-header.php ');
2. In fact, we just need to add the folder name of your program into the path can be:
For example:
Require (DirName (__file__). './wordpress/wp-blog-header.php ');
Generally go to the previous step to perform the third step.
If you find the open website blank after saving, just change the above sentence to the following:
Require ('./wordpress/wp-blog-header.php ');
3. Once saved, direct access to your domain will open the program.
But after such a modification, when opening a page in the site of the address bar also has WordPress, need to make the following changes:
To the WordPress installation background, in the general settings
In the "Site address (URL)" column, remove the WordPress after the address
Only change the "site address (URL)" column, do not change the "WordPress address (URL)", or the site will not open the background, page layout confusion. Please refer to http://zhaoyongtao.blog.51cto.com/10955972/1764381
Gmt
|
Test language Albanian Arabic Azerbaijani Irish Estonian Basque Serbian Belarusian Bulgarian Icelandic Polish Bosnian Persian Boer (Afrikaans) (South African Dutch) Danish German Russian French Filipino Finnish Khmer Georgian Gujarati Kazakh Haitian Creole Korean Hausa Dutch Galician Catalan Czech kuna Croatian Latin Latvia Lao Lithuanian Romanian Malagasy Maltese Marathi Malayalam Malay Macedonian Maori Mongolian, Tagalog, Portuguese, Portuguese, Hebrew, Hebrew, Spanish, Hebrew, Italian, Portuguese, Italian The old adage Bengali Burmese Hmong South African Zulu Nepali Norwegian punjabi Portuguese Chichewa Japanese Swedish Serbian Sesotho Sinhala Sinhalese Esperanto Slovak Slovenian Swahili Tagalog Cebu Somalia Tajik telugu Tamil Thai Turkish Welsh urdu Ukrainian Uzbek Hebrew Greek-English, Spanish, Persian, Persian, Persian, Persian, Romanian Spanish Hungarian Armenian Igbo Italian Yiddish hindi Indonesian Sunda Indonesian Indonesian Javanese English Yoruba Vietnamese Chinese Simplified Chinese Traditional, Japanese, Portuguese, Turkish |
|
Albanian Arabic Azerbaijani Irish Estonian Basque Belarusian Bulgarian Icelandic Polish Bosnian Persian Boer (Afrikaans) (South African Dutch) Danish German Russian French Filipino Finnish Khmer Georgian Gujarati Kazakh Haitian Creole Korean Hausa Dutch Galician Catalan Czech kuna Croatian Latin Latvia Lao Lithuanian Romanian Malagasy Maltese Marathi Malayalam Malay Macedonian Maori Mongolian, Tagalog, Portuguese, Portuguese, Hebrew, Hebrew, Spanish, Hebrew, Italian, Portuguese, Italian The old adage Bengali Burmese Hmong South African Zulu Nepali Norwegian punjabi Portuguese Chichewa Japanese Swedish Serbian Sesotho Sinhala Sinhalese Esperanto Slovak Slovenian Swahili Tagalog Cebu Somalia Tajik telugu Tamil Thai Turkish Welsh urdu Ukrainian Uzbek Hebrew Greek-English, Spanish, Persian, Persian, Persian, Persian, Romanian Spanish Hungarian Armenian Igbo Italian Yiddish hindi Indonesian Sunda Indonesian Indonesian Javanese English Yoruba Vietnamese Chinese Simplified Chinese Traditional, Japanese, Portuguese, Turkish |
|
|
|
|
|
|
|
Language features limited to 100 character options: History: Help: Anti-feedback
This article is from the "Tao Sound Still" blog, please make sure to keep this source http://zhaoyongtao.blog.51cto.com/10955972/1764831
Use WordPress to build a website to remove the domain name of WordPress