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
0answers
10 views

https opens ( index of ) but with http The site opens normally [closed]

When I removed the SSL certificate I modified htaccess to redirect https to http But https pages open index of
0
votes
0answers
21 views

Is it possible to redirect HTTPS to HTTP without warning?

One of my clients now doesn't want to use a SSL certificate. But the home page of their site has been indexed with HTTPS. I have already redirected HTTPS to HTTP but it shows a warning every time. Is ...
-1
votes
0answers
15 views

How to create a button to redirect to another website? [closed]

I know you're all pro here. I'm Noobmaster69, I want to create a button which will redirect to another website. I've created the button but i don't know how to redirect it to another website. Can you ...
1
vote
1answer
25 views

SSL certificates: Does a secondary domain which does only redirect need a seperate SSL certificate?

Some customer gave me the input that if you have a website with a domain like https://www.example.com which has a lot of secondary domains only redirecting like https://www.example.eu https://www....
0
votes
0answers
5 views

Redirect users to a specific page if they go to a specific domain in the IIS

I have THIS.ABC.com and THIS.XYZ.com in the bindings for a site and they both work fine. I want the users going to THIS.ABC.com to be redirected to a specific page which tells them the site has ...
1
vote
0answers
21 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
22 views

Should an XML sitemap include redirecting URLs? [duplicate]

Should I include URLs that redirect in my site's XML sitemap? If page X is permanently redirected to page Z, would I include the page X, or only page Z?
0
votes
0answers
9 views

How can I created tracking redirects that are neither crawled nor indexed?

I have tracking redirects on my site. I use server-side tracking on them. They are used for things like: Advertisements Social media sharing The URLs are of the forms: /ad-click?id=12345 /...
0
votes
0answers
23 views

Can dynamic DNS clients keep “URL Redirect Records” updated at Namecheap?

Can a URL Redirect Record at Namecheap be updated with a dynamic DNS client? I would like to serve a website on a non-standard port, and thus cannot use a type A record. I would like it to work as ...
3
votes
2answers
36 views

How will geo-ip redirects affect which geo-targeted pages Google indexes?

We are an Indian company and have an online store. We sell in India as well as abroad. The products are sold at different prices in India and abroad and there are two site versions for Indian prices ...
2
votes
1answer
25 views

Redirects for both paths and posts in the path

I rarely need to do redirects and when I do they're usually simple. This time I'm trying to do something a little more advanced and I'm stumped. Regex is hard :) This is a WordPress site and I'm ...
2
votes
1answer
63 views

Redirect all subdomains from one domain, to the equivalent subdomain of another domain using DNS and nginx?

I have foo.example and bar.example. I want sub.foo.example to redirect (not be aliased with) sub.bar.example, same for asdf.foo.example and asdf.bar.example, etc, for all sub domains. I know I can ...
1
vote
0answers
46 views

How can I redirect my Google App Engine naked domain to www and preserve the URL path

