Answer the question
In order to leave comments, you need to log in
Why don't links work when I go to "Post Name"?
Good afternoon! Please help me figure out and fix the problem. I made a simple site on wordpress, uploaded it to the server and found a problem - links work only if simple links like uniid.loc/?p=123 are selected in the console. I also need the links to work when going to the "post name" - links like uniid.loc/sample-post , but the links stop working. In .htaccess, I temporarily set permissions to 777, inside the following:
# 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
Answer the question
In order to leave comments, you need to log in
- remove htaccess
- go to Settings - Permalinks, configure SPU and update.
- Settings - General - change the domain to a new one
- install the better search replace plugin.
enter old domain, new domain, check change guid, uncheck idle mode, run replacement
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question