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,811
questions
0
votes
0
answers
76
views
Why is my AWS ALB 301 Redirect not working?
I have an AWS load balancer that does a 301 redirect from URL test1 to URL test2. For the most part the redirect works as expected, however, when I have a script with type=module, then test1 isn't ...
0
votes
2
answers
97
views
Redirecting apex domain to non apex URL (www to non www) on GCP / GKE
There's an SEO issue where we have duplicate domains ..
For example - www.domain.com and domain.com.
I would like to recreate a 301 redirect from the apex website (www.domain.com) to the non-apex URL (...
0
votes
1
answer
18
views
301 Redirect to assimilate one website into another
I have a main website example.com and another website subsidary.com.
The subsidary.com website is to be phased out and redirects put in place.
subsidary.com will have its A record repointed to example....
0
votes
0
answers
32
views
Post method call is not working as expected because of @sap/approuter
On making the post call with json as it's payload to the backend server through sap app router, It is returning with the redirect url along with the status code 301 and because of that browser ...
0
votes
0
answers
249
views
Flutter Dio or http.MultipartRequest post Http status error [301] uploading an Image
I´m working my first project in flutter. I have a web server with mysql, and I'm loading and sending there the data with REST API PHP.
Now I have an upload folder located here:
https:///wp-content/...
0
votes
0
answers
14
views
Combined 301 Redirect www, https and subdomain
I have the htaccess lines below to redirect requests without www and https to https://www.domainname.com.
RewriteCond %{HTTP_HOST} !^www\. [OR]
RewriteCond %{HTTPS} off
RewriteRule (.*) https://www....
1
vote
1
answer
124
views
htaccess: how to avoid repeated conditions/rules
Well known issue: Google indexing engine states it can see 2x2x2=8 duplicates of the URLs, where differences are
http - https
www - no www
root/ - root/index.php
(8 duplicates for the root URL, and ...
0
votes
0
answers
258
views
.htaccess: Clear Browser Cache & Redirection
Use case is a Wordpress installation, with another in subdirectory setup through cPanel.
Code was generated for standard redirection of subfolder to index.html in subfolder subDir:
RewriteEngine On
...
0
votes
0
answers
77
views
How does HTTP redirect work with HTTP methods?
I read the HTTP response status code, location and MDN documentation, what I could understand was that:
Permanent:
301: Permanent redirect
Accepted request method: All HTTP methods
Recommended ...
0
votes
1
answer
212
views
How to use Nginx to 301 Redirect 200k+ Urls
I've been trying to figure this out for hours and have to throw in the towel. I'm used to using htaccess. I'm not receiving any error messages when reloading nginx, but none of my sample redirects ...
0
votes
0
answers
31
views
301 redirect from old domains url to new domains new url
URL redirections are not happening. I have 2 different url(old/new)
old: https://olddomain.com/oldarticlecategory/
new: https://newdomain.com/newurlcategory/
Note: I've already created a rule that ...
-1
votes
2
answers
193
views
How to Set Up '301 redirect' from '/collections/all' to '/collections/all/shop-all' on Shopify?
I'm just tryin' to set up a link as the '301 method', tryin' to redirect from '/collections/all' to '/collections/all/shop-all' on Shopify, where when I click from the 'Shop' button, it needs me to ...
0
votes
0
answers
41
views
How to fix 301 redirect loop in the client browser
I have two domains. Let's say aaa.com and bbb.com. Aaa.com was for a long time redirected to bbb.com with a 301.
bbb.com is the site that is currently live but this is on the domain that we do not ...
0
votes
0
answers
15
views
most 301 redirect going to the same wrong page
I am moving one site to another. I have set up individual redirects. But all pages are going to the "home" page instead of the target pages. Those target pages are valid. What is going ...
1
vote
1
answer
25
views
My htaccess redirects with regex aren't working
I have the following redirect in my htaccess:
Redirect 301 "^/city/(.*)-north-carolina$" "https://example.com/US/NC/$1-north-carolina-hotels.php"
When I enter example.com/city/...