Advertisement
Joomla on localhost
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
-
- Joomla! Apprentice
- Posts: 46
- Joined: Mon Feb 15, 2021 10:45 am
Joomla on localhost
I backed up Joomla via Akeeba backup and ran this backup on localhost.
My problem is that on the localhost I am running Administration of my website, but when I enter the site, it redirects me to Joomla, which is online on the domain. I tried both mamp and xampp localhost, the result is the same.
https://www.capster.io/video/jbzD8IpQiyfq
Where could be the problem?
My problem is that on the localhost I am running Administration of my website, but when I enter the site, it redirects me to Joomla, which is online on the domain. I tried both mamp and xampp localhost, the result is the same.
https://www.capster.io/video/jbzD8IpQiyfq
Where could be the problem?
Advertisement
- JAVesey
- Joomla! Hero
- Posts: 2730
- Joined: Tue May 14, 2013 1:21 pm
- Location: Cardiff, Wales, UK
- Contact:
Re: Joomla on localhost
I don’t see this on my local site.grezom wrote: ↑Tue Nov 12, 2024 7:58 pm I backed up Joomla via Akeeba backup and ran this backup on localhost.
My problem is that on the localhost I am running Administration of my website, but when I enter the site, it redirects me to Joomla, which is online on the domain. I tried both mamp and xampp localhost, the result is the same.
https://www.capster.io/video/jbzD8IpQiyfq
Where could be the problem?
Do you have any redirects set?
Is your “live site” in configuration.php empty?
John V
Cardiff, Wales, UK
Joomla 5.2.2 "live" site on PHP 8.3.2 and MariaDB 10.11.10 (with b/c plugin enabled)
Joomla 5.2.2 on MAMP Pro 7.2 with PHP 8.3.14 and MySQL 8.0.40 (with b/c plugin enabled)
Cardiff, Wales, UK
Joomla 5.2.2 "live" site on PHP 8.3.2 and MariaDB 10.11.10 (with b/c plugin enabled)
Joomla 5.2.2 on MAMP Pro 7.2 with PHP 8.3.14 and MySQL 8.0.40 (with b/c plugin enabled)
-
- Joomla! Apprentice
- Posts: 46
- Joined: Mon Feb 15, 2021 10:45 am
- AMurray
- Joomla! Master
- Posts: 10356
- Joined: Sat Feb 13, 2010 7:35 am
- Location: Australia
Re: Joomla on localhost
Try WAMPServer if the others don't work, although they should.
Strange, it's simply the site link from the Joomla Administrator that does to the live rather than localhost version. never had that happen to me with WAMPServer.
Strange, it's simply the site link from the Joomla Administrator that does to the live rather than localhost version. never had that happen to me with WAMPServer.
Regards - A Murray
General Support Moderator
General Support Moderator
- Webdongle
- Joomla! Master
- Posts: 44772
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Joomla on localhost
.htaccess has a redirect?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 46
- Joined: Mon Feb 15, 2021 10:45 am
Re: Joomla on localhost
I've tried deleting the .haccess, I've also tried uploading from backup, and I've also tried the default one that comes with Joomla. It still redirects me to the live version.
It even redirects me as follows: localhost -> jazykove-kurzy-nitra.sk -> vages.sk
Joomla was originally on the domain jazykove-kurzy-nitra.sk but some time ago I put it under the domain vages.sk. It shouldn't have anything to do with localhost just for info.
What could be causing these redirects?
- sikumbang
- Joomla! Ace
- Posts: 1591
- Joined: Fri Aug 19, 2005 4:37 am
- Location: earth
- Contact:
Re: Joomla on localhost
Try switching your template to Cassiopeia to check if this issue is related to the template or something else. If the issue persists, try unpublishing each module one by one, followed by the plugins, to see if the issue is related to a specific module or plugin
http://www.templateplazza.com - Joomla Extensions and Templates
- Webdongle
- Joomla! Master
- Posts: 44772
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Joomla on localhost
Used to be a problem with Virtuemart a while ago. Perhaps run the fpa from the livesite and one of the volunteers might spot a 3rd party app that could be causing it?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
- ceford
- Joomla! Hero
- Posts: 2942
- Joined: Mon Feb 24, 2014 10:38 pm
- Location: Edinburgh, Scotland
- Contact:
Re: Joomla on localhost
Is it something to do with a hosts file? You can put an IP address in it along with the domains that use it. I am afraid I have forgotten how this is supposed to work!
- cmbay
- Joomla! Explorer
- Posts: 267
- Joined: Thu Dec 31, 2009 11:53 pm
- Location: Oregon, USA
Re: Joomla on localhost
Here's a partial/sample listing from my /etc/hosts file:
Code: Select all
# Point localhost.com to this machine.
# 127.0.0.1 is the loopback address for localhost.
127.0.0.1 localhost
127.0.0.1 mylocaldomain1
127.0.0.1 mylocaldomain2
Charles
- Webdongle
- Joomla! Master
- Posts: 44772
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Joomla on localhost
Comment out
127.0.0.1 mylocaldomain1
127.0.0.1 mylocaldomain2
127.0.0.1 mylocaldomain1
127.0.0.1 mylocaldomain2
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
Advertisement