We’re rewarding the question askers & reputations are being recalculated! Read more.

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
1
vote
0answers
32 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
18 views

Free domain redirect with simple statistics? [closed]

I wish to redirect my domain to a social media site. Until now it's been a 301 redirect provided by the domain registrar. Domain -> Social media site But what if I want to collect some simple ...
3
votes
1answer
127 views

HTTPS redirect, exclude script parameters from URL

My goals: 1. http://example.com/page/index.php -> https://example.com/page/ 2. http://example.com/page/ -> https://example.com/page/ 3. http://www.example.com/page/ -> https://example.com/...
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
1answer
42 views

Are these 3 redirect rules equal?

I would like to redirect the non-https and non-www versions my domain to the https and www version of it. I'm a bit confused by the options. Are these redirect rules equal for my purpose? # REDIRECT ...
1
vote
0answers
33 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. ...
2
votes
1answer
75 views

point custom .com.ar domain to github pages

...yet another question about github pages and custom domains, sorry. I couldn't find a solution in other questions, I think that's very specific to my registrar. Also, I'm not a webmaster or sysadmin,...
4
votes
2answers
3k views

How to force ssl and www for a subdomain as an independent domain?

I have own the example.tld . I want to force SSL and https for root-domain and all of its subdomains. I have used below code in .htaccess file of root-domain: RewriteEngine On RewriteCond %{HTTPS} ...
0
votes
1answer
18 views

Redirection from main domain to add-on domain

I want to redirect the main domain to an add-on domain using 301: Is it important that the main domain will be the one pointing to the add-on domain? Does this have any negative effect from a ...
1
vote
3answers
2k views

web.config redirects only for specific domain

I'm stuck with redirecting for specific domains. The setup consists of azure webapps which bring their own domain *.azurewebsites.net, I want to exclude those from redirecting. For additional domains ...
2
votes
1answer
83 views

Redirect a sub-domain to a locally hosted site

I have a domain like example.com, it is hosted on some web hosting service. I read this article on how to convert your laptop/desktop into a server and host internet accessible website on it: part ...
1
vote
1answer
50 views

What's the SEO cost of rel=canonical references leading to redirects?

On www.ubuntu.com we recently started including rel="canonical" tags on every page by default, following Google's recommendation. However, as you can see on e.g. https://www.ubuntu.com/cloud, the ...
2
votes
1answer
1k views

IIS HTTP/S rewrite with SSL offloading non-standard local port

I posted this in a different forum and got nothing, so I'm a bit desperate. Here is my scenario: IIS running sites on 80 and 443 - external.foo.com and https://external.foo.com On the same node, a ...
2
votes
2answers
160 views

How to migrate from the old domain to the new domain?

I just got finished with moving my site from one domain name to another. All old links on social media and search engines are broken. If I click on a link from reddit or Facebook it still points to ...
0
votes
1answer
24 views

Old domain redirected to new what happens in search index?

I have been having issues with another company who have been using a similar domain name to pass as me. After a long battle, I have managed to get them to stop doing that, so what they've done is ...
1
vote
2answers
75 views

Redirect to different subfolders according to geolocation without affecting SEO

I want to open different pages by default in different countries. But It affects SEO of main URL. Like my website is example.com. I want to open this URL in India and example.com/abc outside India ...
1
vote
2answers
119 views

How to redirect ALL traffic from example.com to example.org with Rochen hosting so that HTTPS works

I'm using Namecheap (www.namecheap.com) domain with Rochen (www.rochen.com) host. I'd like ALL traffic to go from example.com to example.org. Things I've tried: cPanel alias. I could not get this to ...
3
votes
1answer
1k views

How to Redirect Pages with Query String?

I want to Redirect as seen below: https://example.com/p1/p2?sort=p.model&order=ASC&page=2 to https://example.com/p3/p4?sort=p.model&order=ASC&page=2 Also, I have this code in my ....
1
vote
1answer
43 views

Can similar pages with rephrased titles be combined using redirects but still ranking for the different title phrasings?

I'm building a website where each piece of content can have multiple different title/body phrasings which got the same meaning, and each phrasing got its own page (with links connecting to its content ...
6
votes
3answers
1k views

Is an .htaccess edit necessary when enabling Cloudflare SSL?

I have recently changed 3-4 of my sites to Cloudflare SSL. After that, I went to General Settings on WordPress and changed URLs from HTTP to HTTPS. And it redirects from HTTP to HTTPS without any ...
1
vote
1answer
84 views

Google Analytics reports that referred visitors come in an an unexpected landing page that isn't where the link is pointing

There is this website's page (similar to reddit) which references my website's main page. I recently realized an increase on my bounce rate. Then I checked and saw that in the last 10 days, users ...
5
votes
1answer
314 views

Is it necessary to add a canonical tag for a static site switching from HTTP to HTTPS if there is already a 301 Redirect?

We have a static site that has thousands of HTML pages and are planning to switch to HTTPS in the next few days. As the site is fairly new, we do not have any problems with duplicate content at the ...
1
vote
0answers
91 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 ...
3
votes
1answer
42 views

From an SEO perspective when would you want to redirect a NEW domain to an OLD domain?

I recently took over as webmaster for a company who lost their webmaster on poor terms, so asking him isn't really an option. Some years ago, this company got a new domain name, and for some reason, ...
3
votes
1answer
962 views

HTTP to HTTPS redirect for a specific domain through web.config

I'm trying to do a HTTP to HTTPS redirect on a GoDaddy web hosting platform. I have the Windows hosting platform and I'm editing the web.config file. There are multiple domains under this hosting ...
2
votes
2answers
42 views

