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.

113 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
2answers
970 views

How do I redirect Pages to the Subdomain with same URL Format?

How do I redirect Pages from the main site with 404 Status to the Subdomain with same URL Structure? This for example: https://www.example.com/rent this returns a 404 Error and must be redirected ...
3
votes
0answers
51 views

Redirected to www, but Google is indexing no-www without snippets, should I use noindex instead?

I started my blog a month ago and was using non www version for my website. Then, I recently decided to stick to www.example.com version. So I changed it and Google has indexed the www version ...
2
votes
0answers
23 views

On Netlify, how do I redirect a URL wildcard to that parent directory?

I have URLs I want to redirect to their parent folder/directory: /hats-category/hats1 /hats-category/hats2 /hats-category/cool-hats Rule looks like this: /hats-category/* /hats-category So I can ...
2
votes
0answers
25 views

Can I test if my site's URLs have 403 errors for Google Ads Bot?

All URLs in my WordPress site can be visited via browser such as FireFox and Chrome successfully. However, today I receive emails from Google Ads telling me that some of the URLs have errors. The ...
2
votes
1answer
100 views

What should I do about penalized websites that have been 301 redirected to mine?

Someone is doing a negative SEO attack on my site 301 redirecting toxic sites to my site. I have done research and nobody online seems to have an answer. Would disavowing the domain doing the 301 ...
2
votes
0answers
69 views

Google search console reports indexing my pages with pagination parameters even though they redirect

I recently saw in search console that Google is indexing some of my WordPress posts with pagination. For example example.com/post/page/2. The coverage report says "indexed but not submitted." It ...
2
votes
0answers
373 views

Nginx + haproxy (or sslh) does not work without trailing slash in URL

Have a setup like the following: haproxy listening on 443 -> nginx listening on 4545 I have also tried this with: sslh listening on 443 -> nginx listening on 4545 This is on ubuntu server For ...
2
votes
0answers
49 views

After redirecting to canonical domain and HTTPS, Google Search Console reports most of my pages are now excluded

In Google Search Console - Coverage for one of my sites it says : Error 0 Valid with warnings 22 Valid 10 Excluded 11.1k Expanding Excluded, it's 6,000 for pages with redirect and 3,400 with a soft ...
2
votes
0answers
381 views

Squarespace removes UTM query variables when redirecting from non-www to www

I'm setting up some redirects for a client's blog, pointing the old URLs to their new Squarespace site. Curiously, I noticed some of URL tracking variables were being stripped out during the redirect....
2
votes
0answers
9 views

How to avoid WordPress visitor access to wordpress/ folder instead of domain in Plesk after making that folder the site root?

I used Plesk and installed WordPress at example.com/wordpress After a while, I moved the access of my WordPress to root (example.com) But, instead of moving all files to the root directory (httpdocs/...
2
votes
0answers
613 views

.htaccess for two languages and corresponding redirect for every page based on accept-language

I have a website www.example.es, with this structure: www.example.es index.php 404.html somepage.html www.example.es/en index.php 404.html somepage.html I want to redirect any language but es to ...
2
votes
0answers
45 views

How bad is forgetting all old URLs when redesigning a site?

I got to redesign a website for a very popular furniture and appliances company in my country. Currently this site receives around 100k organic traffic per month and 75% for home page. There are ...
2
votes
0answers
27 views

Handling requests for deprecated RSS feeds

The site I run still gets pinged frequently by RSS readers and services, even though we deprecated support for those feeds over two years ago. The URLs currently return a 404. Are there any good ...
2
votes
0answers
61 views

though 301 website redirect from .de to .com, google indexes .de Website

I had a website example.de . Than I changed the domain with example.com . I added example.com also in google search console and than I did every steps in https://support.google.com/webmasters/answer/...
2
votes
0answers
851 views

Redirecting domains, sub domains and single pages on Siteground

I'm having serious issues with Siteground to get my redirects working. They did work on another hoster so it is possible. However, that server configuration was very different so I cannot copy what we ...
2
votes
0answers
93 views

.htaccess to show a page from the main site on another domain

I have 2 x domain names https://www.example.com - This is my main site. http://www.example-liverpool.com This is my Liverpool sub website example.com/liverpool I've presently got URL forwarding ...
2
votes
0answers
445 views

Does Yoast support regular expression redirects to remove the date from post URLs?

I have to setup as redirect from "Date and Name" Format to "Post Name" Format. For example: /2010/10/post-url/ it must be redirected to /post-url/ I am using Yoast for redirect. I don't know what ...
2
votes
0answers
757 views

Using AutoSSL/LetsEncrypt To Give Cert to SubDomain Pointing to Separate Server

Background I have a primary website hosted on a LAMP-based VPS, with WHM and cPanel. I've installed the Let's Encrypt cPanel plugin to use with AutoSSL, and that is working for the main site. ...
2
votes
0answers
49 views

Googlebot following some 301 that doesn't exist for root domain

We have locale versions of our site www.example.com (UK), us.example.com (USA), fr.example.com (France) etc. In Google webmaster tools I have configured each of these domains with their country and we ...
2
votes
0answers
80 views

Homepage redirection after making vistors choose between B2B or B2C client type

We have a site where a business is running since a while, and quite well known by Google. Let's call it example.com . This site is dedicated to one type of client (B2B) We now want to start the ...
2
votes
0answers
39 views

Redirecting Backlinks

I am working on Influencer marketing, one of the blogger has written a blog for us but they are linking to our landing page with tracking ids, as well as link redirects before the actual URL is hit, ...
2
votes
0answers
634 views

Nginx request map and redirect have no effect

I want to rewrite/return request to new one I have: map map $request $new_request { include url_rmap.conf; } file url_rmap.conf # here i have tried all variations $scheme://d.dom https://...
2
votes
0answers
414 views

Using Xenu's Link Sleuth to remove bad 301's / broken page-local links

I'm trying to fix 2 issues based on the report from Xenu's Link Sleuth. I have numerous 301 Redirects from Wordpress SQL based URLs despite using post name URLs. Despite using post name based URLs (...
2
votes
0answers
144 views

Plesk Site Preview redirects to Plesk Login

I moved over an existing PHP site to Plesk Panel 11.5 and now I'm having an issue with the site preview. When I click site preview the site comes up fine in a new window, however when I try to ...
2
votes
0answers
1k views

How do you stop PDF hotlinking and automatically redirect hotlink clickers?

I have some PDF documents that I offer users once they have subscribed to my newsletter. Well, Google found them, and other people are posting them on various sites. I'd like to take advantage of ...
2
votes
0answers
256 views

Replacement for DirectoryIndexRedirect for older versions of Apache

DirectoryIndexRedirect is available in version 2.3.14 and later. (mod_dir) Is there an alternative method for older versions? I have different DirectoryIndex directive sets for a lot of directories ...
2
votes
0answers
3k views

index.html redirecting to cgi-sys/defaultwebpage.cgi

This problem has been persisting over the last couple of days. I thought I fixed it Friday only to get in on Monday morning and see that cPanel is still giving me issues. On Friday, all incoming ...
2
votes
1answer
175 views

How to find out the domains that 301 redirect to my website?

How can I find out what domains are 301 redirected to my website? For example if a.com, b.com, and c.com are 301 redirected to my website, then how can I know the list of a.com, b.com, and c.com?
1
vote
0answers
19 views

Can I use cPanel's redirect feature to redirect the home page and a deep page to another domain?

I want to redirect my main homepage to redirect (e.g. example.com) to a separate website but also redirect other subpages (e.g. example.com/contact) to a separate website as well. But when I redirect ...
1
vote
0answers
14 views

Is it possible to create a short URL that redirects to a longer URL if that short URL currently doesn't exist?

I've a URL that's very long. I need to put the URL into a hardcopy format but it looks ridiculous on paper. The URL performs well so changing it is not on the cards. Would it be possible to write a ...
1
vote
0answers
26 views

How to add a second hosted domain in place of a currently hosted subdomain on Bluehost?

I have two domains, dom0.example and dom1.example. The nameservers of dom0.example are set to my webhosting on Bluehost. Now I have a second website under sub.dom0.example. I want dom1.example to ...
1
vote
0answers
29 views

Website was not redirect from non www to https+www

I'm currently doing www+https redirection where I hope that my website able to redirect from http://example.com to https://www.example.com but it does not work even I have added redirection in ....
1
vote
0answers
16 views

Hiding Domain Name when Redirecting Other Domains

I have a website whose name is specific to the product sold there. I am branching out to related products and have purchased domain names that reflect the new products. I would like to direct the new ...
1
vote
0answers
23 views

How best to perform 4 million 301 jpeg URL redirects?

I certainly don't want to list 4 million redirects in my nginx config files... what's the best practice with a large number of redirects like this? They'd be permanent as well as the old links live ...
1
vote
0answers
38 views

How do I handle server redirects on IIS to route requests to two different domains?

I have a domain www.example.com which is running on IIS server and the site content is in ASP.NET. I am migrating part of the site (www to www) to AEM and the rest of it will sit on old.example.com (...
1
vote
0answers
253 views

Redirecting in NGINX with masking target URL

I've set up redirection on NGINX with the help of this answer and now I want to set up it with hiding redirection from user, i.e. keeping original example.com. Things I've tried: rewrite server{ ...
1
vote
0answers
50 views

Redirecting affiliate link: is it okay to add nofollow and noreferrer only to the affiliate link and not the pretty link?

I run a Wordpress website and normally use the plugin Thirsty Affiliates to redirect/cloak my affiliate links with a prettier link. Wordpress adds the noreferrer and noopener attributes to the pretty ...
1
vote
1answer
32 views

See Google Analytics tracking stats from short cross domain redirect URL used in print media

I am using a different domain for some ads to track how many people access the main site through this domain. How can I see this in Google Analytics? I have DOMAIN A (on the ad) redirecting to ...
1
vote
1answer
65 views

Use .htaccess to redirect to add .txt extension

I have a .txt file on my hosting and would like to redirect to it if somebody enters an specific website within their browser, e.g. example.com/webpage --> redirects to --> example.com/...
1
vote
0answers
38 views

Why does turning off “Force SSL with https redirect” keep http links redirect to https?

I realize this question can be an XY one. After upgrading my site from http to https, FB OpenGraph og:image not pulling images anymore. The solution seems to be using http links rather than https in ...
1
vote
0answers
62 views

Considering changing URL structure from example.com/page?id=1 to example.com/1/keywords but wondering what SEO impact is

Currently our website has a variety of community generated content that is under the URL structure of example.com/page?id=1. Some of these pages rank quite well on Google due to a combination of ...
1
vote
0answers
18 views

Old Url will no longer be available, how to redirect to new URL in IIS?

We currently have a site running of 2 URLs OldSite.subdomain.domain.example newSite.newDomain.example There is the talk of getting rid of the 1st URL completely. Is there anything that can be done ...
1
vote
1answer
54 views

Using htaccess to redirect 301 for domain change

I am currently moving a domain from one to the other, this is not an HTTPS move but rather a move from exampleone.co.uk to exampletwo.co.uk. I am using this code: <IfModule mod_rewrite.c> ...
1
vote
0answers
24 views

Temporarily turn off redirects on all virtualhosts

Is there a configuration parameter I can set in the global configuration to disable redirects in all virtual hosts? I've got a server with a bunch of virtual hosts with varying configurations, many ...
1
vote
0answers
291 views

LinkedIn & Slack ignore translated meta tags

Our website is a WordPress site with 2 different languages. Original is German and we use Weglot plugin for translation into English. So the problem is that LinkedIn and Slack are picking the German ...
1
vote
0answers
16 views

Download link expired, going back to software presentation page, what redirect method to use?

When someone (user or bot) reaches an old download link like /download/yellow-wallpaper.zip?key=some-expired-download-key , user is sent back to file details page, e.g /yellow-wallpaper.html, where ...
1
vote
0answers
72 views

How can I migrate a single page application to a site with many URLs for SEO?

I will be migrating a single page application (SPA) to a normal URL structured site. Usually I would map the old URLs to the new URLs and use 301 redirects to the relevant URLs. In this case, that ...
1
vote
0answers
41 views

Heroku and 123 Reg showing IIS page only on naked domain

I've got a site set up with SSL that works as expected when manually typing in 'https://example.com' or 'http://example.com'. However, when I navigate to just 'example.com' I get an IIS hosting page. ...
1
vote
0answers
57 views

How can I point a subdomain at a web app without the domain name changing in the browser address bar?

I have two apps app1 and app2 on 000webhost. Say app1 has domain www.example.com which uses cloudflare. I want subdomain.example.com to be the main domain of app2. How can I do this? I have created a ...
1
vote
0answers
35 views

External URL with Redirection - How can I handle without negative SEO

This is a WordPress site. There are some post like Best WordPress Themes, Best Articles, etc Because of some technical reason, we can't just add linked those items. This is a sample article. ...