I'm getting 404 error while accessing relative paths on Wordpress website copied from hosting and deployed locally as Apache vhost.
Local website is basically git clone of the existing remote website.
The following steps were performed to make it work:
VHost configured according to apache documentation.
Though, accessing a Wordrpess page identified by /relative path (relative to current domain/site) causes "The requested URL /relative/ was not found on this server" error.
I'm using the same .htaccess from the remote public_html folder.
How to achive equivalent to hosting behaviour for local vhost website?
Is .htaccess, apache2 configuration, vhost configurations should be changed?