Questions tagged [http]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 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
0answers
11 views

How can I redirect back from https to http URLs after I removed a SSL certificate of lets encrypt in apache2 & nginx

I configured a certificate of let's encrypt using certbot-auto and the https worked but when I was trying to remove the certificate of my domain using certbot-auto delete... my wordpress and ...
0
votes
3answers
42 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
53 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
61 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 ...
0
votes
0answers
40 views

Reverse Proxy wp-admin redirects to non-secure messed up URI

I have a working reverse proxy from one server to a WP Engine install. We are trying to get it to work with a single URI for the admin and front end. I am trying to determine if there is anything that ...
0
votes
1answer
33 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 ...
0
votes
0answers
214 views

Redirect a login form, if referer contains URL query string parameter

I am trying to redirect a default WP login form, if it's HTTP referer contains some specific query string parameter. Scenario: I need to redirect new users (the ones who just created their passwords ...
1
vote
1answer
100 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
36 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
50 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
79 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
90 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
106 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
46 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
17 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
0answers
75 views

Cron job cannot use “wp_remote_post”

I've written a script that is running once an hour on my site but it's not working. I've been trying to debug and unfortunately I haven't gotten very far. I'm getting the following error: Uncaught ...
0
votes
2answers
80 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
329 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
136 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
46 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
59 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
22 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
296 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
779 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 ...
1
vote
0answers
237 views

wrong media url in wordpress

Having the weirdest issue in a clean Wordpress installation. The media urls are being written with "hhttp" instead of "http". so, for example: http://dev.mysite.com/wp-content/uploads/... would ...
0
votes
0answers
93 views

Configure WordPress to listen on a port other than 80

Similar to changing localhost parameters, how do I serve web pages externally through a port other than port 80? Also similar to configuring Apache to listen to an alternate port. Of course, the ...
1
vote
0answers
121 views

WordPress 502 | Header Upstream send too big

In the past one of our clients ran in to the problem of having a certain page(while being logged in) return a 502 error (upstream sent too big header while reading response header from upstream) after ...
0
votes
2answers
492 views

Using the JSON API via HTTPS and HTTP

We have developed a mobile application using the JSON API plugin. The current website is running on HTTP, we are planning to change the website to HTTPS. Currently, mobile users on the live app are ...
-1
votes
1answer
672 views

The plain HTTP request was sent to HTTPS port in wordpress [closed]

I have Wordpress site and I have move form http:// to https:// and when i open first time than :443 automatic add with url and i am getting error message that 400 Bad Request The plain HTTP request ...
1
vote
1answer
40 views

Is there an equivalent to WP_Error object I can return in the case of a successful REST request?

In the case of an error at a REST endpoint I've set up, I am accustomed to returning a WP_Error object, which is convenient because I can include a code, a message, and an HTTP status into a single ...
1
vote
0answers
303 views

CF7 upload file failing [closed]

So I've been trying to solve this for days now but just don't get it. I have a form on a Wordpress site (Contact form 7) where a user can fill in some data and submit it, this will then create a post ...
0
votes
1answer
2k views

WordPress index.php seems to perform unwanted redirect 301

Thanks in advance for any help provided. Configuration: Debian Jessie Front-end Nginx (1 server, 2 server_names; rewrites working correctly), Proxied back-end Apache with no rewrites/...
0
votes
1answer
322 views

Modify wp headers on specific page

I'm trying to change the cache-control header of a specific post (1234). I tried adding the following to the end of my functions.php: add_filter('wp_headers', 'wp_test_headers'); function ...
0
votes
0answers
876 views

Wordpress HTTP 500 Error “page isn’t working”

Last week I came across "HTTP 500 error" on my website and i managed to solve it by deleting all folders in theme directory and then reinstalling theme from admin panel. Today I faced same issue. I ...
0
votes
1answer
50 views

https images not displaying

Setup Hi Guys! I have a weird issue. I'm using wordpress Premium BeTheme with ssl certificate installed. Problem The Problem is although images are uploading on the site with https but they are ...
0
votes
1answer
149 views

How to get value of custom http header?

A custom created HTTP header whose value I need to fetch and for this, I am using following WordPress function $response = wp_remote_get('http://example.com/page/'); $auth = wp_remote_retrieve_header(...
1
vote
1answer
6k views

Remove rel=shortlink from HTTP header

HTTP header of posts on my site looks like this: accept-ranges:bytes cache-control:public, max-age=0,public,public content-encoding:gzip content-length:5369 content-type:text/html; charset=UTF-8 date:...
-1
votes
1answer
6k views

HTTP Error while uploading IMAGES

Unexpectedly, I faced an issue that does not allow me to move forward: while uploading photos to the website I got a "HTTP Error". Meaning, I just cannot upload images to the website, at all. I try to ...
0
votes
2answers
78 views

My WP Website Shows HTTP ERROR 500

My website keeps showing HTTP ERROR 500 and I'm not sure what's causing it Website URL I tried a couple of debugging ideas like removed my .htaccess and renaming the Plugins folder, but still no ...
1
vote
1answer
2k views

403 error on admin login page

I've got a problem here. I have a wordpress site and accidentally changed the http to https and I am not sure that I could change it back. What is sure that it loged me out and when I reload the admin ...
0
votes
1answer
29 views

Several times request to load plugins when sending one request

When we sending 1 request to load any page (Home, Single or etc), WordPress running more than several times. For example you can adding the below code in the main plugin file or functions.php in ...
0
votes
2answers
23 views

Why is http header providing 404 while site is online?

I just transferred my wordpress website from http to https, added easyapache and http2 as well. Everything is fine and working as expected except for the fact that my homepage is giving response code ...
0
votes
1answer
211 views

Page can't hand request - HTTP ERROR 500 - when updating something

I have a wordpress website filled with lots of different content (news, posts, products in an online shop, etc.). I had some problems with the famous "Internal Server Error 500" yesterday, but after ...
0
votes
1answer
2k views

https to https problem - 404 and can't login

Really hope someone can help with a problem I’ve been trying to fix for several hours. Site in question is: http://www.lisasell.co.uk/ Firstly, content is failing to load due to them being served ...
1
vote
1answer
458 views

Change port of wordpress

I am trying to change the port of wordpress to 9000. I am using LAMP server. I tried by changing the wp_options table,the settings options and changing in the wp-config.php file. It's showing unable ...
0
votes
2answers
1k views

Changed the url into https and now can't access site admin

I recently did changed in the dashboard the url (http to https) just for test. And yes, the site doesn't work (it is all scramble). Now I can not log into the the WP dashboard to reverse the change. ...
-1
votes
2answers
679 views

Duplicator live to wamp https to http

sorry for my english... So I want to get my data from a https live site back to localhost. Using duplicator plugin works fine exept that I run (especially in Chrome) to a problem with absolute setted ...
1
vote
2answers
911 views

Get full URL of images in media library including http://

media file has //example.com/wp-content/uploads/2015/08/logo.png without http:. How to change it? I need full http:// address in my posts