Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

2
votes
0answers
33 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
8 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
293 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
18 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
51 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
520 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
86 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
326 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
611 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
48 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
63 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
37 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
564 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
338 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
130 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
246 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
2k 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 ...
1
vote
0answers
38 views

How can I redirect a Blogger blog to another blog

I have a blogger blog with its own domain (I'll call it www.example.com); that's to say: this site used to be a www.example.blogspot.com and I purchased a name domain later; I can continue to manage ...
1
vote
0answers
29 views

Yoast purge plugin caused crawl errors, getting more even after removing it

I'm using the Yoast SEO plugin on my WordPress site, and when you upload media to WordPress media library, it makes a copy of the image or file and creates a file path (this is normal). However, all ...
1
vote
0answers
21 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
82 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
13 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
35 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
17 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
27 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
28 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. ...
1
vote
0answers
68 views

Facebook debugger is caching different IP addresses for same domain

I have problem with Facebook debugger, I tried to scrape domains few times, and I got strange results. Facebook debugger is caching different IP addresses for the same domain. I saw a few different ...
1
vote
0answers
192 views

.htaccess How to redirect some specific pages, then a blanket rule to new domain?

I am creating a new website on a new domain, and doing page-to-page redirects from the old website for (A) all static pages, as well as (B) all blog posts. A) The static pages follow a new URL ...
1
vote
0answers
82 views

SEO: Redirect root to a sub-dir, build new content on root, keep old rankings for redirected sub-dir

I want to move our page from site.example to www.site.example/home but keep the SEO rankings from when that same content resided on the root domain. Then I want to build back up the site.example ...
1
vote
0answers
26 views

A domain is 301ing all its URLs to my site - will it affect my sites SEO?

A random domain is 301ing all its URLs to my domain. When you request a URL to the domain in question via https, it responds by 301ing to my site (also https) with the original request URL intact. ...
1
vote
0answers
20 views

Old Mobile site redundant now main site is responsive

I have an old site which has a mobile.example.com, I finally got around to updating the main site to a responsive version that means the old mobile site is no longer needed. However I am not sure if ...
1
vote
0answers
322 views

How do I submit a sitemap for URLs on a redirected domain?

I have domain www.example.ca and the domain is redirected to www.example.com. I have sitemap in www.example.com. How do I submit sitemap hosted in www.example.com for www.example.ca?
1
vote
0answers
237 views

Redirect to mobile version with sub domain

I know redirect a website to mobile version such example.com to m.example.com is the best after responsive design but my question is while the desktop URL is example.com/index.aspx and want to ...
1
vote
0answers
17 views

How to make new domain redirect to specific page of main domain without losing SEO?

So I have a exchange office (lets say www.example.com) Wordpress website and I bought a new domain just to sell Euro (www.euroexample.com). I want this new domain to show the specific page for Euro ...
1
vote
0answers
177 views

If a subdomain or subdirectory is given a 301 redirect does it affect the parent domain in SEO ranking?

I have a website running on example.com, but I wish to have abc.example.com that redirects to another domain altogether like example.net. Is it possible to redirect a subdomain without affecting any ...
1
vote
0answers
32 views

When moving to new domain, should old page redirects be implemented on the the old or new domain?

I am moving our website to new more appropriate domain name. Our current domain has a number of 301 redirects from a former naming structure that we changed a few years back. And we want to maintain ...
1
vote
0answers
40 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 ...
1
vote
0answers
53 views

redirecting to external website causes "International Targeting | no return tags” errors in Google Search console

I have a website for an app, in www.myapp.com/get/ i've put a php redirect to https://play.google.com/store/apps/details?id=my.app via header('Location: ' . $location); Now, because Google Play has ...
1
vote
0answers
62 views

Are there security concerns with migrating a sub-sub domain to a new platform, leaving another in place, and abandoning a third?

I have been tasked with launching a website for my organization. It is a dept. within a parent organization. Parent Organization Administers domain.com Dept. Organization Administers sub.domain.com ...
1
vote
0answers
119 views

Months after implementing 301 redirects to a new domain name, the old domain still appears in Google but with snippets from the new domain

Background I had a single domain with 2000+ articles on a wide range of topics. For several reasons, I decided to split this site into several smaller, distinct sites, each on a separate domain name. ...
1
vote
0answers
229 views

Correct way to redirect from HTTP domain to a different HTTPS domain on the same server?

Hello I have two different domain names pointing to the same server (same IP in DNS records). One domain (example1.com) has SSL enabled and has a fully working website on it. The other domain's (...
1
vote
0answers
68 views

Fastest .htaccess redirect from example.com to www.example.com?

Now using the standard cPanel-created Apache .htaccess redirect, but it's taking a full 2 seconds to go from ´example.com´ to ´www.example.com´. Is there a faster method? Or should I let go of the ...
1
vote
0answers
97 views

Rewrite rule is causing a redirect to another host and port rather than showing the content at the current URL

I have a web application working on: next3.info:83 I want to go there with weburen.next3.nl so I used this code: RewriteEngine on RewriteCond %{HTTP_HOST} =weburen.next3.nl RewriteCond %{SERVER_PORT}...
1
vote
0answers
272 views

Is a Server and Date HTTP header really necessary for error or redirecting pages?

On practically every URL I visit using the command-line tool CURL, there is always a server identification header and date header outputted regardless of the status of the request. For example, on my ...
1
vote
0answers
286 views

DNS redirect not working for some site visitors

I have a site hosted with VidaHost (www.thinkchecksubmit.org) on a webspace-only package, and a number of domain names registered with 1and1. The site is built on a Wordpress install with a custom ...
1
vote
0answers
348 views

Random domain pointing to my domain

A random person has pointed their domain to my website. I don't have much experience with websites, but I know a bit. What can I put in .htaccess to give a 403 error if they try to access from a ...
1
vote
0answers
126 views

How to debug an unwanted subdomain redirect?

I am trying to switch a dated Magento site in the domain root of a website I am developing (example.com) with a WordPress site located at beta.example.com. First, I want to move the Magento site to ...
1
vote
0answers
197 views

Parallels Plesk Apache dedicated server shared IP / A Address serving default page

My Website Works when you go to it, however Google Adwords is telling me that my site is redirecting/ not showing up properly to their bots. When you put the site into a website checker like GT ...
1
vote
0answers
36 views

Using mod_rewrite to force users to use our caching proxy

During a recent audit we became aware of several users who have not set their DNS records to correctly point to our name servers. Since we don't control the domain names of our users directly, we're ...