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.
Related
I am running a development environment on my Macintosh using AMPPS.
I have a folder with my project files. I have added this to my hosts file:
127.0.0.1 www.example.com
and I have set up the virtual domain accordingly.
When I attempt to connect to the site using Firefox:
http://www.example.com
it always redirects to:
https://www.example.com
and then complains about it.
The folder has nothing else in it but a dummy index.html file.
When I test the site in lynx or in Safari or Chrome, I get to my sample site. When I test in Firefox, that’s when I get the problem.
Firefox is my main browser, so it is possible that I have a caching problem, but I cannot see any method of clearing the cache that I haven’t tried already: trying to forget the page or clearing the cache.
I have tried all the suggestions mentioned here and elsewhere, but I am obviously missing something.
How do I stop Firefox from doing this?
Try this:
go to about:config
search for network.stricttransportsecurity.preloadlist and set it to false (double click)
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)
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.
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.
I have recently changed the name of one of the categories and created a permanent redirect url for it. But the problem is when I try to navigate to that category it gives a redirect error on firefox and IE.
If I use Safari or Chrome, it works fine. but when I use IE it just refreshes the page and when I use Firefox, I get this error
"The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete. I have cookies enabled. what can be the problem
Has anyone got same sort of issue before and if anyone has found a solution
Thanks in advance
Have you tried to remove all the cookies then restart your browser?
This happens to me right now, viewing the site that I'm currently working and then the error popped out. I tried viewing it on my chrome and it was fine. So I tried to remove all the cookies and restarted my browser and it was all fine.