Object not located!

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Object not located!

Postby limonero3 » 26. July 2020 23:54

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
limonero3
 
Posts: 2
Joined: 26. July 2020 23:25
XAMPP version: 3.2.4
Operating System: W10 pro 64

Re: Object not located!

Postby Altrea » 27. July 2020 06:28

Hi,

Did you change the base url in the wordpress config too?

Best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Object not located!

Postby limonero3 » 27. July 2020 08:48

No, i didn't change nothing in Wordpress, I only downloaded a copy made with Duplicator plguin.

But I don't understand why I need to do that, to change https to http? or to add localhost to the base url?

Thanks
limonero3
 
Posts: 2
Joined: 26. July 2020 23:25
XAMPP version: 3.2.4
Operating System: W10 pro 64

Re: Object not located!

Postby Altrea » 27. July 2020 10:18

It depends on the backup plugig if it changes something to the base url or not.
At the end it is important that the url reflects the true environment, so the url you have configured in your Apache.

And maybe this thread will help, because the behavior sound like yours: https://wordpress.org/support/topic/dup ... e-new-one/
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 193 guests