All Questions
Tagged with http-status-code-301 php
185
questions
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: ...
-1
votes
1
answer
100
views
I would like to trace url redirects and echo them as links
I would like to create a script that gets website redirects and echo the link except original link
Something like this website
https://wheregoes.com/
I tried this code but it doenst work,
some urls ...
0
votes
0
answers
103
views
Php header 301 redirect still let google to index content but now from my redirected domain
I've redirect my oldsite.tld site via PHP header like this.
<?php
$url_sufix = "blabla";
header("Location: http://www.newsite.tld/".$url_sufix, true, 301);
exit;
After 3 mo I ...
0
votes
1
answer
416
views
Docker - NGINX - PHP-FPM - WordPress - The Page Isn’t Redirecting Properly
I had two WordPress websites on a Synology NAS at home running on NGINX with PHP-FPM 7.4 with virtual hosts.
I am moving these websites on a Debian VM also at home, and run the services in rootless ...
1
vote
0
answers
41
views
(Wordpress) Redirection loop on homepage
I have a issue with one membership page (Wordpress) I manage, which I just can´t resolve.
On the login page only, some customer have a redirection loop, which is permanent on the test site: test.app....
2
votes
0
answers
298
views
cache 301 redirect for a long time
I would like to cache a 301 redirect. Most of the questions are about how to avoid the cache.
I was thinking to add this in php :
$seconds_to_cache = 3600 * 60 * 24 * 1000;
$ts = gmdate("D, d M Y ...
0
votes
1
answer
159
views
how can i redirect dynamic URL in worpress base on ID in htaccess or wp-config or function.php
I want to redirect 301 to the below URL
worpress.com/NewsInfoPrint?id=13624
to
wordpress.com/news/13624/
// number is ID post in WordPress and I need for all posts to do that, so the number is ...
0
votes
1
answer
683
views
Redirect not working on iphone/mobile data
I am trying to redirect to https and then a subfolder.
It works great on my iPhone until I connect to mobile data and clear my browser/cookies. Then I get a connection time out or server stopped ...
1
vote
1
answer
227
views
Redirect user through multiple domains
Does anyone know about the browser's policy about multiple HTTP 302 redirections?
Example in steps:
On domain A user clicks on a link and lands on Domain B
On domain B he is auto-redirected to domain ...
1
vote
3
answers
729
views
Yii2: Best method to intercept 404 and do 301 redirect to new page?
For SEO purposes I want to redirect my old non-Yii2 URLs to the new ones. So I need to intercept the 404 that Yii throws and respond with a 301 redirection. Where is the best place to do that?
0
votes
1
answer
256
views
301 redirect, change parameter in url, same domain and file
I have duplicate problem so I need to do some redirects,
I understand as there are parameters I need to use Query_String, however as I don't want to change page, only the parameters, I have no idea
I ...
3
votes
1
answer
548
views
301 Redirects in CakePHP 3
I'm new to CakePHP. I have a website that was built by someone else in CakePHP 3.3.16. There are links to website.com/page and also website.com/page/.
What's the best way to get /page/ redirecting ...
1
vote
1
answer
498
views
301 Redirects are not working on GoDaddy server
I have a website hosted at GoDaddy. The url is www.immi.hu. We have changed the old URLs as the old site was replaced with new One. I'm trying to redirect some old URLs to new URLs under the same ...
1
vote
1
answer
221
views
Page slug repeats endlessly when redirecting Wordpress page on localhost using .htaccess
I've read a lot of similar questions but none of them seem to work for me or be applicable.
I have a Wordpress site that I'm currently running on localhost for development.
This is the contents of ...
0
votes
0
answers
574
views
Infinite HTTP 301 redirect loop inside Symfony 3.4 application when creating a new blank slash (/) route
I am having a hard time understanding why I am hitting an infinite HTTP 301 redirect loop inside my Symfony 3.4.20 application when I build a route like this:
/**
* @Route("/temp-crmpicco")
*/
...