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
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 '...
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 ...
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]
...
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 ...
-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 ...
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 ...
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?
...
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 ...
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 ...
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 ...
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А-Я]...
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 ...
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 ...
0
votes
1
answer
46
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 ...
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 ...