I have integrated WordPress into my Magento 2 application using Fishpig. I have changed WordPress home address as sitename/m4blog
.
In my local http:localhost/sitename/m4blog
is working fine. But when I deployed same thing to server, then getting 404 error. In server the url is https://sitename/m4blog
. I have checked the perma links settings. Beow Permalinks settings it is like this
If your
.htaccess
file was writable, we could do this automatically, but it isn’t so these are themod_rewrite
rules you should have in your.htaccess
file. Click in the field and press CTRL + a to select all.
After this there is code for .htaccess. So I replaced my .htaccess
in server with this code . But no use. Could anybody help me out to resolve the issue?