Skip to main content

Questions tagged [301-redirect]

301 is the HTTP status code for a permanent redirect.

Filter by
Sorted by
Tagged with
1 vote
0 answers
953 views

Using Redirect 301/302 vs URL shortening service

I'm currently developing an aggregator site that will gather information across many many sites, typically this kind of applications put together relevant topics and display different information from ...
4 votes
1 answer
2k views

Redirect all index.html pages to subdirectory?

I have an old site ported from WordPress to basic HTML (don't ask why) and every page is ending in the subdirectory/index.html. This is causing some funky indexing issues, so I wanted to 301 all the ...
0 votes
1 answer
46 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
1 answer
406 views

Is there any effect to SEO if I redirecting the .com to the .app of my domain?

So, say I purchase a brand new example.com and example.app. I want to redirect all traffic reaching example.com to example.app (i.e. the .com is a pure redirect). Does that have any impact on SEO? ...
1 vote
2 answers
364 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 ...
6 votes
2 answers
12k views

Remove query string from 301 redirect URL

I'm having some trouble with redirects and I haven't been able to get this to work. I want to make the following http://www.example.com/seasonal/christmas?p=15 redirect to http://www.example.com/...
0 votes
0 answers
32 views

Old HTML Site to WordPress - Loss of SEO Rankings

I have moved an old HTML site which had over 250 pages, nearly all of those pages were using the old trick of duplicating every page but just changing text to match the area where ranking was ...
1 vote
2 answers
3k views

301 redirect with Apache: All paths of URL to a single path

I am migrating a website from one platform to another, and in that process, I'm getting rid of the old domain name. There is no direct relation between the paths on the old and new website, and ...
0 votes
2 answers
2k views

How can I have one "master" domain redirect to other domains based on the visitors country?

I am trying to figure out if it is possible to purchase one "master" domain but make its sole purpose to redirect and fork visitors to country specific external domains. Sounds confusing, but here is ...
0 votes
0 answers
28 views

My website doesn't provide 404 errors

My website doesn't provide 404 errors. If you were to type in: clientsforcounsellors.com/dlkforiereg or pretty much any gibberish page that doesn't exist, you'd be redirected to my home page. Why ...
1 vote
0 answers
78 views

How best to perform 4 million 301 jpeg URL redirects to content based addressing on nginx?

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

Nginx ERR_TOO_MANY_REDIRECTS by adjusting WordPress Permalinks | 301 Error Ubuntu 18.04

OS: Ubuntu 18.04.5 LTS (having my own VPS) WebServer: Nginx/1.18.0 MySQL: mysql Ver 8.0.22 for Linux on x86_64 (MySQL Community Server - GPL) WordPress: 5.6 When I change the Permalinks option in ...
1 vote
2 answers
490 views

SEO/link-juice implications of 'www.' links versus links without 'www.'

I remember reading ages ago that it's a good idea to choose either www.example.com or domainexamplecom as your main URL and then set the other one as a 301 redirect to point to your domain? The reason ...
0 votes
0 answers
8 views

WWW vs non-WWW concerning link juice [duplicate]

It is often advised to use non-WWW url, so that there is less redirects and link juice does not leak, since people most often type non-WWW urls. But who cares what the user types? Links are not ...
3 votes
2 answers
806 views

Redirecting bare domain to www doesn't when specifying http/https scheme

I've recently uploaded a website on a domain via Firebase hosting. Using the domain registrar (NameCheap) I've also applied a 301 redirect rule (via NameCheap. It's called "URL redirect record&...
3 votes
2 answers
3k views

How do I do a catch-all .htaccess redirect?

A site has moved from example.net to example.com/ie/en/. (In other words, it’s moved from being its own domain to being a subfolder in a larger site.) However, the page structure has also changed. I ...
1 vote
1 answer
92 views

404 pages from the old site end up redirecting to the home page of the new site, why?

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> ...
1 vote
1 answer
312 views

Preserve Meta Title and Meta Description from redirected page

My site runs on WordPress. I have a custom post type of my Projects. These projects are categorized using Project categories. Each Project category has it's 'archive' page, where the projects are ...
2 votes
1 answer
36 views

Four 301-redirects from "www.example.com" to "shop.example.com" (am I losing my Google PageRank?)

Some years ago, I started my website with the main domain www.example.com. However, the project ended up being a store under shop.example.com. I obtained hundreds of links to http://www.example.com, ...
0 votes
0 answers
26 views

Rel=canonical vs. 301 redirect

My website has a bunch of URLs like abc.com/[item-id]/[item-name]. Only the item-id is used to display the page, item-name is there only for SEO purposes. Now, I would like to change that to abc.com/[...
2 votes
1 answer
56 views

Are there any negative implications of redirecting a URL on one domain to a URL on a different domain?

For context, my company uses a 3rd party website to house Instructions for Use manuals for the products we manufacture. We use a 3rd party to house these manuals as they are very large and often need ...
1 vote
1 answer
56 views

Finding URLs that redirect to a given website [closed]

Is there any way to find all URLs that (permanently) redirect to a given website? E.g. example.redirect redirects to www.example.com. So I'd want a way to determine that example.redirect redirects ...
2 votes
1 answer
181 views

Is it worth changing external outbound links from http to https if the other site redirects properly?

Many of the outbound links on my site have changed but only from 'http' to 'https'. Do I need to add the 's' to all the links if they 301 redirect to HTTPS?
2 votes
1 answer
133 views

What happens to backlink authority after 301 redirect removed

I configured 301 redirect to another URL, thus moving all backlink authority to the new URL. The question is if I disable 301 redirect and start serving content from the old location do I gain ...
1 vote
2 answers
135 views

Track link clicks to external website sent via SMS

I have a website created in Webflow. My company (let's call it myco.example) sends out texts to customers with a link to our client's scheduling page on their website. We created a shorter vanity URL ...
0 votes
1 answer
128 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 ...
6 votes
1 answer
856 views

301 redirect away from content that is served with a reverse proxy to prevent duplicate content

I am currently struggling to resolve an issue stemming from a reverse proxy. We are running a reverse proxy from page.example.com to example.com/page/ . This original subdomain content is generated ...
3 votes
1 answer
30 views

Having many redirected affiliate link with 301 Redirection

We have many affiliate link like below. example.com/123.html example.com/456.html example.com/789.html example.com/555.html example.com/666.html ....more than 1000 URLs All these links are 301 ...
4 votes
3 answers
117 views

I want search-engines to prefer newer version of my webpage (301-Redirect and Canonical ignored)

I've a very curious problem with the index-status of my webpage. It's a little difficult to explain. I launched my webpage in summer 2008 with around 8K sub-pages. Until 2012 all of the 8K pages ...
4 votes
1 answer
886 views

htaccess redirect root domain to subdomain with exceptions

i m using wordpress and want to redirect my root domain to a new subdomain and ignore urls that contains a certain string http://www.example.com/post.html To http://subdomain.example.com/post.html ...
2 votes
2 answers
199 views

How can I change description Google shows in the search results for a 301 redirect URL?

We transferred our domain from our old CMS to our new one but we still have the same domain. Let's say our domain is now example.com. I Googled our domain protein powder and a page from our old site ...
5 votes
2 answers
17k views

.htaccess how to redirect the contents of a directory to a subdirectory

I'm trying to redirect the contents of a directory that is placed at the top level of my website, to a subdirectory one level deep. I also need to exclude two files and a folder. Nothing I've tried so ...
3 votes
1 answer
1k views

How to redirect to style sheet after switching domain names?

We have switched domain names from example.com to example.org . I have set up a general 301 redirect for all of the site URLs in the .htaccess file on the example.com server and all the pages are ...
0 votes
1 answer
84 views

Redirect shop.mywebsite.com to mywebsite.com/shop

I am looking for the cleanest/SEO friendly way to redirect a subdomain (i.e. shop.example.com) to a sub-directory on the main domain (i.e. example.com/shop). Further information I will not keep the ...
1 vote
1 answer
1k views

Apache Rewrite Rule www to non-www + http to https + add trailing slash

I really need the following 3 features of my website: www to non-www HTTP to HTTPS force trailing slash at the end of the URLs I have a current implementation but I face a very bad bug. When I ...
5 votes
2 answers
15k views

redirect www to non-www (CNAME needed?)

I want to redirect http://www.example.com to http://example.com. I would like to avoid duplicated content. Is 301 redirect in nginx sufficent? Is it needed for me to add a CNAME record? My concern ...
0 votes
0 answers
329 views

How do I redirect a subdirectory with Yoast SEO pro?

I have changed shop section name from "product" to "shop". I have yoast seo pro and i can do redirect with that plugin. How do I redirect all pages from old addresses to new ones from example.ir/...
9 votes
2 answers
9k 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
1 answer
72 views

https version of my site added in Webmaster Tools - now statistics incorrect

I have 'upgraded' my site to SSL two weeks ago, and following the instructions given by Google, added the https:// version of the domain (which uses .htaccess to automatically redirect to the https://...
3 votes
1 answer
921 views

301 redirect rewrite query string in .htaccess [duplicate]

I am trying to perform a 301 redirect in .htaccess and I need to remove the query string ?view=full. Here is what I have that is not working: RewriteRule ^/contact/?view=full$ /contact/ [R=301,L] I ...
2 votes
1 answer
421 views

Which HTTP response status code is most appropriate for a restricted URL?

I have a page on my website that's targeted at logged-in users only. Logged-out visitors shouldn't see the content. Imagine the page URL is example.com/upload/. In cases when users aren't ...
2 votes
1 answer
80 views

Can I create a keyword subdirectory for my home page to help SEO?

My website consists of an English-language Homepage (my index.html file), and a German and Russian translation of this page (de.html + ru.html), which are accessible through a button on the top-right. ...
-3 votes
1 answer
319 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 ...
0 votes
1 answer
72 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 ...
5 votes
1 answer
2k views

Can robots.txt redirect to a different domain?

I would like to know if I can put a 301 redirect on robots.txt file and have it hosted in a different location. I'd like to have it on a cloud front layer. example: https://www.mydomain.example/...
1 vote
2 answers
42 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 ...
5 votes
1 answer
112 views

Is it good to go live with 302 first and then change it to 301 if everything works perfect

I am in the process of removing duplicate content (or URLs) issue on my website. There are hundreds of similar content links on my website where both URLs one without trailing slash and one with ...
3 votes
1 answer
37 views

What to do to recover after deploying a new shopping cart / site and Google smacks you?

I recently deployed a reworked online store that was previously built with a system that suddenly went out of business. It was a rush and I ended up with new URLs for all products with even some ...
0 votes
2 answers
3k views

HTTPS + IP not redirecting to configured Domain Name and gives "Your connection is not private" [Nginx/Ubuntu]

I am using NGINX for 301 redirects on Ubuntu and reverse proxy for my Web Application and aim is to redirect traffic to non-www url such as https://mywebapplication.example. So with my current ...
2 votes
3 answers
4k views

Track 301 redirect traffic from domainA to domainB in Google analytics

Ive got domainA which has a 301 redirect setup to redirect traffic from domainA to domainB, Id like to track how much traffic is coming through as a redirect from domainA. How could i track this in ...

1 2 3
4
5
22