0

I have this strange problem. Can't get wordpress running in any sub directory except domain.com/wordpress. Files are clean wordpress download and working on other hosting (tested). Any recomendations?

edit: wordpress gives "white screen of death" when moved to other than domain.com/wordpress directory, except root (domain.com)

  • Is the path to your installation correct in the wp_options table? – APAD1 Jul 2 '14 at 20:19
  • Check your .htaccess – kaiser Jul 2 '14 at 22:08
  • there is no database or .htaccess file yet. it is clean wordpress installation downloaded from wordpress.org and uploaded to server – omxv Jul 3 '14 at 3:18
  • Probably problem with .htaccess or the site url in the setting. Or check your domain where it is pointed. – Sudeep Acharya Jul 3 '14 at 4:12
0

In wp_options, there are 2 values you need to change. The first is site_url, which is the first entry. The second one is home, which is entry 36 (page 2). These store the URL of your site, so if you wish to move it, you need to change these.

  • This is clean wordpress instalation. There is no db or .htaccess file yet. Thats why i find this problem odd. I believe it may be server misconfiguration, but maybe someone had similar problem. Wordpress instalation is launching in root (domain.com) or "wordpress" directory (domain.com/wordpress), but not working in others (domain.com/foo, domain.com/wp ...) – omxv Jul 3 '14 at 5:18
  • So in your domain.com/foo directory, it is another WordPress installation? It should be all means work fine. WP doesn't take over the URL structure of existing folders, so even if you had a /foo page on your domain.com installation, it should open up fine. Make sure the index.php file is inside domain.com/foo. – Eric Holmes Jul 3 '14 at 11:00
  • I have 1 wordpress instalation in my server. If i put wordpress in root (domain.com) it works, if i put wordpress (same files without editing) to domain.com/wordpress it works, but if i put them to any other folder, i get "white screen of death". I have been working with wordpress for more than 5 years, havent seen this before – omxv Jul 3 '14 at 11:35
  • Very bizarre. Is there any existing .htaccess file that you are moving with it? There could be a rewrite base issue. If there is this file, remove it and try refreshing. Make sure your index.php is being moved as well. Very odd, friend. – Eric Holmes Jul 3 '14 at 15:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.