Bug if wordpress is installed in a sub directory
-
I installed WordPress with the following parameters
Site installation : https://mywebsite/subdirectory
Home : https://mywebsiteAnd wp comments do not work anymore. I get a 404 Error.
Therefore i had to replace in Gantry file : comments.html.twig
The line
<form action="{{ site.url }}/wp-comments-post.php" method="post" id="commentform">
by
<form action="{{ site.url }}/subdirectory/wp-comments-post.php" method="post" id="commentform">
site.url takes “Home” instead of “Site”
There is certainly a better way, but couldn’t find it.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Bug if wordpress is installed in a sub directory’ is closed to new replies.