Support » Fixing WordPress » Cannot view pages on local host

  • I installed my WP site on my local host. All the data came over fine. Can log in and see the home page. I am using IIS. Set the permalinks. When I view it at http://localhost/Mysite and then if I got to any pages it says

    HTTP Error 404.0 – Not Found
    The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.


    My htaccess:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /Mysite/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /Mysite/index.php [L]

    # END WordPress

    UPDATE: I was able to swtich my permalinks to default. Then saved and then wnet back but I get http://localhost/index.php/Mysite/products and I need to remove index.

  • The topic ‘Cannot view pages on local host’ is closed to new replies.