Support » Installing WordPress » Can't reach blog or login to WP-admin after installation

Viewing 2 replies - 1 through 2 (of 2 total)
  • It’s a conflict with a re-direct set up in the .htaccess file. Try placing an .htaccess file in the /blog folder to counteract the one in the root folder. Typically, .htaccess is not recursive and only affects the folder it is in. However, if you’ve set it up to be recursive it will affect all the subfolders.

    Thank you for your fast reply. I didn’t think of the .htacess file, thank you for solving the riddle for me.

    Not that I have now any clue about how to remedy it 🙂

    I never used .ht access files, this one I’ve set up in the root per instructions of google analytics, to support the redirect of the non www url to the www.

    RewriteEngine on

    RewriteCond %{HTTP_HOST} !^www\.tarsales\.com$ [NC]
    RewriteRule .?{REQUEST_URI} [R=301,L]

    Copied the .htaccess file to the /blog, to no effect . I suppose WP by default directs to the non www url and that is what causes the problem when having wp in its own folder on a www url?

    Is it solved if I set up the non www url as cannonical, or can it be solved by changing something in the .htaccess file in the blog folder only.

    The last solution would feel for me a lot safer to do, having lots of advertising campaigns running and not sure if they are safe when changing the cannonical url.

    Thank you for your time.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can't reach blog or login to WP-admin after installation’ is closed to new replies.