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 https://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.https://localhost:80/Mysite/products
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]
</IfModule># END WordPress
UPDATE: I was able to swtich my permalinks to default. Then saved and then wnet back but I get https://localhost/index.php/Mysite/products and I need to remove index.
- The topic ‘Cannot view pages on local host’ is closed to new replies.