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
1answer
12 views

I have redirected my homepage to internal page. Should I include my homepage in the new sitemap?

I have redirected my above homepage to one of my internal page. So, I am confused whether I should include it in the new sitemap?? And what would be my canonical tag?
-3
votes
1answer
29 views

How can I bulk redirect old URLs to my home page using .htaccess?

I want to redirect many URLs in my shop. Here is the example: /pl/index/12 /pl/index/16 /pl/index/18 and so on. What would be the rule for .htaccess to rewrite all of trash URLs from the previous ...
1
vote
1answer
728 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....
0
votes
0answers
36 views

Can an eCommerce site from one domain appear under another domain?

I have a new client, Business A, who has a website already set up on a domain they have purchased: businessa.com. They wish in collaboration with another company, Business B, to sell products using an ...
2
votes
0answers
19 views

On Netlify, how do I redirect a URL wildcard to that parent directory?

I have URLs I want to redirect to their parent folder/directory: /hats-category/hats1 /hats-category/hats2 /hats-category/cool-hats Rule looks like this: /hats-category/* /hats-category So I can ...
1
vote
2answers
3k views

How to avoid SSL warnings about certificate not for the current site when redirecting alternate domains?

I have multiple domains forward issue. Domains with plurals and singular e.g.: example.com, examples.com, example.biz, examples.biz I forwarded all of them to https://examples.com and https://...
0
votes
1answer
14 views

Should I do a redirect when trailing slash and http is changed?

I have noticed that all my internal links (and I have a lot of them) were being linked like so: https://websitenamehere[dot]com/post-title Yet, my posts have actually a trailing slash after the ...
-1
votes
1answer
17 views

Redirect https alias to http main domain (it is showing no private connection error)

Redirect https alias to http main domain (it is showing no private connection error) I have one domain alias www.domain2.example The main domain is www.domain1.example When someone enters to www....
0
votes
1answer
68 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 ...
2
votes
1answer
55 views

Apache rewrite rule for parameter value to path while replacing slashes with underscores

Apache rewrite rule for, Query String replace / value with _ Source URL: http://example.com/my/service?opath=/content/home/page&appId=myapp rewrite to below http://example.com/my/service....
1
vote
2answers
27 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 ...
1
vote
1answer
19 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
13k views

How can I get a regular expression to only match an empty string? (In a .htaccess file)

I try to make a regular expression in a .htaccess file, that matches only an empty string. I have tried many things, but it seems like it’s impossible. For example, I tried ^$, but it's looking for ""...
2
votes
3answers
42 views

Trying to determine if bot crawling my site is malicious - MJ12bot

My server is getting around 3,000 requests per an hour from a bot identifying itself as "MJ12bot". The URLs its hitting are coming form a 301 redirect, and are invalid on my new web application. ...
0
votes
0answers
13 views

How to IIS Rewrite when the URL contains a bookmark (#)?

I have a URL that's been inserted into a multitude of online courses, containing multiple QueryString parameters and a hashtag bookmark. Unfortunately, whoever inserted them also added some spaces, ...
0
votes
0answers
13 views

IP Canonicalization, do I need to fix it? [duplicate]

I use ryte to analyze my webpage and it gives the following advice: If the IP (173.###.###.###) of this domain gets called, it should redirect to the real homepage of this domain. Not redirecting ...
4
votes
3answers
86 views

Converting old 404 links to inbound links for SEO with 301 redirects

I have many quite old, varied, trusted 404 links pointing to our site. Is it OK for SEO to use these as inbound links for a new domain? I would make them into 301 redirects.
2
votes
1answer
35 views

htaccess Redirect Using Regex

I have 2 redirects that work fine: Redirect 301 /namedeal/ca_domain_name.php /namedeal/cheap_domain_name.php Redirect 301 /namedeal/ws_domain_name.php /namedeal/cheap_domain_name.php I want to be ...
1
vote
0answers
14 views

Is it possible to create a short URL that redirects to a longer URL if that short URL currently doesn't exist?

I've a URL that's very long. I need to put the URL into a hardcopy format but it looks ridiculous on paper. The URL performs well so changing it is not on the cards. Would it be possible to write a ...
0
votes
0answers
24 views

how to redirect Some addresses?

How to redirect Some addresses? I want to redirect all these for example : http://example.com/post/?yturtuytry or http://example.com/post/comment-page-2/ redirect 301 to http://example.com/post/
1
vote
0answers
25 views

How to add a second hosted domain in place of a currently hosted subdomain on Bluehost?

I have two domains, dom0.example and dom1.example. The nameservers of dom0.example are set to my webhosting on Bluehost. Now I have a second website under sub.dom0.example. I want dom1.example to ...
1
vote
0answers
14 views

Redirecting to new domain page by page [closed]

I'm trying to redirect a domain to another one. Because of SEO concerns I've made a list of all the pages indexed in Google and for each one I decided where to redirect to. My .htaccess looks like ...
3
votes
1answer
908 views

310 ERR_TOO_MANY_REDIRECTS error after enabling ssl certificate in nopcommerce

After I installed and turned on a SSL certificate, I began to receive 310 errors. The site is built with nopcommerce. SSL Settings on the site are all included:
2
votes
1answer
18 views

Is it ok to have Desktop URL as canonical when Googlebot is crawling as Smartphone?

Google in search console has clearly stated that it is indexing as a smartphone. Our redirection logic, look at user-agent and redirects all mobile traffic to mobile URL. However, in our mobile site's ...
1
vote
1answer
39 views

Apache: redirecting an entire directory to the root of another site

I want to redirect everything from a certain subdirectory to the root of another site, i.e. without the subdirectories: example.com/jobs should be redirected to jobs.example.net everything path ...
1
vote
1answer
64 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/...
0
votes
2answers
32 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 ...
0
votes
0answers
23 views

how to get rid of mailicious redirect

I'm in charge of a Wordpress site (currently offline) that's affected by a malicious redirect, i.e. going to that address redirects to a phishing site (curiously though it only happens when getting ...
6
votes
2answers
929 views

How do I redirect Pages to the Subdomain with same URL Format?

How do I redirect Pages from the main site with 404 Status to the Subdomain with same URL Structure? This for example: https://www.example.com/rent this returns a 404 Error and must be redirected ...
1
vote
0answers
29 views

Website was not redirect from non www to https+www

I'm currently doing www+https redirection where I hope that my website able to redirect from http://example.com to https://www.example.com but it does not work even I have added redirection in ....
2
votes
0answers
14 views

Can I test if my site's URLs have 403 errors for Google Ads Bot?

All URLs in my WordPress site can be visited via browser such as FireFox and Chrome successfully. However, today I receive emails from Google Ads telling me that some of the URLs have errors. The ...
2
votes
1answer
24 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
868 views

301 redirect blogspot to an existing domain?

Is it possible to redirect a blogspot site to an existing URL? Note that I don't want to buy a new domain and tell blogspot to use that, eg as per this question: How to have a blogspot blog in my ...
5
votes
1answer
140 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:/...
2
votes
1answer
36 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 ...
1
vote
1answer
32 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
96 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 ...
0
votes
1answer
48 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 ...
1
vote
1answer
34 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 ...
1
vote
1answer
31 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....
1
vote
1answer
25 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 ...
1
vote
1answer
49 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> ...
2
votes
1answer
75 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 ...
3
votes
1answer
81 views

Should you wait until peak traffic season to move traffic when you can't use SEO friendly redirects?

I have been running a Google Site for some time now and it has managed to gain decent traffic as well. At this Google Site, I have some content on the website itself and some content is uploaded to ...
1
vote
0answers
36 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
31 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
38 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
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 ...
0
votes
1answer
699 views

Is it SEO-acceptable to do an automatic redirect based on Accept-Language header value

We are launching a big international web site, that has local web sites on other domains. We are planning to configure the web site to behave in the following manner: Of a user with German (de) ...
1
vote
1answer
29 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 ...

1
2 3 4 5
29