Questions tagged [http]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
17 views

Modifying request $_COOKIE

I have setup some conditional logic within a WP theme to display certain sections based a cookie value. I am trying now add some logic to override that cookie value in the request itself, based on a ...
user avatar
0 votes
1 answer
28 views

404/500 error on content images if Referer header is from another domain [closed]

Not very familiar with WordPress so I'm not sure what's causing this. Essentially, we have a few image assets stored under wp-content. When we access some assets (i.e. cmssubdomain.apex.com/wp-content/...
user avatar
  • 113
0 votes
0 answers
26 views

Broken css on mobile phones only on https

I build a page using Elementor it works fine and it responsive ( tested with inspector). But when I open the page on mobile phone some elements broke like on screen shots. But as I said in inspector ...
user avatar
1 vote
0 answers
16 views

Is it possible to access the wp-admin from one instance while keeping WP_HOME pointing to the balancing url?

I have a Wordpress running in a load balancer scheme with two instances. For security reasons, i've decided to block wp admin access from the public url and allowing it from one of the instances. ...
user avatar
  • 121
0 votes
0 answers
32 views

Colon is Missing In My Website Url in Wordpress Shortcode

So I've had this shortcode [site_url] working fine until a few days ago, now as I'm trying to use it again and it shows me a https// instead of https://. I've tried using this function: //Website URL ...
user avatar
  • 1
0 votes
3 answers
580 views

Wordpress - https : Css and Js files are not working (load on http instead of https)

i have moved my website to another server and changed the domain name, then i installed an SSL certificate, and when i change my website form http to https in wp-options and wp-config and also set a ...
user avatar
  • 1
4 votes
0 answers
74 views

Does WordPress only support HTTP 1.1?

I'm not sure if this is a bug or if I'm missing anything. But according to the documentation for WP_Http::request(), you should be able to set the HTTP protocol version with the httpversion option. ...
user avatar
  • 143
0 votes
0 answers
103 views

HTTP Error upload ( localhost )

HTTP Error .. I’ve been trying off and on to debug this issue for the last few days and thus far have had no success. The proplem starts with BuddyPress plugin ( Profile Avatar Upload Section ) The ...
user avatar
  • 1
0 votes
0 answers
24 views

Reading URL Parameters

The following URL call, is redirected and processed by the 404.php page, indented to capture the s parameter. https://www.example.com/doc/?s=par For some reason, while try to processing the s ...
user avatar
0 votes
2 answers
150 views

Display values of current POST request on page

I would like to get some value that was included in the http request header and display it on my webpage, i.e: I have a webpage, say: 'mywebsite.com' I have a POST request to 'mywebsite.com' with a ...
user avatar
0 votes
0 answers
18 views

Trouble when I try to connect to WordPress

I have 1 domain and 1 subdomain. Both have a different wordpress install on it. Once every month, cookies expire and people have to login again. Sometimes, when I and the users try to login, nothing ...
user avatar
0 votes
1 answer
143 views

Strange behavior: random HTTP error 500 fixed by visiting Permalinks settings page (htaccess issue with language code)

I’ve got a pretty weird behavior on my site that I’d like to resolve. From time to time (no recognized pattern), my site shows a 500 error, on the front pages or on some admin pages. When this 500 ...
user avatar
  • 55
1 vote
0 answers
482 views

No 'Access-Control-Allow-Origin' header is present [closed]

I keep getting this error message when I am sending a fetch request from the admin side. I want to connect to that API and get some response. Access to fetch at 'https://34557322456.execute-api.ap-...
user avatar
1 vote
1 answer
827 views

Warning: Use of undefined constant HTTP_USER_AGENT - assumed 'HTTP_USER_AGENT' (this will throw an Error in a future version of PHP)

I am new to this and I need help in figuring out how to fix this error: Warning: Use of undefined constant HTTP_USER_AGENT - assumed 'HTTP_USER_AGENT' (this will throw an Error in a future version of ...
user avatar
  • 11
0 votes
1 answer
124 views

I am receiving a pluggable.php warning sign on my only http:// page

I just recently shared a link to my site using he http to my site: http://thechronicalist.com but instead of redirecting, i just displays this: Warning: Cannot modify header information - headers ...
user avatar
0 votes
0 answers
342 views

Get "HTTP/1.1 406 Not Acceptable" when accesing my website with Delphi Indy Control

I am usig Delphi XE10.3 + TIdHTTP(Indy)(10.6.2) control to visit websites. When visiting my website via Get method, I will get an exception "HTTP/1.1 406 Not Acceptable". I am not sure ...
user avatar
  • 41
1 vote
1 answer
175 views

Redirect http to https does not work on subdir where another instance of WordPress installed

I have installed two instances of WordPress, on https://www.example.com/ and a subdirectory https://www.example.com/blogs/ Now to make all HTTP URLs be redirected to the HTTPS version, I add the ...
user avatar
  • 41
0 votes
1 answer
31 views

Redirecting specific sites to HTTP in WordPress Multisite

What I need to do is redirect only some of the sites in my multisite installation to use HTTP instead of HTTPS. Currently my setup has been so that every site redirects to HTTPS but I can't seem to ...
user avatar
1 vote
0 answers
417 views

Why does wp_remote_post returns an empty body response on certain endpoints?

Im gonna make this brief; Im using wp_remote_post to do a POST request to an external API. My local development environment looks something like "http://website.test". As of now I am ...
user avatar
0 votes
1 answer
20 views

Website Migration (with https) to a new domain(http)

We are planning to migrate one of our sites since it has been hacked and recovered. We want it to migrate to a new domain (account but same hosting). Now my problem is the site we want to migrate to a ...
user avatar
  • 1
0 votes
0 answers
96 views

Plesk login inaccessible after changing site URL

I was initially facing this issue: (I am locked out of my WordPress site after changing site URL from Http to Https). I need to access wp-config to implement the given solution and was trying to ...
user avatar
0 votes
1 answer
79 views

Understanding Redirects

I have a WordPress website that is working well. The website is shared hosted on a popular hosting site. It was migrated/transferred from a different hosting site to the current one (this point is ...
user avatar
2 votes
1 answer
6k views

Disabling the X-Redirect-By response header

Is there a clean way to not have WordPress send the X-Redirect-By response header when redirects happen? I'd like to disable it in order not to expose information about our software stack. Something I ...
user avatar
  • 123
0 votes
1 answer
74 views

Why does Wordpress uses HTTPS for JS, CSS on EC2

I have migrated Wordpress site to EC2. Domain changes done in wp-config.php & in DB tables Also set AllowOverride All in Apache sites default conf. Issue is: Even though nowhere I'm using force ...
user avatar
1 vote
2 answers
1k views

wordpress api using rest_route for other pages

Ok, so I am using WordPress rest API to fetch the data using front-end. I am having the plain permalinks and unfortunately, I am not allowed to change the permalinks. So, for https://www.example....
user avatar
  • 31
1 vote
2 answers
130 views

Redirect HTTP to HTTPS for all sub domains (blog posts)

I have a Wordpress site functioning as a blog site on a website. The main website is just basic HTML it is only www.example.com/blog which has the WordPress site. I have installed an SSL certificate ...
user avatar
  • 11
0 votes
1 answer
446 views

After changing Site http to https, can't access wp login page with a digitalocean hosting

I changed url from http to https from WP Settings. After refreshing I can't access wp-login page. It says site can't be reached or too many redirects. I have Cloudflare SSL enabled. I am on digital ...
user avatar
0 votes
1 answer
24 views

Specific Page/Post Need to Stay Non SSL

I have a website that is already SSL secured. I want to have a plugin that will give me a tick mark option to make the page/post as non-SSL. Rarely I need to use that but that is not a small amount, ...
user avatar
0 votes
1 answer
41 views

Staging Session Randomly Switched from Secure (https) to Not Secure

When I'm on my staging site making edits, occasionally the session will go from secure to "Not Secured" (shown in Chrome address bar). So, I'm in a secure session, make a change in the edit view, ...
user avatar
3 votes
2 answers
107 views

Redirect www to non-www htaccess

It's been asked a gazillion times but it's still not working in my Wordpress. I want to redirect everything to https://website.com. Current code been used: <IfModule mod_rewrite.c> ...
user avatar
  • 33
0 votes
1 answer
34 views

mixed contents admin panel is Unsecured

below link is causing mixed content url errors which gives wp-admin insecure warnings, I want to change this URL http to https I unable to find where this url is being called from <html class="wp-...
user avatar
  • 1
0 votes
1 answer
52 views

Any any insecure http:// URLs left in wordpress?

Just about everything should be https now. I just examined the 5.2.3 php files (844 files with 365741 non-blank lines -- yikes!!) and found several references that might be real. I say "might" be ...
user avatar
0 votes
1 answer
952 views

Implementing a URL Shortener

I want to create a URL shortener where I use a REST API endpoint request to get a shortened url, e.g.: mywebsite.com/wp-json/wl/v1/shorten?url=url-to-shorten.com Where I get a response with a ...
user avatar
  • 101
0 votes
1 answer
40 views

Sudden Upload HTTP errors, PHP uploads and memory limits are already to high to my taste. Anything else?

So, let me clear everything at the start: I'm not on shared hosting. PHP upload limit is already set for 700mb. PHP memory limit is set a 512mb. Nginx, PHP-FPM and WordPress' logs tells me nothing ...
user avatar
0 votes
1 answer
647 views

How to convert srcset links from https to http?

After trying SSL and having some unfortunate problem with it, I decide to go back to HTTP. Everything seems find, by the srcset attribute of <img> tag is still https everywhere. This post ...
user avatar
  • 308
0 votes
0 answers
65 views

WP Rest Api GET method restriction on route, but POST method also works

I'm doing some basic API testing and notice that restricting my new route to GET doesn't work. POST requests also go though using Postman. (PUT, PATCH, DELETE do not however, displaying a "no matching ...
user avatar
  • 347
0 votes
3 answers
83 views

Moving wordpress site from HTTP to HTTPS ERR_TOO_MANY_REDIRECTS

I want to moving my site followourtrack.fr from http to https but i have the message ERR_TOO_MANY_REDIRECTS wp-config.php : define('WP_HOME','https://www.followourtrack.fr/'); define('WP_SITEURL','...
user avatar
0 votes
2 answers
2k views

My site doesn't redirect from HTTP to HTTPS

I have SSL certificate activated on my website. I did change the settings: setting > general and edit wp-config.php to force HTTPS: define( 'FORCE_SSL_ADMIN', true ); The problem is, the ...
user avatar
0 votes
2 answers
1k views

Redirect from https to http or from http to https? [closed]

We have a WordPress blog, google is indexing http as well as https urls. Now we are considering to either redirect https to http, or to use https and redirect all http traffic there. And how can we ...
user avatar
  • 11
1 vote
1 answer
1k views

POST request not going through?

I'm still trying to see clearly in some aspects of the API. I have a custom route add_action( 'rest_api_init', function () { register_rest_route('my-project/v1/', '/form/post/', array( '...
user avatar
  • 309
0 votes
1 answer
26 views

Implications of not completing all tasks when switching to HTTPS

I've taken over a site where it's using HTTPS but when I looked in the WP Settings, it still showed HTTP. Surely this should be throwing up all kinds of errors? I know this should be changed to ...
user avatar
  • 27
1 vote
1 answer
889 views

How To Reset Ownership And Permissions of Wp-Content Folder, In Order to Fix HTTP Error When Uploading Images to WordPress Media Library

I've noticed several articles about how to deal with the HTTP error when uploading images to the WP Media library: How to Fix HTTP Error When Uploading Images? However, I've already tried adding ...
user avatar
0 votes
2 answers
71 views

All content is HTTPS, but browsers warn of HTTP mixed content [closed]

Previously Chrome, Firefox, Edge, and other browsers showed our site as fully SSL/HTTPS secure. For some reason, they now warn about mixed content. But the content in question seems to be secure. ...
user avatar
2 votes
1 answer
142 views

Cant Access Website - Changed HTTP to HTTPs

Was playing around with settings and changed HTTP to HTTPs. I'm now getting a message that says "Index of /". Any idea how to change it back to HTTP or login to the website?
user avatar
  • 21
0 votes
0 answers
149 views

Require advice handling a URL redirect from a Third Party. URL Params need to populate and then forward to payment

I'm looking for some advice in regards to how I approach dealing with a redirected URL with params. I have a client, let's say Client #A. They have a WordPress website we previously created with ...
user avatar
0 votes
0 answers
335 views

Wordpress Rest API Error 502

My Website had problems dealing with attachments (uploading seemed to result in a HTTP Error quite often) so I dug around a little. Developer Tools showed me that the /wp-admin/async-upload.php ...
user avatar
  • 121
0 votes
0 answers
353 views

Header already sent, error shows core files

I am having an error like this : Warning: Cannot modify header information - headers already sent by (output started at /home/zk2ba8xn663w/public_html/wp-includes/formatting.php:5100) in /home/...
user avatar
0 votes
0 answers
111 views

submitting form to admin-panel.php returns 500 error

submitting form to admin-panel.php returns 500 error <form action="<?php echo esc_url( admin_url('admin-post.php') ); ?>" method="post"> <input id="user_name" type="text" name="...
user avatar
  • 297
0 votes
1 answer
1k views

Choosing http or https during manual installation of WordPress and database

When you manually install WordPress, somewhere during the process it asks you to select weather your site uses http or https. Why is this? What does it matter? How will your choice translate to ...
user avatar
0 votes
2 answers
263 views

Last-Modified header support doesn’t speed up server processing - want more

I’ve just added “Last-Modified” / “If-Modified-Since” header support for some pages on my site via the recommendation here, but I didn’t see a very noticeable client page load speed improvement. This ...
user avatar
  • 101