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
2
answers
2k
views
HTTP 301 Error - Is it a big deal?
I was testing out a site using Google Webmaster Tools and noticed that almost all the links have been 'redirected'. I receive an HTTP 301 error / warning stating such. Is this actually a big deal or ...
5
votes
0
answers
2k
views
Using UrlRewriteFilter to get Tomcat to return a 301 redirect from http to https
I'm trying to find out if anyone has succeeded in using the UrlRewriteFilter
availabe from http://tuckey.org/urlrewrite/ to do a 301 permanent redirect from
http to https in Apache Tomcat but I don't ...
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
vote
4
answers
894
views
301 Redirect vs. Rel=Canonical
On our site, locale specific URLs are accessible across domains.
Say we have two URLs: dog.aspx (English) and hund.aspx (German).
The following URLs work:
www.example.com/hund.aspx (displays ...
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 ...
-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
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 ...
13
votes
2
answers
21k
views
react-router how do I use redirectLocation or the 301 or 302 status
We are about to deploy our site in reactjs and we have (re)moved one url but merged it in our main page so from /[product]/menu we merged it to /[product]. Now they said I should respond with 301 for /...
0
votes
1
answer
1k
views
python urllib.request.URLOpener returns 301 response
I was trying to download materials off the web site which didn't allow bots. I could manage to pass a header to Request this way:
url = 'https://www.superdatascience.com/machine-learning/'
req = ...
6
votes
3
answers
12k
views
301 redirect will not work with %20 in url
I am trying to create this redirect:
Redirect /commercial%20work.html http://nataliearriolaphotography.com/fine-art-photography-prints.html
The problem is that when I first created this page I left ...