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

Making WWW. work for subdomain with no hosting?

We have a domain, example.com for instance. In our DNS settings for this domain, we've created a forward for give.example.com subdomain to redirect to another website which works great. (It's ...
1
vote
1answer
23 views

Wildcard redirects for some paths but not others in Google Domains

The Goal: redirect www.example.com/product/* to www.example.com/product using Google Domains Background: I'm using github pages to host my site so I cannot add an .htaccess file like a more ...
1
vote
1answer
55 views

.htaccess directives fail to redirect www to non-www URLs

I'm trying to redirect https://www.example.com to https://example.com. I'm running Ubuntu server 2020 lts with Apache 2, PHP 7 and Let's Encrypt SSL. My file structure: logs/ private/ public/ └ ...
3
votes
1answer
40 views

Redirect URL ending in certain `variable=value` query string, to `URL?variable` (i.e., strip `=value`)

I'm trying to create a 301-rewrite for URLs ending with ?amp=1 to nearly the same URL and query string, just stripping the value (=1). Examples: https://example.com/?amp=1 should redirect to https://...
0
votes
1answer
32 views

Send a different image from my web host if it was already requested by an IP address?

I am hosting an image with my hosting provider host gator and people can request it with www.example.com/image.png When an IP address requests the image www.example.com/image.png the first time it ...
3
votes
1answer
53 views

Force HTTP to HTTPS except one page accessed via HTTP

I'm trying to redirect a website to HTTPS, but there is one URL that needs to be accessed via HTTP. Currently I just have this in .htaccess: Redirect 301 / https://www.example.com I need to have the ...
1
vote
1answer
28 views

Google Domains won't redirect `http` to `https` when Bluehost handles the DNS and website

I have a website hosted on bluehost, but using a domain from Google domains. I am trying to force it to always redirect http://example.io -> https://example.io from the google domains site. However,...
1
vote
0answers
23 views

HTTP to HTTPS redirect causes critical chained request in Google Page Speed Insights

My WordPress website is configured to use HTTPS. After running the site through Google Page Speed Insights, the report shows a section labeled Avoid chaining critical requests 1 chain found Expanding ...
1
vote
1answer
33 views

Do pages that have received no traffic in a long time still have any SEO authority?

Is there a rule of thumb for how to handle old content on websites? Should All pages that get removed have their URL 301 redirected to retain any SEO authority they may have. Or is it ok to assume ...
0
votes
0answers
12 views

Redirecting website from subfolder to root without affecting seo

I have a wordpress website (www.example.com) where the file are located in a sub folder of the public_html (public_html/x/wp folders). Since I'm getting some troubles with some plugins and caching ...
3
votes
1answer
42 views

Combine multiple 301 redirects

I need to combine multiple redirects via my .htaccess in Wordpress for future site migration and re-launch: Domain change Force HTTPS Force www URL structure changes (important to keep juice here) I'...
0
votes
2answers
26 views

Redirecting Old Domain to New Domain - Google SSL Warning

My client wanted his website republished under a new domain that was shorter. So we pointed the new domain to the website server and "forwarded" by 301 redirect from the old domain hosted on ...
2
votes
2answers
66 views

How to block access to all but homepage unless that access comes from the homepage?

Given a homepage at domain.com (e.g., https://example.com/), I want: outside requests to only be able to visit the homepage and no subpages that homepage to successfully redirect visitors to a ...
1
vote
1answer
273 views

How to prevent discovery of URLs by search engines?

I crawled my Wordpress site using the Screaming Frog program and noticed a few issues which might have SEO implications and was hoping someone could help identify the problem (if there is one). N.B: I ...
2
votes
1answer
43 views

Can I use Google Analytics on URL shortener redirects powered by PHP?

I have a short URL website like Bitly which currently redirect users with PHP from my site to a site of their choice. I want to add Google Analytics to the redirect pages but I am stuck on the problem ...
2
votes
1answer
11 views

redirecting from www url to non-www url in Google Firebase static hosting

I am using Google Firebase static hosting. When a user types and enters www.example.com, I want the address to change to example.com and show the user content of example.com. How can this be achieved? ...
2
votes
0answers
24 views

sub domain to different computers [closed]

I am hosting a personal website domain.tld and have a separate nas computer as nas.domain.tld and I only have 1 public ip address. I have successfully redirected nas.domain.tld to domain.tld:99 so ...
1
vote
3answers
184 views

Getting Google to Index a new landing page instead the Home page

I have a website where the home page ranks mid page 1 for a key search term. for example "widgets london" which for example indexes www.johndoeengineering.co.uk It is a highly competitive ...
0
votes
1answer
25 views

Determine if a site has been hacked (HTTP 203 leads to 301 then 302) [closed]

While trying to visit a site earlier that I've previously accessed without an issue, I was oddly redirected to some spammy dating site. Not wanting to try again, I used wheregoes.com to trace the ...
2
votes
2answers
33 views

When I redirect a page with a 301, should I update my Sitemap immediately with the new URL?

Those pages are all indexed and rank well, so I want to be extra careful. This is my current sitemap.xml: /OLD_FOLDER/some-slug-1 /OLD_FOLDER/some-slug-2 /OLD_FOLDER/some-slug-3 I'm setting up 301 ...
0
votes
0answers
16 views

will buying new domain and redirect it 301 to my website affects my website somehow? [duplicate]

I want to buy a new domain with a name that is so similar to my original website domain and redirect it in a 301 redirect to the original website. will this somehow affect the original website traffic?...
1
vote
2answers
23 views

How can I do 301 instead of 302 redirects when there are multiple domains sharing the same site hosted in IIS?

I have several domains sharing the same site and use a default.asp as the default file where I test the SERVER_NAME variable and use Response.Redirect to redirect to the home page of the site ...
1
vote
1answer
32 views

I would like to set up a subdomain for my website that redirects to my discord invite link

Is there a way to Set a subdomain on my website to redirect to my discord invite? Is it possible and is it allowed?
1
vote
0answers
25 views

GTM blocks anchor tag href redirect when rel=“noreferrer” on Chrome/Firefox/Edge

A website has an anchor tag that redirects to the home page, when the tag has rel="noreferrer" on it, GTM will block the redirect but still trigger and count any click events for GA. Reason ...
0
votes
0answers
8 views

Migrating google amp version from a subdomain back to our root domain

A few years ago, our news portal was running legacy code, so we decided to make google amp version in a different project on a subdomain amp.ourproject.com, because it was much easier than meddle with ...
1
vote
1answer
20 views

How to interpret this html page and where do I add meta tag

I'd like to redirect my webpage to another webpage. I used a template to develop the website and I couldn't read the code on this page. Could anyone tell me what does the code below means? --- layout: ...
4
votes
1answer
73 views

Upgrading my website to be multilangual, is this use of canonical code correct?

I have a good search-engine ranked webpage written in Dutch (=NL) and I have just upgraded my site to be in French too. So I've created subdirectories for NL and FR, but my root/index is now exactly ...
0
votes
0answers
4 views

What is the effect of Enhancing the content and Change URL auto 301 redirect in WordPress

I have some articles that ranked on the first page but with a long URL and Title and need to reformat with the same content but organize the post structure and may need to get steps up and move others ...
2
votes
1answer
59 views

nginx https ip address to domain redirect

My website is pretty messed up: it shows up as an IP address in the google search results (https). I want to redirect this to my domain, but when I couldn't figure out how to redirect https to my ...
2
votes
2answers
36 views

Two subages on one website with almost identical content

I'm creating a website that is comparing stuff, let's say it compares programming languages for the sake of explaining my question. I'm building a structure where the url/slug will contain the two ...
2
votes
1answer
34 views

Double redirect - referrer in headers

let's say we have redirects like this: (1) my shortener link -> (2) bit.ly -> (3) target URL Is it possible to check on the end (3) that user visit came from (1) my shortened link?
1
vote
2answers
170 views

Do CNAME subdomains redirect to their target?

I've created the CNAME subdomain: tumblr.wp20201111.blog which maps to doigy.tumblr.com. However, when I load tumblr.wp20201111.blog in the address bar, it doesn't redirect to doigy.tumblr.com, it ...
1
vote
1answer
20 views

500 Internal Server Error for *.html and *.htm files [closed]

I look after the website airandmore.at, it is a wordpess site. Now I ran into the problem that *.html and *.htm requests don´t work, for example do I get a "500 Internal Server Error" in ...
6
votes
1answer
96 views

HSTS affect on SEO

I do back-end work work for a couple of fairly knowledgeable people in the SEO field (i.e. not people off the street just claiming to be SEO experts). One of them is advising that HSTS improves SEO, ...
0
votes
1answer
25 views

Phantom redirect? I can't find or 'turn off' the redirect [closed]

I changed domains and redirected the old domain to the new one and then eventually completely deleted the hosting for that old domain. Recently I've decided I want to use it and I've opened up hosting ...
2
votes
1answer
47 views

Redirects without Permission: what legally can be done?

If someone buys a domain and decides to redirect or forward it to my site without permission, is there anything legally that I can do to stop them? Is there a crime they can be charged with? Can I sue ...
2
votes
1answer
130 views

How to Redirect URL with special Characters?

I try to redirect a special URL in .htaccess, as below: Redirect 301 /aor/%e2%80%9d https://www.example.com/outlook-repair/ But this seems does not work. I try to add quotes, as follows: Redirect 301 ...
2
votes
0answers
26 views

I've moved to a new domain a long time ago but a site:search for the old domain still shows results, can I request removal of those now?

My website is located at example.cc. Another domain, example.com, redirects to it. I wonder why searching for site:example.com yields different results with site:example.cc? Shouldn't Google detect ...
1
vote
1answer
43 views

Should I redirect the directory listing page of a parallel secondary directory to the primary directory?

I have a website where I have a few sub-directories to list services. So it goes like this. example.com/services/website-development.html example.com/services/web-development/e-commerce.html example....
-3
votes
1answer
52 views

Redirecting domains on https without creating a certificate for them?

I own, say, 100 domains. I want to add redirect for each of them to a new domain. And not only to a domain, but a custom query string. For instance domain1.example/url1 -> domain11.example/url2 ...
1
vote
0answers
48 views

HSTS compatible .htaccess redirect from non-www to www that preserves URL path [closed]

UPDATE: The redirect actually does work! The site is a friends site and I was coming up with solutions and sending them to him. Turns out his website is running Joomla. After further troubleshooting ...
0
votes
0answers
24 views

SEO - Removing old links from Google

I recently switched my company from Opencart 1.5 to Magento 2. I've created new SEO friendly URLs for the products, and wrote a redirect script in my .htaccess file that works on a majority of the ...
1
vote
0answers
23 views

Will redirecting based on mobile/desktop user-agent cause SEO or caching issues?

I have two versions of a website, the mobile version and the desktop version. Both websites are hosted on the same domain (www.example.com) and have a similar URL structure for most pages (www.example....
0
votes
0answers
26 views

What is the correct or most appropriate way to address phantom or untraceable 404 errors showing up in a website audit?

Currently I am running my site through neilpatel's website for the purposes of an audit on SEO - the analyzer continues to return a 404 error that i cannot find anywhere, following this URL structure ...
0
votes
0answers
20 views

Redirecting home page to a subdomain, but keeping root domain for blog and ecommerce

This is a fairly unique situation, hence my question here. My client has an ecommerce business that includes both retail and wholesale customers. We recently changed her retail side over to Shopify ...
1
vote
2answers
34 views

Using two domain names in a single folder

I have inherited an English/French static web site. The original developer created it so all the html files are in the root directory of the English domain and added "-fr" to the French file ...
1
vote
1answer
49 views

Will a .com SSL certificate cover a redirecting .com.ar domain?

we have a website with 2 different domains: www.example.com or example.com and www.example.com.ar or example.com.ar I want all requests redirected to www.example.com. I know I have to create two ...
2
votes
1answer
75 views

Redirect domain in CPanel without using htaccess so I can delete old domain

I have an old website that is being hosted on Apache/CPanel site. I'm being charged for hosting this site, even though it's being redirected to another site. I'd like to delete the hosting of the ...
0
votes
1answer
48 views

Htaccess 301 Redirect only not working on Windows 8.1

Here's the code: RewriteOptions inherit RewriteCond %{HTTP_HOST} ^old\.olddomain\.example$ [NC] RewriteRule ^ https://newdomain.example%{REQUEST_URI} [R=301,L] # BEGIN WordPress RewriteEngine On ...
1
vote
1answer
52 views

WordPress redirecting to itself

I have the following error in my apache2 error log (Ubuntu 18.04, local LAMP dev environment, PHP7.3), that I believe is causing a The page isn’t redirecting properly error: Apache Error Log [Thu Aug ...

1
2 3 4 5
30