Elxis CMS Forum

Support => General => Topic started by: wieyoga on August 02, 2016, 12:19:49

Title: 302 Moved Temporarily
Post by: wieyoga on August 02, 2016, 12:19:49
Just got an issue when update the site into Elxis 4.5 Typhon

Got 302 Moved Temporarily  when checked validator markup at https://validator.w3.org/

"unexpected response when trying to retrieve <https://www.easyresv.com/>:
302 Moved Temporarily
More information about why this is happening may be available from warnings reported by the validator's HTTP (and other protocol) client library:
 Redirect loop detected (max_redirect = 7)

Also on google search console got significant error ( almost all url with prefix reservations/ got error code: 403  )
1 reservations/hotels/id/bali/  - error code: 403  - date checked  7/29/16
2 reservations/hotels/id/bali/nusa-dua/the-bale.html - error code: 403 - date checked 7/27/16
3 reservations/hotels/id/bali/nusa-dua/samabe-bali-suites-villas.html - error code: 403 - date checked 7/27/16

this issue reported by google system but once i getting there there is no error - when i mark as fixed i got another error from google

is there any idea how to fix
Title: Re: 302 Moved Temporarily
Post by: datahell on August 02, 2016, 13:30:05
Elxis has nothing to do with this. You have a redirection that redirects everything to https even if it is already https. Additionally all html sources (css/js/etc) also get redirected. With a single visit I counted 19 redirections. Fix the problem in htaccess, web hosting control panel or nginx and use the page bellow to test it:

http://www.redirect-checker.org (http://www.redirect-checker.org)
Title: Re: 302 Moved Temporarily
Post by: wieyoga on August 03, 2016, 05:36:25
Hi @datahell,

Thank you for reply,
I tried to restore the .httaccess file into original one also change URL address* on setting to http but facing same problem.

just curious, it may the problem coming from my hosting, but the hosting look fine when i access the static html into same directory
https://www.easyresv.com/default.html

Title: Re: 302 Moved Temporarily
Post by: datahell on August 03, 2016, 07:47:44
Send me a pm with access for your site ftp to check it.