scvbrent
Member
Posted 2 years ago #
Had trouble when installing wordpress, could login to site but then could not see the actual site. When typing in url you would see a 404 error.
Somehow I figured out that if I set the permalinks to numeric, the site works fine.
What would cause this??
Try resetting the permalinks in your dashboard and see if that fixes your issue. Also, did you install any plugins that may be causing the issue, or a theme that is not compatible with your wp version? Revert back to the WP default theme, if you're using a different one, and see if that helps. Also, here's more info:
http://codex.wordpress.org/Using_Permalinks
Hi,
Reset your desired permalink from wordpress admin area and then add this code in htaccess of your blog/site:
# BEGIN WordPress
<IfModule mod_rewrite.c>
ErrorDocument 404 /index.php?error=404
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Now, check with blog posts/pages.
Thanks,
Shane G.
scvbrent
Member
Posted 2 years ago #
I dont have an htaccess file??
Should I create one?
scvbrent,
Did you look in the files listed under WP? You should find it there. Same area as your wp-config.php file.