How to stop redirecting url on MAMP? - osx-mountain-lion

I have been working with MAMP without any problem, but now I've finished my website, and my computer is still redirecting to my local files. I erased my site host, but still continues redirecting to MAMP. How I can delete this redirect? I've tried turning off MAMP.
Thanks in advance.

Related

How to stop URL Redirection on Browser?

I am developing a website using laravel framework. And i wanted to remove public from the URL. To do so i redirected the url http://statustan.com to http://statustan.com/public in cPanel.
I removed the redirection after sometime still the site is getting redirected to the public folder.
I used SSH to edit the .htaccess inside the root directory and have deleted it but the issue persist.
When i opened the website on another PC it is working fine without redirecting. So i searched more and found that i have to flush the DNS so I tried the command ipconfig /flushdns and restarted the browser and PC still no luck.
How to fix this issue?
Update:
I am using Mozilla Firefox Developers Edititon 60.0b10 (64-bit)
I am not facing this issue on other browsers in my PC
There was some problem with caching. When I cleared the cache going through the settings of the browsers, it worked.

Too many redirects: Clearing cookies doesn't work

I have a machine where Magento is deployed. The admin page redirected to itself so many times and now I am unable to get the admin page. I get the too many redirects error. I have already tried clearing the cookies, also made some changes in the magento configuration.
I have tried accessing the admin page from other machines, but it works fine. The problem is only on one particular machine. What possibilities could be tried to resolve the issue? There are no troubles with other sites.
It's probably not even the problem with one machine, but with chrome on this machine. Try incognito mode - if works there try https://productforums.google.com/forum/#!topic/chrome/YzvpLaOmVrY (if it doesn't - check if any of your extensions is allowed to work in incognito mode)

Magento 1.8.1.0 can't login redirect without error on VPS (no local machine)

When I login on Magento, it redirects me to the login screen with the url:
http://www.notitieboekjes.nl/index.php/everlake/index/index/key/5cc09b2a09c7081ba3806585fce1347a/
I do not get an error message of any kind.
I've found quite some posts about this, but all are about a Local Server.
I have a clean magento (1.8.1.0) install on a VPS.
Tried everything from this post (which is about a VPS, but solutions are aimed at a local):
Can't login to Magento admin
&
http://www.magentocommerce.com/wiki/how_to_fix_login_for_admin_on_local_install#dokuwiki__top
all to no afail.
Does anyone know a solution to this problem?
A special note: After the magento installation I had to set the Temp Directory Manually.
As said tried all options, magento isn't installed on a local machine. So I'm lost.
All help is very much appreciated. Thanks
You need to ensure you have all required PHP extensions to run Magento on your VPS:
php5-mcrypt
php5-gd
php5-curl
php5-mysql
Second, I think you're getting the login page all the time even with correct credentials. Try logging in using Google Chrome in Incognito Mode (CTRL+SHIFT+N). The reasoning here is that sometimes there are stray PHP session ID's stored on your browser that doesn't invalidate correctly. I noticed this as well with 1.8.1.0 up on non-SSL admins.
A permanent fix if the above works for you is to just get SSL and use it for your backend as well.
So I have reinstalled magento using the Downloader.
Now the problem doesn't occur anymore. Don't know why, but I'm happy.

xampp - no longer loads local website but always redirects to internet version of site

I have a website that is live and a version that I am working on locally using XAMPP. For some reason every time I try to load:
http://localhost/websitename
or
http://127.0.0.1/websitename
it goes to the internet version. This has only started happening. All services are started. XAMPP is working for all other sites that I am working on locally.
Check your site settings as I believe you're having the url in your website set to the live version.
This can have alot of reasons.
What does your windows host file have for redirect rules (C:/Windows/system32/drivers/etc/host) I assume that you use Windows because you said "xampp", correct me if im wrong)
Check for header(); redirects within your websites php scripts.
Do you have a v-host entry redirecting you to another url in your v-host config of your apache?
Check if you have any hard-coded url's? or redirects? in the project that are redirecting to the live version.

The whole UI gone from the website

I'm working on this website. Because the client changed some settings the 'index.php' was gone from website and I corrected. From then the whole UI of the website is gone. I tried to do something from the backend and the was wondered to see the backend also gone. It just redirects to the from end once I log-in for back. Are there any solutions for this. Please suggest. I'm in very much need of it.
Go to admin->system->configuration-> General->Web-> for both Unsecure and secure ->'Base URL' should not end with index.php
Flush the cache after changing the settings.
A fewdays back when I was working in my localmachine I faced the same problem. I'm not sure why the UI has gone, But the solution worked for me is:
In server cmd prompt, I have stopped the IP tables by command -- service iptables stop and by disabling selinux by command -- setenforce 0 ... After giving these two commands, clearing the cache , the site came normal. But these cannot be implemented on online servers. Just try with these. If it works then can come to conclusion, that server is fine.

Resources