When I try to access wp-admin, and such, wordpress links me wrong, the link is like duplicate. I've read somewhere that I should resave my permalinks. But when I press save then I get this:
http://example.com/wp-admin/example.com/wp-admin/options-permalink.php?settings-updated=true
And at the bottom of permalinks page there is this text that says I should copy paste some code into .htaccess
(this code):
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase example.com/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . example.com/index.php [L]
</IfModule>
But if I do that then I get a 500 server error when I try to visit my homepage.
What can be wrong?
.htaccess
file located? Do you have a subdirectory calledexample.com
?