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.

132 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
77 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 ...
user avatar
3 votes
0 answers
576 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 ...
user avatar
  • 131
3 votes
1 answer
117 views

Splitting an existing site into sub-domains and using a landing page with an http 301 - is this just wrong?

I currently manage a website for a large(ish) primary school. I'm in the process of rebuilding their website, and have had a thought today about how to potentially better organise the content. We ...
user avatar
2 votes
0 answers
33 views

Google seemingly ignoring redirects

So a bit of background. We previously maintained a blog-style news site to supplement our main e-commerce site, on a separate domain, let's call it magazine.example.com. The site was built using ...
user avatar
  • 121
2 votes
0 answers
22 views

When removing AMP pages, should they be redirected to normal pages?

I have been told not to publish AMP pages anymore, that is was useless for the ranking on Google. Furthermore, I noticed that sometines, people fall into my website from Google search on AMP pages ...
user avatar
2 votes
0 answers
26 views

reCAPTCHA v3 Dropping Form Submission Redirects

I have the forms on a site that I manage configured to redirect to https://example.com/thank-you/?foo upon submission. The site uses Gravity Forms. My confirmation settings are like this: When I ...
user avatar
  • 5,142
2 votes
0 answers
23 views

After changing URLs, how do I clear the old URLs out of Google Search Console?

I've recently changed the url structure of my site for SEO purposes from... example.com/this_is_the_page ...to... example.com/this-is-the-page The sitemap.xml is up to date and Google Search Console ...
user avatar
  • 21
2 votes
0 answers
47 views

Redirect IIS site to work with root domain

I have site on IIS in Default Web Site. I want to see my website when I write in browser example.com but now I see my website on address https://example.com/SiteName/Login I did what it says here: ...
user avatar
  • 21
2 votes
0 answers
167 views

Workaround to password protect new Google Sites with custom domain

I want to create a document and video library, and there are some conflicting constraints: we want to keep the maintenance and updating of the library separate from the team that manages the main ...
user avatar
  • 183
2 votes
0 answers
43 views

Issue using htaccess to redirect to main domain's subdir for everything except specific subdomains (and subdirs)

Currently we have an htaccess setup using the below settings; RewriteCond %{HTTP_HOST} !^(staged|foobar)\.example\.com$ [NC] RewriteCond %{REQUEST_URI} !/(Press_Kits|logos|admin|console|shop)/ [NC] ...
user avatar
  • 185
2 votes
0 answers
87 views

Google Analytics: the impact of "Website's URL" in View settings when using a filter to combine path and hostname

I have a Google Analytics view that combines traffic to multiple subdomains. It has an advanced filter set up to view full page URL in reports. As expected when using this filter, when I go to ...
user avatar
2 votes
0 answers
29 views

unable to access webpage on IOS devices

I am currently developing an IOT device that can connect to the internet but works offline as well. I have designed it so that when the user first connects to the wifi network run on the ...
user avatar
2 votes
0 answers
32 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 ...
user avatar
  • 586
2 votes
0 answers
33 views

Will it improve SEO to clean up my WordPress tags?

I have had a website for 6 years and I create post for it every week. From the start (6 years ago to 8 month ago), I attached familiar tags to every post. Now: Some of my posts (100 posts) have many ...
user avatar
  • 21
2 votes
0 answers
42 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 ...
user avatar
2 votes
0 answers
371 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 ...
user avatar
  • 399
