Unwanted Http 307 redirect
-
Hello Forum
I have an unwanted temporary redirect happening which makes both jetpack and of course google very unhappy. Any advice on how to figure out what is causing this redirect?
When trying to analyze this using brower view code I got the following:
I have disabled basically all plugins save Woocommerce itself, but no change in behaviour. ISP have scanned site for malware but reported nothing was there and I simply don’t know what to do.Any ideas?
Request URL:<devtools-request-headers jslog=”Pane; context: headers” style=”box-sizing: border-box; min-width: 0px; min-height: 0px;”><devtools-request-headers-category aria-label=”General”><details open=””></details></devtools-request-headers-category></devtools-request-headers>Request URL:http://dianova-ab.com/Request Method:GETStatus Code:307 Temporary RedirectReferrer Policy:strict-origin-when-cross-originResponse HeadersRequest Headers<span class=”tabbed-pane-header-tab-title” title=”” style=”box-sizing: border-box; min-width: 0px; min-height: 0px; text-overflow: ellipsis; overflow: hidden;”>ConsoleIssues</span><button class=”toolbar-button toolbar-item toolbar-has-glyph floating-toolbar-button plus-button” aria-label=”More tools” title=”More tools” role=”button” aria-haspopup=”true” aria-expanded=”false” style=”min-width: 28px; min-height: 0px; height: var(–toolbar-height); margin-right: 2px; position: relative; display: flex; flex: 0 1 auto; align-items: center; justify-content: center; padding: 0px; border-width: initial; border-style: none; border-color: initial; white-space: nowrap; overflow: hidden; color: var(–neutral-foreground-rest); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-radius: 2px; margin-left: 2px !important;”><devtools-icon role=”presentation” class=”toolbar-glyph” name=”plus” style=”flex: 0 0 auto; display: inline-block; width: 20px; height: 20px; color: var(–icon-default); vertical-align: sub; position: relative; box-sizing: border-box; min-width: 0px; min-height: 0px;”><span style=”display: block; width: 20px; height: 20px; background-color: currentcolor; mask: var(–icon-url) center / contain no-repeat; –icon-url: url(devtools://devtools/bundled/Images/plus.svg);”></span></devtools-icon><span style=”display: block; width: 20px; height: 20px; background-color: currentcolor; mask: var(–icon-url) center / contain no-repeat; –icon-url: url(devtools://devtools/bundled/Images/edge-QV-dock-to-right.svg);”></span></button><button class=”toolbar-button toolbar-item quick-view” aria-label=”Expand Quick View” title=”Expand Quick View” style=”min-width: 28px; min-height: 24px; height: var(–toolbar-height); position: relative; display: flex; flex: 0 1 auto; align-items: center; justify-content: center; padding: 0px; border-width: initial; border-style: none; border-color: initial; white-space: nowrap; overflow: hidden; color: var(–neutral-foreground-rest); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-radius: 2px; margin-right: 2px; font-weight: bold; margin-left: 2px !important;”><devtools-icon role=”presentation” name=”edge-QV-bottom_open” class=”toolbar-icon” style=”flex: 0 0 auto; display: inline-block; width: 20px; height: 20px; color: var(–preset-icon-color); vertical-align: sub; position: relative; box-sizing: border-box; min-width: 0px; min-height: 0px; –icon-color: var(–color-text-primary);”><span style=”display: block; width: 20px; height: 20px; background-color: currentcolor; mask: var(–icon-url) center / contain no-repeat; –icon-url: url(devtools://devtools/bundled/Images/edge-QV-bottom_open.svg);”></span></devtools-icon></button><button class=”toolbar-button toolbar-item toolbar-has-glyph” aria-label=”Show console sidebar” title=”Show console sidebar” jslog=”ToggleSubpane; track: click; context: console-sidebar” style=”min-width: 28px; min-height: 0px; height: var(–toolbar-height); position: relative; display: flex; flex: 0 0 auto; align-items: center; justify-content: center; padding: 0px; border-width: initial; border-style: none; border-color: initial; white-space: nowrap; overflow: hidden; color: var(–neutral-foreground-rest); background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-radius: 2px; margin-right: 2px !important; margin-left: 2px !important;”><devtools-icon role=”presentation” class=”toolbar-glyph” name=”left-panel-open” style=”flex: 0 0 auto; display: inline-block; width: 20px; height: 20px; color: var(–icon-default); vertical-align: sub; position: relative; box-sizing: border-box; min-width: 0px; min-height: 0px;”><span style=”display: block; width: 20px; height: 20px; background-color: currentcolor; mask: var(–icon-url) center / contain no-repeat; –icon-url: url(devtools://devtools/bundled/Images/left-panel-open.svg);”></span><span style=”display: block; width: 20px; height: 20px; background-color: currentcolor; mask: var(–icon-url) center / contain no-repeat; –icon-url: url(devtools://devtools/bundled/Images/clear.svg);”></span></devtools-icon><span class=”title” style=”box-sizing: border-box; min-width: 0px; min-height: 0px; padding-right: 5px; flex: 0 1 120px; overflow: hidden; text-overflow: ellipsis;”></span><devtools-icon role=”presentation” name=”triangle-down” style=”flex-grow: 0; flex-shrink: 0; display: inline-block; width: 14px; height: 14px; color: var(–icon-default); vertical-align: baseline; position: relative; box-sizing: border-box; min-width: 0px; min-height: 0px;”><span style=”display: block; width: 14px; height: 14px; background-color: currentcolor; mask: var(–icon-url) center / contain no-repeat; –icon-url: url(devtools://devtools/bundled/Images/triangle-down.svg);”></span><span style=”display: block; width: 20px; height: 20px; background-color: currentcolor; mask: var(–icon-url) center / contain no-repeat; –icon-url: url(devtools://devtools/bundled/Images/eye.svg);”></span></devtools-icon><span class=”toolbar-prompt-proxy” title=”e.g. /eventd/ -cdn url:a.com” style=”box-sizing: border-box; min-width: 0px; min-height: 0px; flex: 1 1 0%; display: inline-block;”></span><devtools-icon role=”presentation” name=”triangle-down” class=”toolbar-dropdown-arrow” style=”flex: 0 0 auto; display: inline-block; width: 14px; height: 14px; color: var(–icon-default); vertical-align: baseline; position: relative; box-sizing: border-box; min-width: 0px; min-height: 0px; pointer-events: none; margin-left: -4px;”><span style=”display: block; width: 14px; height: 14px; background-color: currentcolor; mask: var(–icon-url) center / contain no-repeat; –icon-url: url(devtools://devtools/bundled/Images/triangle-down.svg);”></span></devtools-icon></button><devtools-issue-counter id=”console-issues-counter” jslog=”Action; track: click; context: console-issues-counter” class=”toolbar-item” title=”Some problems no longer generate console messages, but are surfaced in the issues tab. Click to view 287 possible improvements” style=”text-wrap: nowrap; display: flex; box-sizing: border-box; min-width: 0px; min-height: 0px; height: var(–toolbar-height); position: relative; background-color: transparent; flex: 0 0 auto; align-items: center; justify-content: center; padding: 0px 0px 0px 1px; border: none; overflow: hidden; color: var(–neutral-foreground-rest); margin-top: -4px; margin-right: 2px !important;”><icon-button style=”white-space: normal; display: inline-block;”><button class=” icon-button with-click-handler ” aria-label=”Some problems no longer generate console messages, but are surfaced in the issues tab. Click to view 287 possible improvements” style=”border-width: initial; border-style: none; border-color: initial; margin-right: 2px; margin-top: 4px; display: inline-flex; align-items: center; color: inherit; padding: 0px 4px;”><devtools-icon class=”status-icon” role=”presentation” name=”issue-text-filled” style=”flex-grow: 0; flex-shrink: 0; display: inline-block; width: 2ex; height: 2ex; color: var(–icon-info); vertical-align: sub; position: relative; margin-left: inherit;”><span style=”display: block; width: 12px; height: 12px; background-color: currentcolor; mask: var(–icon-url) center / contain no-repeat; –icon-url: url(devtools://devtools/bundled/Images/issue-text-filled.svg);”></span></devtools-icon><span class=”icon-button-title” style=”margin-left: 0.5ex;”></span></button><span style=”display: block; width: 20px; height: 20px; background-color: currentcolor; mask: var(–icon-url) center / contain no-repeat; –icon-url: url(devtools://devtools/bundled/Images/gear.svg);”></span></icon-button></devtools-issue-counter><slot name=”insertion-point-main” style=”box-sizing: border-box; min-width: 0px; min-height: 0px;”></slot><slot style=”box-sizing: border-box; min-width: 0px; min-height: 0px;”></slot><span class=”source-code” style=”box-sizing: border-box; min-width: 0px; min-height: 0px; font-family: var(–source-code-font-family); flex: 1 1 auto; line-height: 1.2; font-size: var(–source-code-font-size) !important;”><span class=”console-message-anchor” style=”box-sizing: border-box; min-width: 0px; min-height: 0px; float: right; text-align: right; max-width: 100%; margin-left: 4px;”><span class=”devtools-link” title=”https://dianova-ab.com/sv/?v=f003c44deab6″ role=”link” tabindex=”-1″ style=”box-sizing: border-box; min-width: 0px; min-height: 0px; color: var(–sys-color-primary); text-decoration-line: underline; outline-offset: 2px; cursor: pointer; word-break: break-all;”></span></span><span class=”console-message-text” style=”box-sizing: border-box; min-width: 0px; min-height: 0px; color: var(–sys-color-on-surface-yellow);”><span class=”devtools-link” role=”link” tabindex=”-1″ style=”box-sizing: border-box; min-width: 0px; min-height: 0px; color: var(–sys-color-primary); text-decoration-line: underline; outline-offset: 2px; cursor: pointer; word-break: break-all;”></span></span><span class=”console-message-text” style=”box-sizing: border-box; min-width: 0px; min-height: 0px; color: var(–sys-color-on-surface-yellow);”></span><span class=”console-message-anchor” style=”box-sizing: border-box; min-width: 0px; min-height: 0px; float: right; text-align: right; max-width: 100%; margin-left: 4px;”><span class=”devtools-link devtools-link-prevent-click” title=”https://dianova-ab.com/sv/?v=f003c44deab6″ role=”link” tabindex=”-1″ style=”box-sizing: border-box; min-width: 0px; min-height: 0px; color: var(–sys-color-primary); text-decoration-line: underline; outline-offset: 2px; word-break: break-all;”></span></span><span class=”console-message-text” style=”box-sizing: border-box; min-width: 0px; min-height: 0px;”></span><span class=”console-message-anchor” style=”box-sizing: border-box; min-width: 0px; min-height: 0px; float: right; text-align: right; max-width: 100%; margin-left: 4px;”><span class=”devtools-link devtools-link-prevent-click” title=”https://dianova-ab.com/_jb_static/??-eJyljkEKwjAQRW/jyjQW0dpFce0BPECaTEPaJFMzKaW3N9QIXQkqDMx85v/H5/PIjJd2UkC8T/OYICx5MWd0EBEKZ3zR054ns0QfwUc+2kkbT1wjagtMeGGXaCSxDgObMagxABEXRBBXchfWpGI6Cv2JOCNKdA6ChE08N2otymEyWRarvN++x73bcKEUi8ikCPGHUpSMOBhIV/G6/qiyeWfK1TVldajP1eVUH3eybconhcuikw==” role=”link” tabindex=”-1″ style=”box-sizing: border-box; min-width: 0px; min-height: 0px; color: var(–sys-color-primary); text-decoration-line: underline; outline-offset: 2px; word-break: break-all;”></span></span><span class=”console-message-text” style=”box-sizing: border-box; min-width: 0px; min-height: 0px;”></span></span><devtools-text-editor style=”box-sizing: border-box; min-width: 0px; min-height: 0px;”></devtools-text-editor><devtools-icon role=”presentation” name=”chevron-left-dot” class=”preview-result-icon” style=”flex-grow: 0; flex-shrink: 0; display: inline-block; width: 16px; height: 16px; color: var(–icon-default); vertical-align: sub; position: absolute; box-sizing: border-box; min-width: 0px; min-height: 0px; left: -13px; top: -1px; opacity: 0;”><span style=”display: block; width: 16px; height: 16px; background-color: currentcolor; mask: var(–icon-url) center / contain no-repeat; –icon-url: url(devtools://devtools/bundled/Images/chevron-left-dot.svg);”></span></devtools-icon><span style=”display: block; width: 16px; height: 16px; background-color: currentcolor; mask: var(–icon-url) center / contain no-repeat; –icon-url: url(devtools://devtools/bundled/Images/chevron-right.svg);”></span>
http://dianova-ab.com/
Request Method:
GET
Status Code:
307 Temporary Redirect
Referrer Policy:
strict-origin-when-cross-origin
Response Headers
Content-Length:
0
Content-Type:
text/html; charset=UTF-8
Date:
Mon, 11 Mar 2024 13:17:16 GMT
Location:
https://dianova-ab.com/?v=f003c44deab6
Server:
nginx
Vary:
Accept-Encoding,Cookie
X-Loopia-Node:
172.22.223.32
X-Powered-By:
PHP/8.1.27
X-Redirect-By:
WordPressThe page I need help with: [log in to see the link]
-
Take a look at this article: https://www.wpbeginner.com/wp-tutorials/how-to-remove-vxxxx-string-from-wordpress-urls/
Thank you, very interesting!
I am using geolocation to calculate VAT already at store so this is of course what’s causing the ugly URL:s
What’s strange though is that this is what Jetpack thinks is causing this error: “Failed to generate critical CSS”The temporary redirect makes Jetpack lose it’s way and causes it to fail at generating the Critical CSS which is one of the speed boosts my site clearly needs. If it’s only caused by woocommerce normal behaviour I woulod have thought that the Jetpack people woiuld know about it and create a solution, so I’m thinking that perhaps something else is going on?
Anyway, I’ll try removing geolocation and see if it works then as a test case.
Will report back.Yeah no other redirect showing up so now I know why at last!
A nice and very much needed performance boost without this crap as well… hmm I’ll try and work around it so I can keep the clean behaviour.Best regards
The topic ‘Unwanted Http 307 redirect’ is closed to new replies.