http-status-code-301 Questions
2
Solved
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 f...
Stelmach asked 23/5, 2016 at 10:17
3
Solved
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 l...
Airdrome asked 4/1, 2013 at 20:9
3
Solved
What's the difference between HTTP 301 and 308 status codes?
301 (Moved Permanently): This and all future requests should be directed to the given URI.
308 (Permanent Redirect): The request and a...
Bensen asked 9/2, 2017 at 12:32
2
Solved
I am trying to make LINK FINDER app in ASP
It working is divided into 5 step
Send http request to server at www.foo.com
Check status of request
If its 200 then move to step 4 otherwise show erro...
Dight asked 3/12, 2013 at 18:16
19
I am debugging a problem with a HTTP 301 Permanent Redirect. After a quick test, it seems that Safari clears its cache of 301s when it is restarted, but Firefox does not.
When do IE, Chrome, Firefo...
Oswald asked 3/2, 2012 at 14:42
8
After a successful creation of new item in my database I send:
res.status(201).json({message:"Successfully Registered"});
On my angular front end I am able to console.log(res) and receive:
{mes...
Febrifacient asked 16/4, 2018 at 18:14
7
I need to redirect visitors from /Contact to /contact.
When I am doing it as described in the docs I get an infinite redirect loop.
This is what I tried:
// next.config.js
async redirects() {
retu...
Multiplicand asked 1/9, 2020 at 21:34
4
Solved
I have implemented SEO URLs using Apache 301 redirects to a 'redirect.cfm' in the root of the website which handles all URL building and content delivering.
Post data is lost during a 301 redirect...
Dantedanton asked 29/11, 2012 at 15:13
7
Solved
How can I redirect all 404 errors to homepage? I have custom Error Page but google analytics is throwing too much errors.
Wiggs asked 1/3, 2016 at 8:16
34
Is it possible to redirect a user to a different page through the use of PHP?
Say the user goes to www.example.com/page.php and I want to redirect them to www.example.com/index.php, how would I do...
Gwenny asked 20/4, 2009 at 14:13
25
Solved
I would like to redirect www.example.com to example.com. The following htaccess code makes this happen:
RewriteCond %{HTTP_HOST} ^www\.example\.com [NC]
RewriteRule ^(.*)$ http://example.com/$1 [L...
Silvia asked 24/10, 2008 at 18:19
8
Solved
Is the client supposed to behave differently? How?
Antonetteantoni asked 8/9, 2009 at 10:47
2
I'm trying to redirect urls from this format:
http://localhost:8080/setup/xyz/?code=some-code
to this:
http://localhost:8080/app/#/setup/xyz/?code=some-code
I've tried with both proxies and rew...
Chartulary asked 1/3, 2018 at 17:2
7
Solved
After a site redesign, I've got a couple of pages that need to be redirected. Everything is staying on the same domain, just a couple of things have been reorganised and/or renamed. They are of the...
Theis asked 14/9, 2009 at 11:47
2
Solved
We recently migrated to SSL, and the site works great with the exception of one function. The function uses curl in the code below to execute an api located on the same server.
The url variable for...
Whitby asked 7/5, 2018 at 18:24
2
Solved
I learned to use Connection: close when doing 301 redirects in Java
response.setStatus(301);
response.setHeader("Location", "http://www.example.com/");
response.setHeader("Connection", "close");
...
Boyceboycey asked 6/7, 2011 at 20:13
4
Solved
Namecheap and other registrars provide a way to setup HTTP 301 or 302 redirects when configuring DNS. It is a nice feature since otherwise you would need to implement it yourself. See screenshot be...
Stannum asked 18/12, 2017 at 9:28
2
Solved
I was looking at the 301s that several 2.level domains use to redirect to their www 3.level domain, and I thought curl on its own was enough, for example
curl myvote.io
<HTML><HEAD>&l...
Cullan asked 13/10, 2014 at 16:34
2
Solved
I am using Scala dispatch HTTP library, version 0.10.1. I make a request to a URL that returns an HTTP 301, permanent redirect. For example, http://wikipedia.com returns a 301 that redirects to htt...
Phira asked 14/6, 2013 at 15:51
3
I'm moving my site from old-domain.com to new-domain.com with exactly the same pages, e.g., if old-domain.com has a page1.html (i.e., old-domain.com/page1.html) then the new domain has the same pag...
Isolde asked 17/5, 2012 at 20:46
3
Solved
I'm trying to write a map for my website and it's working great:
map $request_uri $redirect_uri {
/en/oldname /en/newname;
/de/oldname /de/newname;
/fr/oldname /fr/newname;
}
until I try to i...
Tila asked 11/7, 2017 at 22:48
3
I am looking to migrate from old domain to new domain.
I have my old domain olddomain.com and new domain newdomain.com pointing to same ip address for now.
I have Apache server inplace to handle ...
Verrucose asked 14/10, 2013 at 9:22
2
I inherited a domain that previously had a 301 redirect from the root ("/") to "/index.shtml"
I've removed the redirect and a different site on the domain, but people who visited the site in the p...
Lanford asked 30/4, 2014 at 20:1
6
Solved
I have a new author site that I want to make available from a domain that I had previously used Apache rewriting to bounce traffic to my Amazon site, [R=301,L], which I want to serve up as my own s...
Judicature asked 22/4, 2013 at 19:1
1
Solved
I'm accessing nasa pictures with their public api, but i get this error:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at
[nasa api website] (Reason: C...
Aaronson asked 28/3, 2020 at 14:58
1 Next >
© 2022 - 2024 — McMap. All rights reserved.