Title: Redirection 302
Last modified: June 27, 2018

---

# Redirection 302

 *  Resolved [mainjin](https://wordpress.org/support/users/mainjin/)
 * (@mainjin)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/redirection-302-2/)
 * Hello,
 * I don’t know why I have redirection 302 when I try to change theme.
    If I try
   to access to [http://localhost/mywebsite/?theme=onepress&passkey=9126603745b3384b7ee4b6](http://localhost/mywebsite/?theme=onepress&passkey=9126603745b3384b7ee4b6)
   I’m redirected on home page with active theme.
 * There is nothing in . htaccess file.
 * Thanks for reply

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

 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/redirection-302-2/#post-10441087)
 * Glad to help. There is nothing in the plugin that would cause a 302 redirect.
   Normally switched themes display the homepage (if coming from the plugin settings
   page), or whichever current page the user is viewing (if switching via the frontend).
   So if that is not happening in any particular case, most likely something is 
   interfering with normal functionality. Here are some general things to check/
   try:
    - Try clearing browser cache to make sure latest JavaScript is loaded
    - Try testing on a default WP setup to see how it works normally
    - Do some basic troubleshooting of your theme and plugins
 * If it will be useful for you, here is a [guide to troubleshooting WordPress](https://perishablepress.com/how-to-troubleshoot-wordpress/)(
   specifically for this case check out the sections on “Plugins” and “Themes”).
 * Let me know if I can provide any further infos, glad to help however possible.
 *  Thread Starter [mainjin](https://wordpress.org/support/users/mainjin/)
 * (@mainjin)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/redirection-302-2/#post-10443024)
 * Hello,
 * I try in live environnement and it’s better. It was on my localhost and I don’t
   why there was 302 redirect.
    But now when I switch theme there is no content.
   This is the default theme without the content that appears
 * Can you help me?
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/redirection-302-2/#post-10443032)
 * Hmm.. interesting. Are you seeing any error message, or just a blank white screen?
 *  Thread Starter [mainjin](https://wordpress.org/support/users/mainjin/)
 * (@mainjin)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/redirection-302-2/#post-10443107)
 * No it’s not blank white screen. I see the theme as default content. I try it 
   with OnePress and Zerif Lite. Before I put my content in each theme, I changed
   section or images… But when I use your plugin to switch, it’s like I didn’t make
   something…
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/redirection-302-2/#post-10445304)
 * Not sure.. one thing that I would recommend is taking a look at your error/debug
   logs. They will tell you if there are any warnings or errors that may be happening.

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

The topic ‘Redirection 302’ is closed to new replies.

 * ![](https://ps.w.org/theme-switcha/assets/icon-256x256.png?rev=1501320)
 * [Theme Switcha - Easily Switch Themes for Development and Testing](https://wordpress.org/plugins/theme-switcha/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/theme-switcha/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/theme-switcha/)
 * [Active Topics](https://wordpress.org/support/plugin/theme-switcha/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/theme-switcha/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/theme-switcha/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/redirection-302-2/#post-10445304)
 * Status: resolved