0

hey I just installed wordpress and everything is working fine but when I go to www.domain.com nothing shows up it only works when I go to www.domain.com/directory

anyone know how to change this?

I've tried googling it but I can't figure out how to "phrase" it to google, lol.

thanks.

  • 2
    Where is WordPress installed on your server, in the document root or in /directory? What is site address set to? – Chip Bennett Oct 4 '13 at 14:08
  • 1
    Try: codex.wordpress.org/… – s_ha_dum Oct 4 '13 at 14:14
0

try

Install WordPress in a subdirectory, such as /2012. In your root folder (not the subdirectory folder), download and open your .htaccess file. Add the following to your .htaccess file:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www.)?YourDomain.com$
RewriteRule ^(/)?$ blog [L]

In the above code, change the "YourDomain.com" value to your root domain. In the above code, change the "blog" value to the subdirectory. Save and upload the .htacess file back to your root directory.

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.