Questions tagged [http-status-code-301]
The 301 or Moved Permanently error message is a HTTP standard response code indicating that the requested resource has been assigned a new permanent URI. Future references should use one of the returned URIs.
http-status-code-301
1,809
questions
1
vote
1
answer
571
views
HTTP json post on SİM800L problem. HTTPACTION responses are 301, 603 and 606
#include \<SoftwareSerial.h\>
String apn = "internet"; //APN
String apn_u = ""; //APN-Username
String apn_p = ""; ...
1
vote
2
answers
445
views
How do I 301 redirect a single page on my Cloudfront/ S3 hosted web page?
I use an AWS Cloudfront + S3 solution to host my website.
I redirect all naked domain and vanilla HTTP requests to the prefix https://www.example.com.
The following S3 Cloudfront Architecture cartoon ...
0
votes
1
answer
42
views
How do I remove S3 webpage Redirection Rules?
I created a redirect rule in the S3 console with the following logic:
[
{
"Condition": {
"KeyPrefixEquals": "category/coins"
},
&...
1
vote
0
answers
127
views
Why do I get a 401 error after a 301 redirect?
I get 401 Unauthorized when I do a 301 redirect from an AWS Lambda to the top page of my site hosted through AWS Amplify.
I also get the error Cross-Origin Request Blocked: The Same Origin Policy ...
-1
votes
1
answer
100
views
I would like to trace url redirects and echo them as links
I would like to create a script that gets website redirects and echo the link except original link
Something like this website
https://wheregoes.com/
I tried this code but it doenst work,
some urls ...
2
votes
1
answer
84
views
HTACCESS 301 : How to redirect all urls to HTTPS except spammy urls with a specific character?
I posted a question one month ago with great answers (HTACCESS 403 : How to block URL with a specific character?) : HTACCESS 403 : How to block url with a specific character?
The problem is, I ...
0
votes
1
answer
77
views
Redirection of URLs with non-latin characters
I'm having trouble with what seems like a simple redirects, but the separate online tests I've done show interesting results.
URL 1 to redirect:
https://example.com/bg/%D0%B0%D0%B2%D1%82%D0%BE%D1%80/...
0
votes
0
answers
103
views
Php header 301 redirect still let google to index content but now from my redirected domain
I've redirect my oldsite.tld site via PHP header like this.
<?php
$url_sufix = "blabla";
header("Location: http://www.newsite.tld/".$url_sufix, true, 301);
exit;
After 3 mo I ...
0
votes
0
answers
34
views
Redirect 301 htaccess is using previous changes I made of it
This is my htaccess
Options All -Indexes
ErrorDocument 404 http://localhost/proyecto-dwes-main2/errors/404.php
Redirect 301 /proyecto-dwes-main2/index.php http://localhost/proyecto-dwes-main2/errors/...
3
votes
2
answers
906
views
Nextjs - change permanent redirect status code from 308 to 301
I'm using next.config in order to redirect non www requests.
redirects: async () => [
{
source: '/:path*',
has: [{ type: 'host', value: 'example.com' }],
destination: 'https://www.example....
0
votes
1
answer
416
views
Docker - NGINX - PHP-FPM - WordPress - The Page Isn’t Redirecting Properly
I had two WordPress websites on a Synology NAS at home running on NGINX with PHP-FPM 7.4 with virtual hosts.
I am moving these websites on a Debian VM also at home, and run the services in rootless ...
0
votes
2
answers
512
views
301 Redirect in htaccess from NON WWW to https://www with single redirect
I have seen couple of solutions to 301 redirect non www http i.e. http://domain-name to https://www.domain-name but all of them (in my experience) gives 2 redirects.
Either they first redirect from ...
0
votes
0
answers
111
views
implementing 301-redirect in .htaccess
I want to do a 301-redirect from my old php-URL to the new URL in my htaccess-file:
redirecting
https://www.example.com/subpage/location-1.php
https://www.example.com/locations/locations/location-2....
0
votes
1
answer
34
views
What is wrong with my .htaccess redirect code?
I thought this would be easy. I am simply trying to redirect one page (index.html) to another page (index.php) by adding to the .htaccess file, and whatever I do, the original file (index.html) is ...
0
votes
1
answer
124
views
Need help to redirect multiple sites in 301
I would like to have help to redirect several of my secondary domain names to my main domain.
At the same time my main domain name must be redirected in "https" and with the "www".
...