Is there a folder called curiosity under the wordpress folder? If so, delete it.
no, there is no folder under the wordpress folder.
Are pretty permalinks set on your primary site?
And does that WORK? This is local host, so I can’t go look π
I don’t what to do. I can try to connect my wordpress on a free server host.
Start with this: Do pretty permalinks actually WORK on your site?
it’s a simple, yes/no question π When you go to look at a page like http://localhost/wordpress/blog/sample-post/ does the content show?
no, no content shows when I go to http://localhost/wordpress/blog/sample-post/, just a 404 error
Okay π Good! What’s in your .htaccess file?
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
but i also replaced it with this but this brought up an Internal Server Error page for my whole wordpress.
RewriteEngine On
RewriteBase /wordpress/
RewriteRule ^index\.php$ - [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
Change RewriteBase /wordpress/
to RewriteBase /
the change still made it say 500 Internal Server Error:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
Change it back to
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wordpress/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Does THAT show links on the main site? (Note: I expect your subsites to still fail, but I want to see if we can solve the 404 on the main site first)
Great! We have an idea what’s wrong then, but you won’t like it.
The likely issue is that the way you set up your localhost server (MAMP or XAMMP or whatever you used) does not have AllowOverride set to All or Options All in the httpd.conf file.
What localhost setup are you using?