Questions tagged [http]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
22 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 ...
0
votes
2answers
28 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 ...
0
votes
0answers
12 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 ...
0
votes
1answer
79 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 ...
1
vote
0answers
56 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-...
0
votes
1answer
162 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 ...
0
votes
1answer
62 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 ...
0
votes
0answers
117 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 ...
1
vote
1answer
49 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 ...
0
votes
1answer
8 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 ...
1
vote
0answers
211 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 ...
0
votes
1answer
16 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 ...
0
votes
0answers
33 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 ...
0
votes
0answers
58 views

HTTP Header Authorization is disabled wordpress

Im using PGS Woo API for native mobile app script and i tried to install everything. but im getting the error "HTTP Header Authorization is disabled". I almost used all the solution in ...
0
votes
1answer
50 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 ...
0
votes
1answer
2k 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 ...
0
votes
1answer
23 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 ...
0
votes
2answers
330 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....
1
vote
2answers
21 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 ...
0
votes
1answer
150 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 ...
0
votes
1answer
20 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, ...
0
votes
1answer
17 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, ...
3
votes
2answers
85 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> ...
0
votes
1answer
29 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-...
0
votes
1answer
47 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 ...
0
votes
1answer
738 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 ...
0
votes
1answer
34 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 ...
0
votes
1answer
367 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 ...
0
votes
0answers
23 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 ...
0
votes
3answers
67 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','...
0
votes
2answers
1k 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 ...
0
votes
2answers
675 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 ...
1
vote
1answer
671 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( '...
0
votes
1answer
25 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 ...
1
vote
1answer
700 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 ...
0
votes
2answers
58 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. ...
2
votes
1answer
124 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?
0
votes
0answers
120 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 ...
0
votes
0answers
258 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 ...
0
votes
0answers
302 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/...
0
votes
0answers
96 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="...
0
votes
1answer
569 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 ...
0
votes
2answers
178 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 ...
0
votes
1answer
989 views

Enable CORS for getting an inline SVG by URL

TLDR; Is there a way I can enable CORS for SVGs in my WordPress back-end, so I can get them through a http request to a different domain? Ideally without having to touch .htaccess? What I'm aiming ...
0
votes
0answers
202 views

: this page isn't working. is unable to handle the request. Http error 500

I recently started a WordPress travel website hosted on bluehost. Im a complete newbie to WordPress and bloggjng. I installed a plug in called one click child theme, and went to create a child theme. ...
0
votes
1answer
75 views

Redirect HTTP request to HTTPS request

I am running a website that's not on Wordpress, it is built by another developer using custom framework and it is too terrible. That's what make me crazy now. Currently, I need to rewrite the request ...
0
votes
2answers
198 views

Why does WP HTTP API switch the method (POST/PURGE) to GET when redirecting (302)?

I discovered after much painful debugging that requests to the the WP HTTP API (in this case, though wp_remote_request()) always ended up as GET method after being redirected, even if the method was ...
0
votes
0answers
26 views

How exactly does Wordpress load themes from api.wordpress.org?

On a computer with Windows 7 there is a blocking all websites except those are specified in the file C:\Windows\System32\drivers\etc\hosts which serves as "DNS" like 123.456.789.123 example.com and ...
0
votes
1answer
997 views

Local WordPress with WAMP downloads files out of Nowhere

Before getting into details this is my problem: my local copy of a live WordPress site is downloading .php files instead of parsing them to html templates in any browser. I have installed a local ...
0
votes
0answers
2k views

How to fix this CORS error?

I made a simple site on let's say main_domain.com. Therefore I have landing_page CCT details page available on main_domain.com/landing_pages/my-landing. My goal is to hook one domain per landing_page ...