Hi,
I have replicated a wordpress site to local after install xampp for windows.
The site didn`t see correctly, the url was localhost/<mi real url> , I have tried to do a virtual host
In httpd-vhosts.conf i have this:
NameVirtualHost *
<VirtualHost *>
DocumentRoot "C:\xampp\htdocs"
ServerName localhost
</VirtualHost>
<VirtualHost *>
DocumentRoot "C:\MisProyectos\miproyecto"
ServerName miproyecto.com
ServerAlias miproyecto.com
<Directory "C:\MisProyectos\miproyecto">
Options All
AllowOverride All
Require all granted
<IfDefine APACHE24>
Require local
</IfDefine>
<IfDefine !APACHE24>
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 localhost ::1
</IfDefine>
</Directory>
</VirtualHost>
and in the hosts y have
127.0.0.1 miproyecto.com
when I go to miproyecto.com
the url in the browser changes to http://localhost/miproyecto.com/es/inicio/ it nice to see becouse that is the home page and looks like samething is working, but still remains "localhost" and I think that is the reason I get the error Object not found.
Any help.
Thanks