简体   繁体   中英

Redirect to same page - the page is in endless loop

I have made a huge mistake. I am working with a backend system, where I am only allowed to post simple html and CSS code.

I needed to make a redirect from page x to page y. Therefore I posted this code:

<meta http-equiv="refresh" content="0; url=site.com/page/page-x">

But I made a mistake, so I made the redirect to the same page. That means the page is just refreshing every 0.5 seconds. I cannot make it stop, so I can delete the code I made in the backed.

Can I stop the redirect in the inspector window in Chrome or Firefox, so I can delete the redirect code?

I cross my fingers somebody can help me.

Try disabling META REFRESH in the browser.

In Firefox, go to about:config , find accessibility.blockautorefresh and set it to true .

Hopefully it will prevent a page from refreshing.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM