Questions tagged [redirects]

A page, link or command that points URL requests to another URL in the world wide web. Redirects can be either server-side or client-side through the use of javascript.

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views
+50

302 redirect when the request has come via a load balancer

I have the following setup: HTTPS request -> AWS ALB -> Mapped to HTTP (one of two possible ports) -> Websphere 9.0.5 This works fine, except: When I go to my url without a trailing slash (e....
1 vote
0 answers
23 views

How can I remove the indexing to my site of a secondary domain no longer owned by me whose only function was to redirect to the main one from Google?

I had a series of domains that redirected to a main domain (let's call it A) where the website is located. One of them is no longer owned by me, and a few hours after being removed from the previous ...
  • 11
1 vote
1 answer
27 views

Forwarding GoDaddy domain and all its urls to a new domain

I have two domains on GoDaddy (a.com, b.com). I went to the a.com DNS administration and forwarded it to b.com using a 301 type. If I go to a.com, it correctly redirects me to b.com. But, if I go to a....
  • 111
1 vote
1 answer
22 views

Redirected exact-match domain names for SEO?

Google usually favors domain name exact matches. For example, if your domain is mailonline.com, when you search "mail online", it would recognize the similarity between the two and likely ...
  • 11
0 votes
0 answers
23 views

How to redirect old domain URLs without the old website?

My client deleted their website and do not have a backup of it on the old domain. I need to redirect their old domain URLs in Google Search to the new domain. I have access to their old domain and ...
0 votes
0 answers
25 views

Can I redirect a page on wordpress to a subdomain

I want to redirect mysite/thispage to subdomain.anothersite? I am offering webhosting on a page on my site but info is on a subdomain. I own both the site and subdomain. Hope that makes sense.
1 vote
1 answer
41 views

How can I redirect a PDF to home page?

I'm trying to redirect from an URL like this: https://example.com/images/qr/brochure.pdf to the home page of the site: https://example.com I tried using this code in a .htaccess file, and added the ...
  • 13
0 votes
1 answer
39 views

How can we redirect all pagination URL to main page

We want to redirect https://www.example.com/blog/category/mobile-application/page/2/ to https://www.example.com/blog/category/mobile-application/ or all blog category pagination to the main category ...
0 votes
0 answers
18 views

Check if old URLs that are redirected are receiving traffic and they are active [duplicate]

So I took over a web with almost 10.000 redirects created in .htaccess file which is ridiculous. The domain is more than 15 years old. I want to remove redirects that are no longer needed for the ...
0 votes
0 answers
16 views

Will redirecting links from an old domain to a new one strengthen the new domain when they are in the same industry?

I sold my company some 18 months ago. The new owner has renamed the company and is using a new domain for the websites. My new website is only a year old. If I obtain this old domain from the new ...
  • 1,254
1 vote
1 answer
37 views

All my redirects are giving me a nice 301. Except the "http://www", for some reason it results in 302. I think I tried all the combinations already

I wanted to ask you for your help. I found this answer that is recommended on the internet - Forward naked domain with URL path for my Google Domain but it seems that it is already outdated. I tried a ...
  • 141
2 votes
0 answers
49 views

SEO effect for Blocking entire site for a country and allowing only one page

Need your valuable guidance. Suppose via Cloudflare if we add a redirect rule for a specific country. Where if any traffic comes from that country, it will get redirected to a special subfolder ...
  • 121
0 votes
0 answers
35 views

Where does this URL parameter come from?

Recently, while checking the search console, I noticed that a number of URLs with this structure as you can see in the image below, have been classified by the search console in the page with ...
  • 123
1 vote
0 answers
93 views

Is there a way to redirect a domain with a slug to a new domain with a new slug on Namecheap?

So I'm no expert with domain directs, so forgive me if this is a dumb question, but here we go: What we want to do is direct our site's blog posts from our old site (with old root domain and slug) to ...
1 vote
1 answer
29 views

Will creating a 301 redirect from old domain to new domain affect Gmail?

I've rebranded a business so I want to redirect the existing site to a new domain name - presumably by setting up a 301 redirect(?) - so anyone who types in xxx1.com (old domain) will be redirected to ...
2 votes
1 answer
53 views

.htaccess redirect php WHMCS cart ID

For WHMCS I am trying to redirect products to another ID and subdomain. How can I create a .htaccess that will redirect https://www.example.com/clients/cart.php?a=add&pid=17 to https://clients....
  • 123
4 votes
1 answer
93 views

Is there a term for URL 'autocorrect' redirection?

I stumbled upon the fact that my website can 'autocorrect' URLs, when they are close enough to an actual URL: E.g. https://example.com/widgets/metric-time.htm Can also be reached by: https://example....
  • 141
1 vote
1 answer
40 views

WordPress doesn't identify the subfolder

I have a subfolder with a separate WordPress running on it. When I click on a link which should lead to the destination in the new website (the subfolder) it reads everything except the mentioned ...
11 votes
1 answer
691 views

SEO effect of http-equiv="REFRESH" for redirect

Question Moving Pages to New URL's - Unable to Use 301 Redirects to Tell Search Engines The Pages Have Moved got me thinking - If there is only access to change the content of a page to affect ...
  • 6,761
0 votes
1 answer
59 views

I forwarded my domain at IONOS to my github webpage. But example.com/defaultsite still goes to IONOS template web page. How can I prevent this?

I have a domain purchased from IONOS, call it example.com. I have set it to "HTTP redirect" to example.github.io. However, when I google the name of my website, google finds example.com/...
2 votes
1 answer
25 views

SEO: Changing product name and domain name to be found when searching for the old name

When switching to a new product name (and also new domain), it seems to make sense to place 301 redirects from all old pages to the new domains pages. But: what if almost everyone searches for the old ...
  • 23
1 vote
0 answers
31 views

Php header 301 redirect still let google to index content but now from newly 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 ...
1 vote
1 answer
40 views

If .htaccess redirects domainroot to a localized start page, should the domain root (which should be canonical) be in the sitemap.xml?

When you host a webpage, e.g., https://mydomain.example and .htaccess already takes care of the rewrite from www to without www and from http to https and it is also rewriting with RewriteRule ^$ ...
  • 111
4 votes
2 answers
63 views

How do I find if any website still links to one of my pages?

not to be confused, I'm not looking for backlinks check. I took over a site that has more than 10.000 redirects inside htaccess file. Those redirects were made 2 years ago when the website platform ...
0 votes
0 answers
10 views

Should I include alternative URLs in the Sitemap [duplicate]

There are many questions and answers covering what to do with HTTP 301 redirects in a Sitemap if the redirects are used for a page which is no longer reachable. However, our usecase is different. We ...
3 votes
0 answers
56 views

Is it OK for SEO to remove old WordPress image uploads that are no longer being used on the site?

If I'm re-building a website that is not going to be using older image uploads, what's best practice in terms of SEO? Do I just delete the old uploads and move on or is it better to 301 them to the ...
  • 63
1 vote
1 answer
45 views

Can I efficiently write a redirect using .htaccess if domain stays the same, but new website has slightly different url structure?

I have an old site with thousands of products and some SEO ranking and I wanted to redirect URLs using .htaccess, hopefully without manually writing thousands of 301 redirect entries. The domain stays ...
  • 11
2 votes
0 answers
74 views

Obscuring sub-domain

I have a site that is for a realtor and its URL is say, homesforsale.example but the actual listings are housed within an MLS/IDX system that is currently set to search.homesforsale.example. The ...
  • 21
1 vote
1 answer
39 views

Alternative to AWS lambda redirect that doesn't affect Googlebot

We have the following geographic subdirectories of our website: www.example.com (for USA and worldwide visitors) www.example.com/en-au/ (for Australian visitors) www.example.com/en-gb/ (for UK ...
  • 1,656
2 votes
1 answer
34 views

Site Move - Regex for PDF and .asp URLs to WordPress

I am in the process of rebuilding a site in WordPress that was built 20+ years ago on an .asp framework. Forgive me if this is OT. I was hoping someone in WSE that has had to do a site move like this ...
3 votes
2 answers
75 views

Is there any problem with circular permanent redirects?

In e-commerce websites, we want to include product title in the URL for SEO benefit... however the title is not unique so we generally include an id along with the title. The title is determined by ...
3 votes
0 answers
116 views

Removed AMP for WordPress Plugin and now "/amp" and "?nonamp=1" URLs have infinite self-redirect

Google Search Console(GSC) shows "Page with redirect" errors on my website. According to GSC, these posts are not indexed. That is fine. But look like the URLs with "/amp" and &...
  • 31
1 vote
1 answer
39 views

Website not getting redirected from non-www to www URL

I am getting the error "This page is unavailable", when I am opening my website without "www". The website loads perfectly otherwise example.in (Website Loads Fine) www.example.in ...
2 votes
1 answer
153 views

Redirect domain to another domain for Wix site

I have two domains and they both point to the same Wix.com site. When I navigate to either domain the URL is always for that domain. The domains are both managed through domain.com I want to be change ...
2 votes
1 answer
78 views

How to cancel a stale site move on Google Search Console

I had two domain names, say A and B, pointing to the same domain, say C. I requested a "site move" from Google for them about a year ago and it's still not processed, so I believe it never ...
2 votes
0 answers
145 views

What is the best strategy for dealing with redirects in Google Search Console?

On my website, I redirect all traffic from HTTP to HTTPS, and from non-WWW to WWW. The canonical pages are the HTTPS/WWW versions. These preferences are specified in the page headers (link rel="...
2 votes
1 answer
124 views

Redirecting URL from node/express server works locally but not when hosted on AWS

I have a particular situation where I need to temporarily redirect from an already hosted domain on AWS to a different URL altogether. Let me first describe my original setup: I've registered the ...
1 vote
2 answers
145 views

Redirect traffic from AWS domain to Wix hosted domain

I have a domain hosted on AWS (www.example.com) and it works fine. I have now a temporary need to route traffic from this domain to a temporary Wix hosted domain (www.example.net). I've tried making a ...
2 votes
1 answer
41 views

What to do with unwanted URL parameters?

The majority of my pages do not use parameters. But users can always add them on. At the moment, I am ignoring most of them. I have started redirecting some of them to the home page. Bing has a few ...
  • 1,254
3 votes
0 answers
48 views

Google seemingly ignoring redirects

So a bit of background. We previously maintained a blog-style news site to supplement our main e-commerce site, on a separate domain, let's call it magazine.example.com. The site was built using ...
  • 131
0 votes
0 answers
84 views

Google Analytics Direct Traffic Dropped upto 60% after website revamp

One of my client's website is a B2B technology company website. I was working on website revamp. Following things were done during the website revamp. The website URL structure, permalink structure ...
2 votes
0 answers
29 views

When removing AMP pages, should they be redirected to normal pages?

I have been told not to publish AMP pages anymore, that is was useless for the ranking on Google. Furthermore, I noticed that sometines, people fall into my website from Google search on AMP pages ...
3 votes
2 answers
67 views

Will the SEO of a webpage suffer if its parent directory has a redirect?

I'll have lots of webpages with URLs in this format: https://www.example.edu/faculty/firstname-lastname but for the parent page... https://www.example.edu/faculty ...I want it to redirect to... https:/...
0 votes
0 answers
45 views

Run .htaccess rule to remove trailing slash only if such a file exists

I have the following .htaccess rule but I would only like it to run it if a file exists without the removed trailing slash: RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)/$ /$1 [L,R=301] I use ...
3 votes
1 answer
76 views

How to redirect all pages of Site A to home page of Site B using .htaccess to track referrals using Google UTM

I want 301 redirect from all pages of SiteA.example to Home Page of SiteB.example using .htaccess rewrite rule, Since I am not PHP guy I am not sure if below rule is correct RewriteRule ^(.*)$ https://...
  • 691
2 votes
1 answer
66 views

Google search console says 2 redirect errors out of 15 pages using hreflang

My website on Github Pages has 15 different pages for different languages and locales. They all have the following in the head block. <link rel="alternate" href="https://...
3 votes
0 answers
40 views

reCAPTCHA v3 Dropping Form Submission Redirects

I have the forms on a site that I manage configured to redirect to https://example.com/thank-you/?foo upon submission. The site uses Gravity Forms. My confirmation settings are like this: When I ...
  • 5,826
1 vote
1 answer
455 views

Rewrite three URL directories to corresponding PHP files and pass subdirectory as a parameter

I want to convert the following https://example.com/download-file/xyz https://example.com/download-code/abc https://example.com/developer/mno to https://example.com/download-file?name=xyz https://...
  • 1,254
1 vote
1 answer
29 views

Using a redirect link in rel=canonical link tag bad for SEO?

I have in my Django site's template: <link rel="canonical" href="https://www.my-domain.example/post/1"/> But the actual link is https://www.my-actual-domain.example/post/1 ...
  • 113
2 votes
1 answer
216 views

Can Google index page that is login-required and redirects to Login page?

I have one link that is login-required http://example.com/secret If user access the page without authentication it will be redirected to http://example.com/login page. My question is can Google bot ...

1
2 3 4 5
33