Title: Edit page redirect&#8230;
Last modified: August 18, 2016

---

# Edit page redirect…

 *  Resolved [Soprano](https://wordpress.org/support/users/soprano/)
 * (@soprano)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/edit-page-redirect/)
 * Hey,
 * Every time I try to edit a post or page the edit form page redirects to the page
   I’m trying to redirect on the site.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/edit-page-redirect/#post-456732)
 * Which WP version?
    Do you have any “framebuster’ plugin activated?
 *  Thread Starter [Soprano](https://wordpress.org/support/users/soprano/)
 * (@soprano)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/edit-page-redirect/#post-456843)
 * I don’t think so,but now the problem got worse since I can’t even login to my
   admin panel.
 * [http://mysite.com/wp-login.php/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/](http://mysite.com/wp-login.php/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/wp-admin/)
 * I get this in the url and page not found. i tried with all m browsers but dont
   know whats going on.Any Ideas?
 * Thanks
 *  Thread Starter [Soprano](https://wordpress.org/support/users/soprano/)
 * (@soprano)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/edit-page-redirect/#post-456850)
 * ok I fixted the login problem but I’m still having the redirect one everytime
   I try and edit a post or page.
 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/edit-page-redirect/#post-456853)
 * 1. Look for something like this in your Plugins list:
 * **Frame Buster**
 * 2. Look for something like this in the <head> portion of your page source:
 * `<script type="text/javascript">
    if (top.location != location) top.location.
   href = document.location.href; </script>
 * Either can cause the issue you’re having.
 *  Thread Starter [Soprano](https://wordpress.org/support/users/soprano/)
 * (@soprano)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/edit-page-redirect/#post-456887)
 * yep I have the javascript script,one of the plugin required it for anti cheat
   reasons but Ill take it off 🙂
 * Thanks so much 😀
 *  [teeveesbella](https://wordpress.org/support/users/teeveesbella/)
 * (@teeveesbella)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/edit-page-redirect/#post-457163)
 * Kafkaesqui! You just solved MY problem, too! I was having the same issue as Soprano
   and thankfully, found this thread. I turned off a plug-in I had that prevented
   my site from being loaded into a frame, and it fixed the problem! Thanks so much!
   🙂
 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/edit-page-redirect/#post-457164)
 * If anyone else finds resolution to this problem here:
 * I’m aware Semiologic’s frame buster plugin was updated some time ago to deal 
   with this problem (I can’t say about any other frame buster plugins), so that
   would be worth a look.
 * And for those who do this manually, here’s what I use in my <head> element:
 * `<?php if(strpos($_SERVER['HTTP_REFERER'], get_bloginfo('wpurl')) === false) :?
   >
    <script type="text/javascript"> <!-- if (top.location != location) top.location.
   href = document.location.href; //--> </script> <?php endif; ?>
 * The PHP `if` checks whether the refer comes from your site or not. If it doesn’t
   the javascript frame buster code is added.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Edit page redirect…’ is closed to new replies.

## Tags

 * [redirect](https://wordpress.org/support/topic-tag/redirect/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 4 participants
 * Last reply from: [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * Last activity: [19 years, 7 months ago](https://wordpress.org/support/topic/edit-page-redirect/#post-457164)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