Are there downsides to redirecting of mobile pages to desktop for desktop browsers?

A lot of sites have separate views for desktop and mobile, such as example.com and example.com/m/. Almost no one redirects desktop users to desktop if they somehow end up clicking mobile link. Is ...
2
votes
1answer
686 views

How to redirect all pages of site A, including those with query strings, to homepage of site B

I want to redirect all pages of SiteA to homepage of SiteB. I used this code in SiteA's .htaccess file: <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^(.*)$ https://SiteB.tld/ [...
-1
votes
1answer
20 views

How to direct main domain pages to sub domain [duplicate]

One of my client had a wordpress website say www.example.com.au in wordpress As they wanted to have separate websites for different locations, we created subdomains for each location like sydney....
1
vote
0answers
33 views

How to redirect multiple URL's to the same URL. [closed]

I have been searching for a solution to this but can't find a good answer. I am trying to achieve the following through Wordpress with the Yoast SEO plugin. Here is what I am trying to do: I need to ...
1
vote
0answers
37 views

.htaccess redirect to new domain with new page name [closed]

Does anyone know how (or if) I can do an .htaccess redirect if both the domain and page name have changed? I can get olddomain.com/page/ to redirect to newdomain.com/page/ (same page name), but not ...
1
vote
1answer
27 views

How can I redirect all WordPress post URLs that don't contain a subcategory to prevent duplicate content?

On my WordPress site, I have this URL format: /%category%/%postname%/ When I create a new post and select a parent category and a sub-category and select sub-category to default then WordPress ...
0
votes
1answer
75 views

Subdomain redirection to external subdomain

I need to create a redirection from my own subdomain to an external subdomain, like subdomain.domain.com -> subdomain.external.com. So if anyone try to enter in my subdomain, it redirects ...
1
vote
2answers
50 views

How to ensure historic backlinks point to primary domain

Hope someone can assist with this DNS/Redirection issue. I'll try to keep this to the point. There are two domains and two subdomains to deal with. olddomain.com is with registrar A. newdomain.com ...
1
vote
0answers
246 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 ...
2
votes
0answers
412 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 ...
1
vote
2answers
363 views

IP address redirect works, Domain redirect does not

Similiar to issue found here. Running debian, apache2, trying to redirect example.org.com to example.org.com/aplication/calculator. I have enabled mod_rewrite hence why IP redirect works. However if ...
3
votes
1answer
586 views

Redirect a domain to a sub-page on another domain

(Examples below are illustrative only and not real domains.) Imagine I have turtles.com and the site has been up for some time. Now imagine that I have reptiles.com. Would it be "bad" (for SEO, ...
1
vote
0answers
85 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
1answer
237 views

Googlebot smartphone redirect

We are using two different domains for our desktop and mobile websites. "www.x.com" and "m.x.com". The users with mobile devices ending on "www.x.com" are (302) redirected to "m.x.com" I have just ...
1
vote
0answers
29 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
1answer
50 views

Do URL redirects negatively affect SEO when part of a site restructuring?

I understand that no 'Link Juice' is lost, when implementing a 301 Redirect for the purposes of redirecting from http to https prefixes. What about redirects, when a site goes under a restructure? ...
2
votes
1answer
294 views

I have three virtualhosts on my WAMP Stack, one works, the other gets 404'd

Hi everyone I'm new both to this site and to backend web stuff. Thank you in advance for any and all help. Like I said in my title, I have three vhosts, two of which I can point the browser towards ...
1
vote
1answer
393 views

cPanel, redirection and aliases (forces redirection) [closed]

I have cPanel and I have domain A, Then I created a Domain Alias B, But Alias B has been redirected to A domain, I don't want to redirect it.
6
votes
6answers
2k views

Are there downsides to using a 301 redirect from a shorter URL on our own domain rather than using a URL shortener service?

Wondering if there are any negative implications to using a redirect on my own domain as a kind as a URL Shortener. I am often asked by folks creating printed documents for "short URLs". My ...
5
votes
1answer
40 views

Moved subdirectory subsite to own domain, how to reconfigure Google Analytics?

We had a website http://mainsite.com that has a subdirectory subsite at http://mainsite.com/subsite. We've split that subsite off into http://subsite.com/ We are still tracking the subsite by using ...
2
votes
2answers
396 views

Multilingual site: redirect to other language or show duplicate content?

I've got a multilingual site. When a user tries to access one of my pages, say /es/agreement, I would like to display the English version of that page, regardless of what language the user is ...
2
votes
1answer
40 views

htaccess redirect to another website while cutting a string from address

I'm trying to make a redirect with htaccess. Let's say that I have two websites: www.oldsite.example www.newsite.example What I want to do is redirect old to new with random_file.html renamed to /...
1
vote
3answers
99 views

My client's website is receiving a lots of visits from a shady website - what should I do about it?

My client's website is getting lots of visits and backlinks from and unknown URL that looks shady. When I try to visit the page it opens another website with a different URL. What should I do about ...
4
votes
1answer
85 views

How to redirect from https://hi@example.com/x, to just https://example.com/x (htaccess)?

I have a weird problem where for some reason search engines see that I have duplicate URLs, like https://hi@example.com/x and https://example.com/x I'd like the first (i.e. with hi@) to 301 redirect ...
1
vote
2answers
3k views

Forcing https causes all folders to redirect

I have quite a large site that consists of some regular web pages in the root and a lot of Joomla sites in folders. So it looks a little like this: - index.php (root) - about.php (root) - product....