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
2
votes
1answer
18 views

Can I redirect a domain with redirecting its subdomain?

I would like to redirect domain A to domain B, but I have a subdomain under domain A. If I redirect it, is the subdomain going to be redirected to domain B as well?
1
vote
1answer
32 views

Apache .htaccess Redirect and RedirectPermanent directives do nothing

I am trying to do a very simple redirect for an entire web site using instructions from sites like this and this, and several others that say the same thing. I am using Apache. My .htaccess file ...
4
votes
1answer
120 views

Redirect all URLs exactly except one URL that must be redirected to a different URL

I must to change domain from example.net to example.com. To redirect all URLs exactly (www and non-www) I use: RewriteEngine On RewriteCond %{HTTP_HOST} (w*)example\.net$ [NC] RewriteRule ^ https:/...
1
vote
1answer
17 views

Multilingual SEO and Single-page application

I have a website (Single-Page Application) in VueJS, and want to implement localized versions with URLs like these: http://example.com/en http://example.com/de http://example.com/it I'm trying to ...
0
votes
0answers
5 views

Google Search Console Setup after forwarding blog from sub-domain to sub-directory

We have a main website on Windows server https://www.example.com/ We have a WordPress blog on subdomain which is hosted independently on php Aparche server: https://blog.example.com/ Our goal is to ...
0
votes
2answers
26 views

SEO impact: personalization by redirecting user to a different page

I want to integrate personalization on some e-commerce website. This website has two product categories: shoes for men shoes for women In visit 1, an user types in www.example.com and arrives on a ...
1
vote
1answer
22 views

How will Google treat my site if 90% of the URLs redirect and the internal links still point to the old URLs?

Our newly redesigned website version has so many redirects, because there were so many structural errors, SEO issues, and thin content. 90% of the URLs on the Website redirect. Total number of ...
0
votes
0answers
13 views

Apache2, redirect too many times, but I don't know why? How can I analyze and solve?

when I try my website on localhost, browser shows me redirected you too many times. I tried everything, but no success. Tested on another server too, same situation. How can I determine the problem ...
2
votes
1answer
73 views

set header 410 for random generated folder path

I have thousand of error URL with patterns like this https://example.com/feeds/74750882288885xxx/comments/default where 74750882288885xxx is a random number, I need help to set this URL to be 301 ...
1
vote
0answers
25 views

HTTPS and Error 102 (net::ERR_CONNECTION_REFUSED) [closed]

A client has a Wordpress website with an SSL certificate. Through .htacces it redirects from non-www to www. If you access the web through: https://www.example.com > OK (default) http://www....
3
votes
1answer
30 views

.htaccess rewrite rules for nonsense URLs

I have a number of rules governing the URLs on my main website & it's a pretty nice setup. There is an unintended consequence that has come up though. My latest addition cleans up a bunch of 500 ...
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
1answer
28 views

Create alias URLs including a path to redirect or forward to other websites

To unify the complex URLs of different social media profiles I want to create forwardings/redirects from my own domain to the domain of the respective profile. For these alias domains I want to use a ...
0
votes
1answer
24 views

The URLs mentioned in Google Search Console redirects to another website

Google Search Console reported structured data issues on my WordPress blog. When I clicked on those URLs then I am redirected to a Canadian Pharmacy Website (this is a spam site) However, if I copy ...
0
votes
0answers
12 views

apache .htacess redirect to treat root domain with or withought / as a single page not 2 page [duplicate]

I have developed a dynamic PHP website and code is written in core PHP (NO CMS or Framework used). When I am checking with SEO tools it is saying duplicate content for https://sattamatkaa.in/ and ...
0
votes
0answers
13 views

From an SEO perspective can you redirect away from an old site that cannot be reached to the new site

my client has an old site that cannot be reached. it was registered by a company that is out of business for at least four years, and the host and registrar will not allow the business owner to even ...
0
votes
1answer
45 views

How to make sure Google doesn't think index.html and homepage pages are duplicate content?

I have a website built with html CSS and JavaScript, its working on Firebase platform. I did a duplicate content test on siteliner.com, the results showed me 100% duplication between index.html file ...
0
votes
0answers
9 views

How to stop the IP of the server from redirecting to the domain if accessed directly?

So there is a site, that is behind Cloudflare so the IP is protected, but in addition to that, I want to make it so that if you have the IP and type it in the browser, it will not disclose the domain ...
1
vote
1answer
20 views

How to rename multiple files using .htaccess

I need to rename many jpg files. For expamle: warszawa_1.jpg -> wars_1.jpg, warszawa_2.jpg -> wars_2.jpg I created in the .htaccess file something like that: Redirect 301 /img/warszawa_1....
0
votes
1answer
17 views

Changed URL for a page that was indexed by Googlebot. Will redirect 301 from the old URL to the new one. But what to do with my Sitemap?

I'm planning to change a url for one of my site's page. Example: From: https://www.example.com/old-post-slug To: https://www.example.com/new-post-slug The fact is that Google has already ...
2
votes
1answer
37 views

Can I rewrite to a redirected URL using .htaccess file?

I have a page A. I want to have a page B which is served as a rewrite of page A using .htaccess. Is it possible to redirect page A to page B from .htaccess or is it going to go into an endless loop?
0
votes
2answers
25 views

Will I lose ranking if I redirect domain A to a page on domain B?

Basically, domain A is a single-page application and I want to redirect it to an identical page on domain B. I was wondering if the new page on domain B will rank just like how domain A ranked? or am ...
0
votes
0answers
32 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
vote
1answer
53 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
7 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
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
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
33 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
43 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
604 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 ...
3
votes
1answer
157 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 ...
1
vote
1answer
31 views

Does a redirected URL used in an anchor count as backlink?

If another website puts an anchor to our app to https://URL1 and this link redirects to our website at https://OURCOMPANY, does Google count this as a back link to our website?
2
votes
1answer
82 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
5answers
105 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
23 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
47 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
35 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
94 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
41 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
530 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
129 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
41 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
94 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
46 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
68 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
85 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....

1
2 3 4 5
29