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
2 answers
170 views

Apache2 subdomain to domain [SSL]

I have domain with SSL and 4 subdomains like: ftp.example.com, server.example.com etc. I'm trying to redirect from subdomain to domain. Example: if someone goes to https://server.example.com they will ...
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 ...
10 votes
3 answers
1k views

How Can I Debug a Redirect Error in Google Search Console?

I'm getting a pesky redirect error from my Google Search Console: Sadly, the report above doesn't give me much information as a developer about what's causing the error. When I click on Inspect URL, ...
3 votes
2 answers
50 views

Will the SEO of a webpage suffer if its parent directory has a redirect?

I'll have lots of webpages with URLs in this format: https://www.example.edu/faculty/firstname-lastname but for the parent page... https://www.example.edu/faculty ...I want it to redirect to... https:/...
0 votes
0 answers
24 views

Google Analytics Direct Traffic Dropped upto 60% after website revamp

One of my client's website is a B2B technology company website. I was working on website revamp. Following things were done during the website revamp. The website URL structure, permalink structure ...
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 ...
3 votes
1 answer
36 views

How to redirect all pages of Site A to home page of Site B using .htaccess to track referrals using Google UTM

I want 301 redirect from all pages of SiteA.example to Home Page of SiteB.example using .htaccess rewrite rule, Since I am not PHP guy I am not sure if below rule is correct RewriteRule ^(.*)$ https://...
7 votes
1 answer
4k views

redirect various http domains to certain https domain via htaccess

I have a bunch of domain names with different TLDs. What I want is to point several domains to the "main"-domain which has a SSL cert (single domain). Like this: https://example.com (main ...
0 votes
0 answers
18 views

Run .htaccess rule to remove trailing slash only if such a file exists

I have the following .htaccess rule but I would only like it to run it if a file exists without the removed trailing slash: RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)/$ /$1 [L,R=301] I use ...
2 votes
2 answers
29 views

Google search console says 2 redirect errors out of 15 pages using hreflang

My website on Github Pages has 15 different pages for different languages and locales. They all have the following in the head block. <link rel="alternate" href="https://...
1 vote
1 answer
60 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 ...
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 ...
1 vote
1 answer
29 views

Rewrite three URL directories to corresponding PHP files and pass subdirectory as a parameter

I want to convert the following https://example.com/download-file/xyz https://example.com/download-code/abc https://example.com/developer/mno to https://example.com/download-file?name=xyz https://...
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 ...
1 vote
1 answer
27 views

Using a redirect link in rel=canonical link tag bad for SEO?

I have in my Django site's template: <link rel="canonical" href="https://www.my-domain.example/post/1"/> But the actual link is https://www.my-actual-domain.example/post/1 ...
1 vote
1 answer
277 views

Do follow link redirection

I am new to SEO and using WordPress. I got a do-follow back link from a website. The link's structure was /2018/03/03/abc/. After that I changed the permalink structure. So the link became /abc and ...
2 votes
1 answer
43 views

Can Google index page that is login-required and redirects to Login page?

I have one link that is login-required http://example.com/secret If user access the page without authentication it will be redirected to http://example.com/login page. My question is can Google bot ...
2 votes
1 answer
86 views

Create 301 redirects for subdomains from expired domain for SEO

I just bought an expired domains and there are lots of backlinks to different subdomains. I am planning to make a new blog on the domain and I want to get all the link juice. So I want to create a 301 ...
0 votes
0 answers
57 views

Coverage error in Search Console after modification of htaccess

In the last year, my website has had a problem with many 404 errors where .html was added to URLs that shouldn't have it. To resolve this problem I modified the HTACCESS with this line: RewriteEngine ...
1 vote
1 answer
80 views

Is it possible to redirect Cloudflare's pages url to the main domain (from someurl.pages.dev to someurl.com)?

Is it possible to redirect example.pages.dev to example.com using Cloudflare's DNS dashboard or pages? So basically what I want is if someone visits example.pages.dev, the person should be redirected ...
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, ...
3 votes
2 answers
104 views

Seo: tell search engines to prioritize a given subdirectory

Imagine a website of a recurring event. The URL structure is: http://example.org/2022/ - subdirectory about the 2022 edition of the event http://example.org/2021/ - subdirectory about the 2021 ...
0 votes
0 answers
17 views

How to redirect after doing an action (submit) to the same page without getting a redirect error in Google Search Console?

On the course page, there is a button for registration, and after clicking, it takes the user to another link to do the registration algorithm, then redirects the user to the same course page with a ...
0 votes
0 answers
12 views

Creating a permanent redirect which is trackable by Analytics? [duplicate]

I need to do a permanent URL redirection on my server. But I want to keep the ability to track it with Analytics. So I would have "fake" urls like: https://example.com/redirect/custom-a -&...
1 vote
1 answer
47 views

If I buy a domain based on my personal name and redirect it to a blog, will my domain appear when people search for my name?