Google Adsense now requires a file "ads.txt" in the root of the domain: Upload the file to the root level domain of your site (for example, https://example.com/ads.txt). I use enom with Google ...
2
votes
5answers
71 views

How do I redirect a site for Google but not for users?

I have a saas app, where users can login to the app from example.com/app. Now I have created a new version of the app which will be example.com/dashboard. What I want to do is let Google know that ...
1
vote
0answers
22 views

All HTTP URIs redirect to the HTTPs of homepage [closed]

I have an issue on my website, where all http URLs redirect to the https of the homepage. For example, http://example.com/ppc-services/ redirects to https://example.com/ I have added this to ....
1
vote
0answers
18 views

Does Google penalize for redirecting too many expired domain to my site? [duplicate]

I used to 301 redirect expired domains to my site and now I think I made a mistake. If we redirect more than a single domain to a particular website, will hurt SEO?
0
votes
1answer
42 views

Is it necessary to hide affiliate links?

I currently include affiliate links on my pages. The links go to PHP files that in turn redirect to the affiliate pages using the following header code: <?php header('Location: http://www.affiliate-...
1
vote
0answers
17 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
21 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
1answer
39 views

How to map many old URLs to a new host with a redirect under Apache cPanel?

I moved some of the content on my website to an external site. However, a lot of places on the Internet still link to the missing pages, resulting in 404 messages. What is the best method of ...
1
vote
1answer
18 views

New professional blog; should I redirect from my personal blog, or leave content both places?

I've been an on-and-off (mostly off) blogger for years, mixing personal interest and professional topics on a personal blog. I've recently created a new professional website where I duplicated the ...
2
votes
1answer
130 views

Use .htaccess to remove a directory and .php extension from the URL

I am running a Wordpress website, but I have some folders not related to the wordpress CMS, but in the same directory where all Wordpress folders are. The .htaccess in root WP folder has its standard ...
2
votes
1answer
43 views

Redirecting index.html to root + folder index.html to root folder? (multilingual)

I have example.com page. I want a homepage without index.html (example.com/index.html -> example.com) RewriteEngine On RewriteRule ^index\.html$ / [R=301,L] RewriteRule ^(.*)/index\.html$ /$1/ [R=301,...
1
vote
0answers
25 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 ...
2
votes
1answer
92 views

Why do my analytics report that index.php appears in URLs despite friendly URL rewrite rules?

On a website i use mod_rewrite and PHP to create clean URL's. My .htaccess (summary) will look like that shown below: RewriteEngine On #oude pagina's RewriteRule ^nl/links/(.*)/index.php$ /...
2
votes
1answer
43 views

Redirect hundreds of subdomains to the main domain with path forwarding, use .htaccess?

I want to redirect from a subdomain to domain along with URL path forwarding. Example: abc.example.com/products.html TO another.example/products.html The trailing URL should be preserved. We ...
2
votes
1answer
65 views

.htaccess, redirect all to bye.php, even with more slashes, with exception

I need, in .htaccess, redirect all behind domain, but even with more slashes and with slash or no slash at the end, but with one exception. For example example.com/all/sites/should/redirect/to/one/...
3
votes
2answers
59 views

Redirect root domain to path

Searched all questions by redirect keyword (e.g. 1, 2) but none of them fit my case. I want to redirect my domain (www.example.com) to another (sub-)domain including path and query if possible: www....
0
votes
0answers
21 views

Wordpress with Ecommerce Software on Subdomain

I've just finished building a wordpress site for the company I work for. The original plan was to build out the store with woocommerce. However we have over 11,000 products and orders need to work ...
2
votes
0answers
38 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 ...
1
vote
1answer
260 views

htaccess redirect based on referrer URL string

I have a 3rd party who POST's to a specific page on my website. They post a file and my site does some wizardry with the contents of that file. The request URL would be for example https://example....
1
vote
1answer
31 views

Do redirects affect google analytics?

I have a website that redirects in the following manner: https://example.com/drugs/paracetamol.html http://example.com/drugs/new-paracetamol.html - 302 https://example.com/drugs/new-paracetamol.html -...
2
votes
3answers
146 views

Using htaccess to force HTTPS doesn't work

NEW EDIT 28/oct/19 → I edited the .htaccess file as you said AddHandler x-mapp-php5.5 .php # HTTP to HTTPS redirect RewriteCond %{SERVER_PORT} 80 RewriteRule (.*) https://www.bebechan.net/$1 [R=301,...
3
votes
1answer
92 views

How do I redirect a subdomain with a wildcard?

I've an old subdomain that was being used as a whitelabel. I'd like to redirect the subdomain to a page on my main domain. I was thinking the best way would be a htaccess redirect. RewriteCond %{...
3
votes
0answers
45 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 ...
1
vote
1answer
13 views

.htaccess HTTPS fowarding still redirecting to a folder which I have removed from the rule

I have the following simple code in my .htaccess file in order to forward my domain to the HTTPS version of the website: RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://...
1
vote
1answer
16 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 ...
0
votes
1answer
60 views

Redirecting URL with & without query string?

If I setup a 301 redirect for the first URL path below will that also redirect all the paths below that contain a query string? For example: /6-light-oval-chandelier-espresso?pp=0&epik=...
0
votes
0answers
30 views

Finding URLs that redirect to a given website

Is there any way to find all URLs that (permanently) redirect to a given website? E.g. www.ubercab.com redirects to www.uber.com. So I'd want a way to determine that www.ubercab.com redirects without ...
3
votes
1answer
48 views

htaccess conflicts

The issue that I'm currently forced to handle is related to a folder structure URL being redirected to the same folder structure URL but with a different string. So page-a used to exist but that ...
1
vote
1answer
275 views

Google Search Console: URL is not on Google (page with redirect)

I have just created a personal website which I host as github page and recently hooked it up with a custom domain. (In this post I changed the actual URLs to webmasters-example.com and webmasters-...
2
votes
2answers
115 views

301 redirects for asp pages to html

So I've redesigned a site that was built comprising of solely .asp pages and redid it using .html pages. I deleted the old site and uploaded the new, and uploaded my .htaccess file with code along the ...
4
votes
1answer
38 views

Reorder parts of URL path to put date together using .htaccess redirects

old permalink: https://www.example.com/2019/cat/subcat/10/25/post-name/amp/ new permalink: https://www.example.com/2019/10/25/cat/subcat/post-name/amp/ How can I redirectmatch the old format to ...
3
votes
1answer
53 views

What is the Cloudflare equivalent of these two .htaccess redirect rules?

I usually set up my sites to rewrite URLs in the following cases: All http traffic is redirected to https (and www), with a 301 All non-www traffic is redirected to www (and https), with a 301 In ....
2
votes
1answer
23 views

wordpress multisite htaccess redirect site to TWO subsites

EDITED: I've split a website into two subsites in a multisite enviroment. The old site was moved to a subsite, and renamed old.mysite.example. This will be faced out at some point. During ...
1
vote
1answer
49 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
1answer
336 views

How to mask redirect with Google Domains

For some reason, Google Domains does not have a mask feature. Is it possible to do this using custom resource records or synthetic records?
0
votes
0answers
20 views

m.me links not working chrome mobile

I just got into a problem when links to messenger (m.me/PageNumber) are not working on mobile chrome. It works fine on desktop chrome, it redirects straight to messenger.com/PageNumber. But on ...
2
votes
1answer
36 views

How to rewrite using .htacess when there is a ? (question mark) at the beginning of the URL?

Many JS functions on my site are sending Ajax request to /?something=3213214 but I need to redirect them to /something=3213214 When I do: RewriteRule ^test/(.*) /$1 [R] It does redirect /test/...
0
votes
0answers
5 views

Redirect sub.domain.com/folder1/ to sub.domain.com/folder1/folder2/

I'm trying to redirect sub.domain.com/folder1/ to sub.domain.com/folder1/folder2/ but I don't know-how. I've tried so for this but without success. RewriteEngine On #If the host is "sub.domain.com" ...