Questions tagged [http]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
11 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 ...
3
votes
3answers
1k views

Setting Last Modified HTTP Header on static Home Page

In response to the question asked here I find myself and this other user needing a solution to set a last modified header that contains the date and time of the most reicent post. Since we both in ...
0
votes
2answers
23 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....
8
votes
1answer
6k views

How to remove rest api link: in http headers?

i would like to remove the "link:" line added to the http headers since wordpress 4.4 here is a curl -I killcandida.org here is the output extract of the line that i would like to delete: Link: &...
0
votes
1answer
662 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
2answers
689 views

Switch https to http

My https has just expired. I have switch my domain from https to http in wp_options table. But all my assets are still on https when I visited website, I got all assets link error with 404. How can I ...
15
votes
5answers
21k views

Hiding WordPress REST API v2 endpoints from public viewing

I would like to start using the WordPress REST API v2 to query information from my site. I've noticed that when I visit an endpoint URL directly, I can see all of the data publicly. I've also seen ...
1
vote
2answers
13 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 ...
1
vote
1answer
2k views

Remove HTTP: from the site URL and just keep // in it

I am building a website for my company which loads over HTTP inside the company and over HTTPS outside company's network. This is a compulsion and there is no way we can avoid it. The site needs to ...
0
votes
1answer
641 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
1answer
12 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
2answers
917 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 ...
0
votes
0answers
10 views

Can't Prevent Repeated Views and Exclude Bots(using HTTP user Agent) with PHP Post View Counter

I have been trying to make a Post View Counter for my WordPress Website. I intend to exclude Bots from being counted for which I used PHP user Agent and excluded most of the bots. Then I wanted to ...
1
vote
2answers
580 views

Is curl required?

My admin panel is very slow I've tried to debug the issue. I nailed it to the function wp_remote_post and an internal error message thrown by curl on this line return new WP_Error( '...
0
votes
0answers
15 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
646 views

Slow wp-cron HTTP requests

My website is very, very slow. Using Query Monitor, I diagnosed slow HTTP Requests, taking up to 40 seconds (usually 12 secs). These HTTP Requests are POSTs to http://website.com/wp-cron.php?...
0
votes
1answer
153 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
1answer
12 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, ...
0
votes
1answer
707 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 ...
3
votes
2answers
60 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
23 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
0answers
22 views

My mp3 file won't upload into wordpress

I've Googled it, I watched YouTube videos, I've looked it up in domain provider, and wordpress. I cannot find anything that can help me with uploading my mp3 file. It's not bigger than what's ...
0
votes
1answer
284 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
42 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
32 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
0answers
20 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
101 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
3answers
59 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','...
2
votes
2answers
2k views

Getting soft 404 errors (200 status) when caching plugins are enabled

I have a blog running the latest stable version of WordPress on a dedicated virtual server with the following situation. (Replace [caching plugin] with W3 Total Cache, Hyper Cache, or Quick Cache, as ...
0
votes
2answers
488 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
220 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
1answer
317 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( '...
1
vote
1answer
353 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
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
8k 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:...
2
votes
1answer
3k views

Remove the http protocol from images

I've been banging my head on the wall trying to filter my posts to remove the http: protocol from the img src and I think I may have found a solution. Does anybody see anything wrong with this ...
6
votes
5answers
8k views

Where to get information about array fields in $_REQUEST?

I just started to learn PHP and doing things with WordPress and I am a bit confused about information in Codex. Was told that Codex got all info I required but I got stuck with it. What array fields ...
2
votes
2answers
9k views

HTTP Error when uploading mp4 video file

This is a repeat issue, but none of the other threads have had a solution that helps me. I am using WordPress 4.7.3 running the Dani theme from Envato. When I try to upload my mp4 video file, I get an ...
0
votes
2answers
45 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
96 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
182 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
210 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
84 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
137 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
121 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 ...
3
votes
3answers
4k views

force http canonical tag on https pages

At present all https pages have their own canonical tags referencing https, which is incorrect, they should be referencing the http versions. e.g: https://www.example.com has the following ...
0
votes
0answers
183 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. ...
1
vote
0answers
136 views

HTTP Error after finishing uploading a video that is bigger than 64 MB -> After raising the upload limit manually in the wp-config file

I use Dreamhost as my web host. Previously my WordPress upload limit was 64 MB. I asked the tech from Dreamhost to boost it to 400MB. He told me I had to change a setting in my wp-config.php. That's ...
0
votes
1answer
161 views

CSS/JS is not working in multi lang installation

I am facing a problem of loading the CSS and JS files, in the main language (when I type www.site.com) the style is working fine but when I change the language to English ( www.site.com/en/) the ...
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 ...