Skip to main content

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
0 votes
0 answers
16 views

.htaccess 301 redirect with # hashtag in the URL

i need to redirect a single url with a # within it. For some reason the system generated this. Old URL: https://testurl.com/part1#/part0229452 New URL: https://testurl.com/part1 I think that the '...
Johan van der Meer's user avatar
0 votes
0 answers
14 views

Bookstack permanent redirects

How to create permanent redirects from old url to new url in Bookstack application after moving pages? I am planning to reorganize pages in my bookstack wiki (move pages from one book to another), and ...
user652061's user avatar
0 votes
0 answers
16 views

Redirect of entire site not working for sub-folders

I have implemented this change to .htaccess. RewriteEngine On RewriteCond %{HTTP_HOST} ^(www\.)?stakeholdermap\.com$ [NC] RewriteRule ^(.*)$ https://www.stakeholder-map.com/$1 [L,R=301] ...
projectmonkey's user avatar
0 votes
0 answers
16 views

Can be detected by google the 301 and 308?

I wanted to know if first the 301 and 308 are exactly the same and the second if Google can detect that there is a 301 or 308 done and could penalize the websites redirected. I am trying to make a ...
Manuel Guerrero's user avatar
-1 votes
0 answers
13 views

301 Redirect dynamic urls from database in .NET Core 3.1

I have thousands of links which need to be redirect to new URL using 301 Permanent Redirect. I have all these urls in the Database table. I would like to know where should be these URLs should be ...
gomnam gomnam's user avatar
0 votes
1 answer
52 views

Using AWS CloudFront to Serve HTTPS to AWS S3 Buckets, but SOME images are stuck in a redirect loop

Yesterday, I setup Certs and CloudFront, in order to move my sites from http to https. http auto-redirects to https. The CloudFront distros point at the S3 buckets. Everything works; except, some ...
Vexen Crabtree's user avatar
0 votes
0 answers
18 views

redirect 301 every page that contains the same paramenter

Mod_rewrite - remove question mark with paramenter and redirect 301 in .htaccess Is it possible to remove the ?number= parameter that each of my pages contains and redirect 301 without this parameter? ...
MarcE's user avatar
  • 1
1 vote
1 answer
126 views

Nextjs 14 App Router How to make 301 Redirect

I have slugs of products in my project. And the slugs are dynamic and can be updated. When it is updated, I want to redirect it to the new one with 301, but I could only redirect it with 308. The code ...
ilyas's user avatar
  • 120
1 vote
0 answers
45 views

iOS Browsers Stripping API GET Headers After 301 Redirect

I have a Django Server on an EC2 container and I use Firebase to authenticate my users. To authenticate the user I use an Authorization header with the Bearer Token on my API and get the Firebase UID ...
Jorge Fernández's user avatar
1 vote
0 answers
11 views

Remov3e 301 redirect?

I want to remove 301 redirect from old url to new url. I want old url give 404 error instead of redirecting to new url. I check all the possible factors in Rankmath like .htaccess file, robots.txt ...
gircow usa's user avatar
0 votes
0 answers
24 views

301 redirect from Cyrillic capital letters to lower

I need to redirect urls containing capital Cyrillic letters to lower Cyrillic letters as they generate 404 errors on the website. I have tried this: RewriteEngine On RewriteCond %{REQUEST_URI} [A-ZА-Я]...
Alexander's user avatar
0 votes
0 answers
22 views

Best way to handle 301 redirect for my product pages

I have a lot of products which currently have url structure like this: https://www.mywebsite.com/product-name1 or https://www.mywebsite.com/Product-name1 / capital P I have rebuilded my website using ...
Alexander's user avatar
0 votes
0 answers
19 views

How to redirect individual pages with URL parameters in .htaccess without causing a redirect loop?

I have an old website written in PHP in which all of the pages are served as parameters, in the format: https://www.mywebsite.com/index.php?action=view_page&course=main&type=sausages I'm ...
TunaSweetcornPizza's user avatar
0 votes
1 answer
47 views

WordPress redirect only one URL to a Laravel site

I have a WordPress site, https://dogx.hu, and a separate Laravel eCommerce site. My primary objective is to redirect from the "/shop" URL of the WordPress site to the Laravel site. In other ...
devdani7's user avatar
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 ...
Jeff Strauss's user avatar
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 (...
Elazar's user avatar
  • 334
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....
Chris Pink's user avatar
  • 1,801
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 ...
Ruby Kannan's user avatar
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/...
Massimiliano Longo's user avatar
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....
KenAdamsTR's user avatar
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 ...
mja's user avatar
  • 69
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 ...
Laurie Stearn's user avatar
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 ...
Grizzly's user avatar
  • 385
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 ...
J.R.'s user avatar
  • 63
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 ...
Anup Dhal's user avatar
  • 619
-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 ...
Tyler Tisdale's user avatar
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 ...
Nick N.'s user avatar
  • 13.3k
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 ...
John2's user avatar
  • 1
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/...
AngryMob's user avatar
0 votes
0 answers
355 views

How to do redirect 301 between url https using Istio Virtual Service

I'm trying to perform a 301 redirect for some requests using Istio's Gateway with VirtualService. I've done everything, and it works perfectly if the request is over HTTP, but it doesn't work for ...
William Miranda de Jesus's user avatar

15 30 50 per page
1
2 3 4 5
61