I have a main webpage that ranks well in a specific city (myprofession+city.com). My problem is that I also want a personal domain (e.g., JohnDoe.com). So I was thinking if it's possible to buy ...
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 ...
1 vote
1 answer
34 views

Best practice of redirects of tempory pages (joboffers)

A clients website has a lot of joboffers (thousends), which when are filled go offline. I made 404 page specially for these joboffers with recommendations to other offers. My client says he gets the ...
2 votes
1 answer
90 views

Hosting multiple websites on one Synology server

I am currently running one website where I host multiple "projects". One of these projects is now basically finished and I want to run this project on it's own domain. I am running my main ...
7 votes
2 answers
5k views

How to implement WordPress in a subdirectory, hosted on a different server?

I am working with a client who already has a custom e-commerce website set up at their own domain e.g. example.com We want to host their WordPress blog at a subdirectory of their domain e.g. example....
2 votes
1 answer
22 views

After adding HTTPS to my site, Google prefers to index HTTP

I recently moved my website from HTTP to HTTPS. But when I try to get my HTTPS pages indexed, Google search console says "Duplicate, submitted URL not selected as canonical." Google is ...
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 ...
1 vote
2 answers
92 views

Lead forum traffic to a website

I'm running a small and old forum which got rankings here and there, but I created new pages on the website to provide a better helping source. The goal is to have even better rankings with these new ...
0 votes
0 answers
73 views

Unexplainable 301 redirect persists after redirect is deleted

I am using wordpress on a domain on my server and I am trying to configure redirects from a parked domain to my main domain. My main domain uses wordpress. My parked domain uses nothing (no wordpress ...
4 votes
2 answers
4k views

htaccess problem with redirects dropping slash

I'm trying to redirect individual URLs on http://olddomain.tld (retired WordPress site) to individual URLs on https://newdomain.tld (new WordPress site) using .htaccess. Redirecting the home page ...
0 votes
0 answers
36 views

Redirect wildcard domain to another one in nginx

I have two websites *.env1.example and *.env2.example, I want to redirect all traffics in env1 to env2, how to do so in Nginx? I do redirect from one specific domain to another, but now I want to ...
0 votes
0 answers
33 views

I want to redirect 301 to an added query string

I do want to 301 redirect https://example.com/no/ and all the URLs from that catalogue with an added query string ?lang=no. For example will then url https://example.com/no/about/ be https://example....
0 votes
1 answer
18 views

How to force Google to show my Wordpress with https protocol? [closed]

I've got my Wordpress website www.polandio.com which is possible to find in Google under "Polandio easy Polish news" (for example). The website is shown in Google with http protocol. The ...
0 votes
1 answer
164 views

503 Service Temporarily Unavailable nginx [closed]

how to fix this issues: when i use www.dbahack.com it show me this message "503 Service Temporarily Unavailable nginx" here is my DNS from cloudflare: [![enter image description here][2]][2]...
2 votes
1 answer
37 views

Mapping category label url into new custom category permalink?

I migrated my old blog into WordPress, my old cms has a category URL structure like this one https://www.example.com/search/label/health?m=0?&max-results=8 https://www.example.com/search/label/...
2 votes
1 answer
1k views

"Page fetch error Failed: Redirect error" in Search Console

We have a page with the address: (https://example.com/song/delgiri) I solved this redirect problem and it is completely green in WooRank! Now We have prepared four pages for Google Search Console. (...
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 ...
2 votes
1 answer
135 views

Redirection the apex domain to www domain in Amplify Hosting and Godaddy

I have built Next.js front-end project, and bought a domain from Godaddy a few days ago. For Next.js web application deploying & hosting, I am trying to use AWS Amplify. I read AWS official ...
user avatar
1 vote
1 answer
38 views

URL to only redirect to language-specific URLs using HTTP_ACCEPT_LANGUAGE?

Before I begin, I am aware of https://developers.google.com/search/docs/advanced/crawling/managing-multi-regional-sites, but there I have a specific question which isn't answered there. I have a ...
0 votes
1 answer
26 views

Why is https://is.gd/oArdcv translated to https://myaccount.google.com/device-activity? [closed]

The link https://is.gd/oArdcv is meaningless. I accidentally clicked it from a page that explained how to logout all Google accounts. This link was translated/redirected to https://myaccount.google....
1 vote
1 answer
120 views

My alias binding isn't working in IIS

I'm trying to get an alias working in IIS. Right now the site binding (the top in the picture) works when I type the ip:port into a web browser, however I cannot get the other 4 bindings to work as ...
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&...
2 votes
1 answer
801 views

Squarespace removes UTM query variables when redirecting from non-www to www

I'm setting up some redirects for a client's blog, pointing the old URLs to their new Squarespace site. Curiously, I noticed some of URL tracking variables were being stripped out during the redirect....
2 votes
1 answer
34 views

How do I get .app TLD to work with my .htaccess

I have a number of domains hosted on one server. I tried them as sub-domains but that was a failure. So I obtained new certificates and I have them configured as Add-On_Domains. They are all using ...
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 ...
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 ...

1
2 3 4 5
32