• Resolved hazeblue

    (@hazeblue)


    Hello,
    I have attempted to install WP a few times on my website. The reason i installed and removed it over and over ( I’m new at this ) is that the site url kept showing /wordpress at the end – domain.com/wordpress, and at domain.com all i got was the index which I obviously dont want people to see.
    Then I used this redirect command in my htaccess file, something like
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^(www.)?YourDomain.com$
    RewriteRule ^(/)?$ blog [L]
    which messed up big time! ??
    Now i have installed it for one last time ( and i installed it directly on the root folder so I won’t have /wordpress url again!)
    The problem now is that the site gives an error “The requested URL /wordpress/ was not found on this server.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.” when I type domain.com (without www) and is redirected to domain.com/wordpress.
    So perhaps I have messed up my htaccess file? I tried after removing the commands in it but its still the same error!
    Can anyone understand what went wrong Or should I just reinstall the whole website? I really dont want to do that again!
    Help!

    But the site works fine with the url https://www.domain.com.

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘site does not open without WWW / redirects to domain.com/wordpress’ is closed to new replies.