Answer the question
In order to leave comments, you need to log in
CNC not working in Wordpress after copying site to AWS Amazon?
I have a WordPress site hosted by Amazon AWS.
I made a copy of the main site into a new instance, which, according to the idea, is a copy of the old instance and sent the instance to the subdomain.
All references to the domain have been replaced in the new database.
After copying, it often happens that the CNC does not work and you need to enter the "Permalinks" section of the admin panel and select the desired parameter again and click OK, I did this too, but it did not help.
The default httacess file from WordPress (I tried deleting it, assigning 777 rights to it too), did not help either.
Links work only in the id. type mode.
Tell me what could be the problem?
AllowRewrite seems to be also included in instance, since the copy was made by snapshot, i.e. the instance is identical.
Answer the question
In order to leave comments, you need to log in
htaccess is part of Apache. Few people use Apache today. Unless shared hosting. VPS/AWS most often use nginx. which means that htaccess does not play a role and you need to edit the nginx config.
However, the content of the question does not contain a word about the configuration of the server and what plays the role of the web server.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question