2 votes
0 answers
982 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{ ...
user avatar
2 votes
0 answers
134 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 ...
user avatar
2 votes
0 answers
76 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 ...
user avatar
2 votes
0 answers
18 views

How to avoid WordPress visitor access to wordpress/ folder instead of domain in Plesk after making that folder the site root?

I used Plesk and installed WordPress at example.com/wordpress After a while, I moved the access of my WordPress to root (example.com) But, instead of moving all files to the root directory (httpdocs/...
user avatar
2 votes
0 answers
821 views

.htaccess for two languages and corresponding redirect for every page based on accept-language

I have a website www.example.es, with this structure: www.example.es index.php 404.html somepage.html www.example.es/en index.php 404.html somepage.html I want to redirect any language but es to ...
user avatar
2 votes
0 answers
48 views

How bad is forgetting all old URLs when redesigning a site?

I got to redesign a website for a very popular furniture and appliances company in my country. Currently this site receives around 100k organic traffic per month and 75% for home page. There are ...
user avatar
2 votes
0 answers
35 views

Handling requests for deprecated RSS feeds

The site I run still gets pinged frequently by RSS readers and services, even though we deprecated support for those feeds over two years ago. The URLs currently return a 404. Are there any good ...
user avatar
2 votes
0 answers
69 views

though 301 website redirect from .de to .com, google indexes .de Website

I had a website example.de . Than I changed the domain with example.com . I added example.com also in google search console and than I did every steps in https://support.google.com/webmasters/answer/...
user avatar
  • 121
2 votes
0 answers
2k views

Redirecting domains, sub domains and single pages on Siteground

I'm having serious issues with Siteground to get my redirects working. They did work on another hoster so it is possible. However, that server configuration was very different so I cannot copy what we ...
user avatar
  • 21
2 votes
0 answers
100 views

.htaccess to show a page from the main site on another domain

I have 2 x domain names https://www.example.com - This is my main site. http://www.example-liverpool.com This is my Liverpool sub website example.com/liverpool I've presently got URL forwarding ...
user avatar
2 votes
0 answers
534 views

Does Yoast support regular expression redirects to remove the date from post URLs?

I have to setup as redirect from "Date and Name" Format to "Post Name" Format. For example: /2010/10/post-url/ it must be redirected to /post-url/ I am using Yoast for redirect. I don't know what ...
user avatar
  • 524
2 votes
0 answers
953 views

Using AutoSSL/LetsEncrypt To Give Cert to SubDomain Pointing to Separate Server

Background I have a primary website hosted on a LAMP-based VPS, with WHM and cPanel. I've installed the Let's Encrypt cPanel plugin to use with AutoSSL, and that is working for the main site. ...
user avatar
  • 175
2 votes
0 answers
62 views

Googlebot following some 301 that doesn't exist for root domain

We have locale versions of our site www.example.com (UK), us.example.com (USA), fr.example.com (France) etc. In Google webmaster tools I have configured each of these domains with their country and we ...
user avatar
2 votes
0 answers
101 views

Homepage redirection after making vistors choose between B2B or B2C client type

We have a site where a business is running since a while, and quite well known by Google. Let's call it example.com . This site is dedicated to one type of client (B2B) We now want to start the ...
user avatar
  • 121
2 votes
0 answers
44 views

Redirecting Backlinks

I am working on Influencer marketing, one of the blogger has written a blog for us but they are linking to our landing page with tracking ids, as well as link redirects before the actual URL is hit, ...
user avatar
  • 313
2 votes
0 answers
659 views

Nginx request map and redirect have no effect

I want to rewrite/return request to new one I have: map map $request $new_request { include url_rmap.conf; } file url_rmap.conf # here i have tried all variations $scheme://d.dom https://...
user avatar
  • 121
2 votes
0 answers
474 views

Using Xenu's Link Sleuth to remove bad 301's / broken page-local links

I'm trying to fix 2 issues based on the report from Xenu's Link Sleuth. I have numerous 301 Redirects from Wordpress SQL based URLs despite using post name URLs. Despite using post name based URLs (...
user avatar
2 votes
0 answers
150 views

Plesk Site Preview redirects to Plesk Login

I moved over an existing PHP site to Plesk Panel 11.5 and now I'm having an issue with the site preview. When I click site preview the site comes up fine in a new window, however when I try to ...
user avatar
  • 21
2 votes
0 answers
1k views

How do you stop PDF hotlinking and automatically redirect hotlink clickers?

I have some PDF documents that I offer users once they have subscribed to my newsletter. Well, Google found them, and other people are posting them on various sites. I'd like to take advantage of ...
user avatar
  • 21
2 votes
0 answers
265 views

Replacement for DirectoryIndexRedirect for older versions of Apache

DirectoryIndexRedirect is available in version 2.3.14 and later. (mod_dir) Is there an alternative method for older versions? I have different DirectoryIndex directive sets for a lot of directories ...
user avatar
  • 133
2 votes
0 answers
3k views

index.html redirecting to cgi-sys/defaultwebpage.cgi

This problem has been persisting over the last couple of days. I thought I fixed it Friday only to get in on Monday morning and see that cPanel is still giving me issues. On Friday, all incoming ...
user avatar
2 votes
1 answer
228 views

How to find out the domains that 301 redirect to my website?

How can I find out what domains are 301 redirected to my website? For example if a.com, b.com, and c.com are 301 redirected to my website, then how can I know the list of a.com, b.com, and c.com?
user avatar
  • 1,297
1 vote
0 answers
46 views

How to 301 redirect site alias domain to a subdomain on the same hosting?

We have the following problem in Cpanel / htaccess file when trying to 301 redirect example.hu (alias) pages to example.com (subdomain) pages: Cpanel example.hu to example.com redirection is working, ...
user avatar
1 vote
0 answers
32 views

Redirect 301 - Google still cache old version website

I have website example.com (portal) and example.com/shop/ (shop). I changed the shop to a subdomain shop.example.com and 301 redirected all URLs from example.com/shop/ to shop.example.com. That was ...
user avatar
  • 11
1 vote
0 answers
28 views

How can I mask or park my url "example1.com" with this other "example2.com" in virtualmin?

I want example2.com to always appear in the address bar and show the content of my site example1.com. I applied this solution, but if I enter example2.com, it redirects to example1.com but the address ...
user avatar
  • 11
1 vote
0 answers
30 views

.htaccess - Force SSL and dont show .html in URL

I have a website where i want to Force https to all visitors, and I also don't want the URL to show .html at the end. In Google Search Console and Bing Webmaster tool i get an "Redirect errror&...
user avatar
  • 11
1 vote
0 answers
21 views

How to redirect if user direct access image files by browser? [nginx]

How do I redirect if a user tries to direct access image files in browser only? I want to still keep the ability to allow social media sites to embed our images by hotlinking. I just want only if a ...
user avatar
1 vote
0 answers
79 views

How do I redirect a subdomain blog to a subfolder without .htaccess?

I currently have a blog hosted with Squarespace on a subdomain, let's call it blog.example.com. I have my storefront hosted separately on www.example.com. My blog receives a good amount of traffic, ...
user avatar
1 vote
0 answers
57 views

Configure IIS to show contents of a long URL at a new short host name URL

I've been asked to sort out short URLs for some of our internal domains. So something like http://2D-DEV1 to point at http://my-server-name/APP_NAME/somemorestuff/thing.aspx The DNS for 2D-DEV1 points ...
user avatar
  • 11
1 vote
0 answers
10 views

Root Domain 301 Redirect Except Checkout Page - 2 Sites Merged

I have a client who is merging his two ecommerce websites into one. The first ecommerce site is about knowledge of the products and second ecommerce website is to buy the product. It is interlinked ...
user avatar
1 vote
0 answers
34 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 ...
user avatar
1 vote
0 answers
78 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 ...
user avatar
1 vote
0 answers
29 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....
user avatar
1 vote
0 answers
119 views

Subdomain forward with masking on Bluhost

I am trying to forward with masking a Bluehost subdomain (login.example.com) to another Bluehost subdomain (login.example.ca). I did the following; RewriteEngine On RewriteCond %{HTTP_HOST} ^login....
user avatar