Søg i Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

firefox redirects to localhost instead of live site

more options

I'm a developer and I usually build my sites local and then migrate to my live server. for example, locally the website is "xxxx-local" then when it is live the new site is "xxxx.mywebsite.com" (a subdomain)

now that the site is live on the subdomain, when i type in xxxx.mywebsite.com is immediately redirects to xxxx-local

it is not an auto completion problem, i am making sure it is fully typed in and then press enter or the go (arrow) button

it is not because the site doesn't exist, because (as usual) it works just fine in Chrome. No time wasted figuring it out.

Also, I have already tried about:config and changed "browser.fixup.alternate.enabled " to false.

Anyone know why it does this and how to fix it?

FWIW firefox 54.0 and windows 7, running wamp.

I'm a developer and I usually build my sites local and then migrate to my live server. for example, locally the website is "xxxx-local" then when it is live the new site is "xxxx.mywebsite.com" (a subdomain) now that the site is live on the subdomain, when i type in xxxx.mywebsite.com is immediately redirects to xxxx-local it is not an auto completion problem, i am making sure it is fully typed in and then press enter or the go (arrow) button it is not because the site doesn't exist, because (as usual) it works just fine in Chrome. No time wasted figuring it out. Also, I have already tried about:config and changed "browser.fixup.alternate.enabled " to false. Anyone know why it does this and how to fix it? FWIW firefox 54.0 and windows 7, running wamp.

Alle svar (7)

more options

It is possible you have left some code in place on the page uploaded that is still being found so redirects back.

The usual is to clear your Firefox cache as it is holding the file in there or please use Microsoft Disk Cleanup or the program of your choice to empty Temp Files.

If using .ASP or .PHP these need to be explored if answer is yes.

I suggest these as I have done the same thing making pages.


Please let us know if this solved your issue or if need further assistance.

Ændret af Shadow110 den

more options

Did you check the HTTP response headers in the Network Monitor?

See also:

more options

Well thanks for replies, the problem was eventually solved, but unfortunately I did it non-scientifically by trying too many things at once. Probably just the cache. So I guess Pkshadow solved the problem.

I am pretty sure it was not flushing the DNS, but I mention that in case someone else has similiar problem.

Thanks you for links to network monitor and a http-headers, now I have more things to learn about.

What I don't understand is why the cache would do this if the url was completely different and I made a point to change the content of the page. What is the cache focusing on to think it was the same page. So I guess I need to learn more about cache. I remember a few years back having to empty cache all the time to see changes in style sheets, but lately this has not been a problem even with very minor changes to css.

Also, FWIW, this was a wordpress (php) site.

I want to leave this open for a bit in case anyone has comments, or else after a bit I will come back and mark it solved.

more options

mmm...have no idea why the sentence was formatted funny (as code?). I wish I could edit my replies.

more options

There should be a link to the right of each of your own replies to edit it.

The reason the forum treated that line as "preformatted" text is that it had at least one space at the beginning. It's based on an old "wiki" syntax.

more options

Thanks jscher I am obviously a newb here, totally missed the edit this post button. Searching the site for FAQ etc or a guide, trying to figure out the difference between "was this helpful" and "mark as solved" as I want to give people their credit for helping.

Ændret af Divvy den

more options

Divvy said

Searching the site for FAQ etc or a guide, trying to figure out the difference between "was this helpful" and "mark as solved" as I want to give people their credit for helping.

You can "Helpful" any post using a button below it; no need to use email notification links.

But you can only choose one "Solution."