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
2answers
41 views

How to redirect example.com to http://example.com?

I have a blog at blogger.com, for which I got a domain name from godaddy.com. Recently I have decided to put some google AdSense ads on it to see how that goes. The problem I encountered is that ...
0
votes
0answers
8 views

Canonical Tags on Re-directing Form Pages

I'm adding canonical tags to our website and would like to add them to pages where users can download guides, but depending on user settings they could be redirected. If they are cookied, they would ...
1
vote
1answer
51 views

Multiple pages under single directory redirection to a single Page

I have the following scenarios for web page redirects 1) All pages under www.oldexamplesite.com/page/product/New-Design/* and All pages under www.oldexamplesite.com/page/product/nature-of-design-...
2
votes
1answer
21 views

Redirect root to subdirectory of current year if this exists, otherwise to a previous year that does exist

This kind of htaccess code is a little complex for me as I'm just beginning to understand redirects with htaccess. Could someone help me with this? Thanks in advanced.
0
votes
0answers
27 views

OVH active SSL for domains used for redirection

I have 2 domains: domain-a.example is my main website and domain-b.example is a domain used to redirect users to my main website (domain-a.example). On my ovh dashboard I set the redirection from ...
1
vote
0answers
45 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 ...
0
votes
1answer
22 views

Changed website from http to https: what to do in Webmaster Tools?

So now I have two domains in my Webmaster Tools, as I have migrated to HTTPS. Migration here means that I have enabled HTTPS and enforced it, that's it. My question: should I do something in ...
1
vote
0answers
14 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
20 views

How to Redirect all subdirectory pages to another?

Due to duplicate content issue, I want to redirect all pages of /articles/* to newly created sub directory /article/*. How do I redirect all pages of /articles to /article using .htaccess file?
1
vote
1answer
26 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> ...
0
votes
0answers
20 views

How do I locate files that appear to be located before the webroot?

I'm now administering a site for a small professional organisation. The website is hosted with GoDaddy. Most of the links don't work as the site was migrated back from https to http. All of this work ...
1
vote
0answers
50 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 ...
1
vote
1answer
26 views

Redirects for eCommerce Site Migration

I'm in the process of migrating my ecommerce store to a new platform/server. I have some questions regarding redirects: The website was made in asp.net and a lot of the product listings have ...
2
votes
0answers
31 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 ...
0
votes
0answers
29 views

How can I access https file via https request without 403 forbidden in IIS?

I recently installed a site certificate to secure our website. We sell software and there are many installed users who are using some pre-website change versions of our software. Internally, the ...
4
votes
1answer
60 views

Does having a lot of 301 redirects noticably impact performance?

I just moved my website to Wordpress from another service. Unfortunately, this means that although I was able to import all of my previous content to Wordpress, the post permalinks are now entirely ...
3
votes
1answer
45 views

Recover SEO after accidentally redirecting to another site

My website domain is a.example. I need to change/move to a new hosting. While doing this on my new host, I accidentally made an redirect error that make my URLs (.htaccess): a.example/article-1/ ...
2
votes
1answer
35 views

Redirecting using rewrite rules from international top level domains to a language subdirectory doesn't change the domain name

I want to change from TLDs to TLD and language code. Right now we have 4 TLDs for our webpage: example.de example.com example.nl example.fr Now I want to change our settings of our CMS (Contao) to ...
2
votes
1answer
78 views

How to stop someone from registering domains that mimic more popular websites to abuse typos?

Years ago I had a problem that my browser was opening Aviasales website instead of Imgur (the most popular image hosting, you know). The tech support guy said I have some malware and should check ...
0
votes
1answer
66 views

MediaWiki: Avoid multiple page redirects

I have an all default MediaWiki website: No added CSS/JS, No added extensions or custom PHP. I run the homepage of that website in Google Pagespeed Insights and I get: MediaWiki: Avoid multiple ...
1
vote
1answer
47 views

How to deal with IP redirection and Googlebot? [duplicate]

My client wants country-based domains for their customers. For example, all customers from UK will be taken to the .co.uk site, even if they visit the .com site. And same for other countries. I have ...
1
vote
1answer
27 views

Why is Google giving me Page with Redirect error when trying to index the page?

I'm trying to index a landing page through the Google Search Console. The result I get is error Page with redirect: The URL is a redirect, and therefore was not added to the index. The error ...
1
vote
2answers
36 views

How do web servers identify the client's location

Many websites directs the user to specific subdomains or domains based on their location. For example, if a user based in the UK types yahoo.com, the user somehow redirected to uk.yahoo.com. If the ...
1
vote
1answer
57 views

Redirect to homepage based on server error code with htaccess

I just took over management of a small HTML website. I discovered the security on the website was almost non-existent because full directory browsing was possible. I have since disabled directory ...
1
vote
1answer
36 views

Migrating out of Medium

I'm moving my company's blog out of Medium to a subdirectory of our domain name. We have three blogs, one on a subdomain (when Medium still allowed it) and two as regular Medium organization blogs. ...
0
votes
0answers
17 views

Implement 2000 redirects in an SEO friendly way without slowing the site down [duplicate]

I currently have two e-commerce websites, a new one, built on WooCommerce with ~1700 products and an old one, custom built with ~2100 products. I want to delete the old one and use it's domain and ...
-1
votes
1answer
39 views

Redirect a Wordpress site to a non wordpress site with a different domain name and hosted in a different server

I have my old Wordpress site . Now I have developed a new custom HTML site to and hosted it in another server with a different domain name. All the pages in the existing site is present in the new ...
1
vote
1answer
35 views

How to redirect from blog.example.org to example.com using htaccess

I have tried all means to do a 301 redirect from blog.example.org to https://www.example.com/post using .htaccess but the redirect doesn't seem to be working. I'm using this code below; ...
1
vote
2answers
31 views

Show categories both on homepage and on categories page?

I'm creating a "directory" website that has many pages, each belongs to a category and a sub-category. I have category pages that will list all the pages that belong to the categories. Example: ...
1
vote
1answer
38 views

How to point a subdirectory URL of a static website to a Heroku app?

I have a static website, hosted on BlueHost and a React/Express app hosted on Heroku. I was wondering if it is possible to do something like this. Access static site with: staticsite.com Access ...
0
votes
1answer
47 views

How does CloudFlare Handle JS Redirects?

I need to implement a couple Javascript redirects using window.location on my site. This redirect fires in very specific circumstances and I don't want that redirect cached. I found info about how ...
0
votes
0answers
148 views

How do I redirect a subdomain on Google domains to a URL with masking?

I bought a domain (on Google Domains) for a personal webpage and set it up to point to my github.io page I also added a subdomain (say somefile.mydomain.example) and it now redirects to a Google ...
0
votes
1answer
60 views

Simple redirection with countdown [closed]

I would like to redirect visitors to my new website. I would like to show a page where there is a countdown "you will be directed to the new site by 4..5..3..2..1 seconds" but I would like the user to ...
1
vote
2answers
69 views

I have a page with two domains and I want to redirect one of the domains to a specific page via htaccess

I am using the domains ergonomi.example and fysiarbejdsliv.example I want fysiarbejdsliv.example to redirect to https://fysiarbejdsliv.example/dansk-selskab-for-fysioterapi-i-arbejdsliv. I have ...
1
vote
1answer
72 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 ...
0
votes
0answers
45 views

Redirect IP address to Domain Name in Amazon Web Services EC2

I have just set up a WordPress website using this tutorial. The site can be accessed via domain name as well as IP address. This doesn't look good and I would like the IP to direct to the domain name ...
2
votes
0answers
75 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....
1
vote
1answer
72 views

Redirecting 404 pages to another active pages in .htaccess

I have one product page indexed on Google but that link does not exist anymore and hits 404 page. What I want to do is to redirect that link in .htaccess to another product page since it ranks very ...
1
vote
1answer
45 views

Which redirect code to use for resolve resource?

On my website i have a list of items, each item has a link, the link has one parameter named "ID": <a href="go?id=2">item</a> When i generate the list i don't know the exact url to the ...
1
vote
1answer
67 views

How to redirect dynamically generated duplicate pages in .htaccess?

I have over 2000 dynamically generated duplicated pages like this: https://www.example.com/subfolder/page1.html and https://www.example.com/subfolder/page1/ What i am trying to do is redirect all /...
2
votes
1answer
44 views

How to form redirect or rewrite where query string contains portion I want to extract to new query string

I've transferred an old custom-made site to Mediawiki and I have many internal and external links to my old pages that I want to redirect to the appropriate wiki page. There are many links to the ...
1
vote
1answer
54 views

.htaccess: Redirect all HTTPS to a subdomain, but EXCLUDE one subdomain folder

In summary: (Notice the "https") I have https://www.example.com All need to be re-directed to https://sub.example.com EXCEPT https://xyz.example.com/api Here is my current .htaccess: ...
0
votes
1answer
35 views

How to detect what is causing a redirect?

I am working on a Wordpress website that has been hacked. Let's say that it's http://thewebsite.example. There is no malware that infects people that open this website, but there is a URL http://...
1
vote
1answer
80 views

Adding a subdirectory to a URL using .htaccess

I am trying to achieve the following: This URL: www.example.com/wis/9-3/1998/0.general Redirected to this URL: www.example.com/9440/wis/9-3/1998/0.general So I'm trying to add this subdirectory to ...
0
votes
1answer
78 views

mod rewrite with two parameters and loading folder

I have domain example.com, when someone go to this domain, I need to automatically redirect to example.com/en/ and need /en/ to be a parameter of variable lang. RewriteCond %{REQUEST_FILENAME} !-d ...
2
votes
2answers
84 views

How would Google react if I redirected currently ranking landing pages to the home page?

I have some tag pages on my website which contain specific keywords. They appear in the Google search results for those keywords. Those pages bring in a fair amount of traffic but the bounce rate is ...
5
votes
1answer
87 views

When an attribute value ends in a slash, can I omit the quotes? It looks confusing when the trailing slash is next to the closing angle bracket

I have been thinking about this case: You want to use canonical on page A directing to example.com/: <link rel=canonical href=example.com/> If I wouldn't use quotation marks like that, could ...
0
votes
0answers
38 views

.htaccess clean url to GET variable with WordPress

I'm struggling to get a .htaccess rule to work. I'm trying to cleanup a URL for a WordPress site. Instead of /illustration?rid=123, I'd like /illustration/123. I've tried solutions from many of the ...
1
vote
1answer
181 views

Redirect to remove everything after the second slash (first directory)

I'm trying to redirect a lot of pages on a website I own. There are a few pages indexed and I need to fix them for example: /vloerafwerking/projecttapijt/raamafwerking/ needs to go to /vloerafwerking/...
0
votes
2answers
26 views

Page URL Modifications and Google response [duplicate]

I need to change the address of one of the pages of my site. I will create a new page with absolutely the same content and the same structure of the page (no changes to the content of the page at all, ...