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

Unsure how to rewrite htacess to include 301 redirects... (Multiple RewriteEngine ons?)

I am VERY novice on this, having used 301 redirects for other websites a few times. This time, the website has an existing htaccess file that has some "bad bots" directives. Here is a sample ...
John's user avatar
  • 1
1 vote
2 answers
862 views

NextJS - Change all redirects from 308 to 301

I have a requirement from a customer SEO to redirect all pages from 308 to 301. Project is developed in NextJS 13 with page folder. I've handled most of the cases (old pages to new pages after ...
Radek's user avatar
  • 11
0 votes
1 answer
72 views

s3 redirect aws javascript sdk. x-amz-meta appended to x-amz-website-redirect-location

I am trying to put an object to S3 to redirect. I can create the object without problem however in setting the meta data the 301 redirect is not work. The meta data key is created however this is user-...
toomanylogins's user avatar
0 votes
1 answer
45 views

Strange Characters at end of URL and 301 wont redirect them to correct url

The below weird URLs popped up on Google console... I didnt add them and I dont know where they came from. https://www.example.com/gallery.html?page=3 https://www.example.com/gallery.html?page=2 ...
David's user avatar
  • 11
0 votes
1 answer
635 views

Dio invalid status code of 301. Tried many things but it doesn't work

This is a reference to how the data is supposed to look: This is how I did it: Future<Response> post() async { try { //--- final Response response = await _dio.post( &...
Ziad H.'s user avatar
  • 629
0 votes
1 answer
65 views

301 Redirect with characters at the end of the link

I disable my AMP plugin and i have two type AMP Pages and want to want to redirect them to orginal pages these pages with 301 redirect: https://example.com/post-name/?amp=1 https://example.com/post-...
Pouya Zehfroush's user avatar
1 vote
1 answer
68 views

Regex 301 RedirectMatch in .htaccess not working

Some time ago my WordPress site was hacked and was redirecting all clicks from Microsoft and Google search results to a some kind of Japanese auto part store. It was happening for few weeks, during ...
Guntar's user avatar
  • 503
0 votes
1 answer
2k views

Curl: 301 Moved Permanently

I am trying to write a script to download a file using curl command line. According to previous post, I should be able to follow a 301 using the -L flag. Here is what I am seeing on my Ubuntu 22.04.1 ...
malat's user avatar
  • 12.2k
2 votes
1 answer
1k views

Nuxt 3 : How to redirect all 404 to home page with a 301 (SSR)

I am searching how to catch all my 404 pages on my Nuxt 3 project and redirect them using a status code 301 to the home page (using SSR).
Ifnot's user avatar
  • 5,065
1 vote
1 answer
73 views

301 Redirect All interal pages to a new domains internal page via htaccess

I wish to 301 redirect all the internal pages of old URL to a singal destination of new URL via htaccess file. like I am looking to redirect http://www.advancedbuildings.org/...
Gaurav 's user avatar
0 votes
0 answers
100 views

Redirecting non-WWW to www

I hold my website on google cloud with one-click deploy wordpress. GNU/Linux system, Apache. I want to redirect https://example.com to https://www.example.com. So I update the .htaccess file as the ...
ledison03's user avatar
0 votes
2 answers
38 views

Problem making API request on Skiddle: 301 moved

I'm trying to request events through the skiddle API, using endpoint http://www.skiddle.com/api/v1/events/search/, but when I try I get the following response: HTTP/1.1 301 Moved Permanently Server: ...
Jodes's user avatar
  • 14.5k
0 votes
1 answer
89 views

Set 404 redirect before 301 with IIS config file

I got a website where is working 301 redirect from url with "/" in the end to the same link without "/". e.g. from www.website.com/test/ to www.website.com/test it seems that this ...
HuekoMundo's user avatar
1 vote
1 answer
70 views

301 Redirect a URL to the home page using htaccess not working

I am trying to 301 redirect from:https://www.domain.co.uk/?404;http://www.domain.co.uk:80/sn-down-to-earth.html to https://www.domain.co.uk/ In my .htaccess file I have the following: Redirect 301 &...
Chudz's user avatar
  • 160

15 30 50 per page