Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [301-redirect]

301 is the HTTP status code for a permanent redirect.

0
votes
0answers
16 views

Implement 2000 redirects in an SEO friendly way without slowing the site down [duplicate]

I currently have two e-commerce websites, a new one, built on WooCommerce with ~1700 products and an old one, custom built with ~2100 products. I want to delete the old one and use it's domain and ...
1
vote
1answer
28 views

How to redirect from blog.example.org to example.com using htaccess

I have tried all means to do a 301 redirect from blog.example.org to https://www.example.com/post using .htaccess but the redirect doesn't seem to be working. I'm using this code below; ...
0
votes
0answers
16 views

Do deindexed URLs pass link juice?

I hope you're doing well. I am building some backlinks to a page of my website that is high likely to get deindexed (I have to build to that specific page) mainly because of duplicate content. Will ...
3
votes
1answer
43 views

Redirect domain name to a specific page

I have theses domain names installed: Main domain name: www.example.com Others domains: www.example.org www.example.fr www.animals.example I first made a rule on my .htaccess to redirect all ...
0
votes
0answers
5 views

Configure redirects with web.config

have a WP multisite that created the following web.config files at bottom ( works perfectly ). However, how do I create 301 redirects for individual pages in the subsites? ** WP generated web.config ...
0
votes
1answer
38 views

301 Redirect not working as expected

I am in the process of doing a website redesign. We have changed the domain name and hosting server for the new project. Following are the rules that I am using in my htaccess file to perform a 301 ...
0
votes
0answers
20 views

Redirect 301 with an exception

Good evening, having to "dismiss" the old gov.it site in favor of the new edu.it, they advised me to set the following .htaccess: RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.oldsite\.gov\.it$ [...
1
vote
1answer
16 views

301 redirect not passing refer details to GA. Can i use a UTM tracking link in the 301 instead?

I have a link to a site i manage on a 3rd party domain. The link is actually to an old site which i then 301 to the current site. All the sites are http, but somewhere along the way the HTTP refer ...
0
votes
1answer
43 views

Where to place 301 redirects in my Wordpress htaccess file?

I have about 25 301 redirects in my Wordpress htaccess file, that look like this: Redirect 301 /store/index.html https://www.notesinspanish.com/store-home/ At the moment they are at the bottom of my ...
0
votes
1answer
29 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
0answers
15 views

Redirects for child page of same name different parent

I have a page structure of: candy1/blue/unique4/ candy2/blue/unique6/ candy3/blue/unique1/ The hard links work, but redirecting old links breaks at /blue/ since there are other pages named blue, ...
1
vote
1answer
20 views

Change of Address, Error in site redirection on Google Console

I am trying to change my domain on Google Search console using Change of Address tool, and for some reasons Google is throwing an error saying: The old site redirects to edbinx.com, which does not ...
1
vote
1answer
51 views

Redirecting 404 pages to another active pages in .htaccess

I have one product page indexed on Google but that link does not exist anymore and hits 404 page. What I want to do is to redirect that link in .htaccess to another product page since it ranks very ...
1
vote
1answer
47 views

How to redirect dynamically generated duplicate pages in .htaccess?

I have over 2000 dynamically generated duplicated pages like this: https://www.example.com/subfolder/page1.html and https://www.example.com/subfolder/page1/ What i am trying to do is redirect all /...
2
votes
2answers
74 views

How would Google react if I redirected currently ranking landing pages to the home page?

I have some tag pages on my website which contain specific keywords. They appear in the Google search results for those keywords. Those pages bring in a fair amount of traffic but the bounce rate is ...
0
votes
1answer
30 views

Wordpress or Apache or Nginx matching partial URL to full URI

I have a weird issue where either Nginx or Apache (I can't tell which - but I'm 90% sure it's Apache - Nginx is reverse proxying) is matching a partial URL to a full, random URL. For example: https://...
1
vote
0answers
7 views

Why would a 301 redirected RSS feed be appearing as an external link in Google Search Console?

We redirected our website over a year ago to a new domain. 301 is confirmed in place etc. All works fine. However a couple of RSS feed URLs using the old domain have appeared in the external link ...
1
vote
2answers
27 views

New business name and website - old site has 200+ backlinks - What to do? [duplicate]

For legal reasons I had to change my business name, and get a new site name and address (very long story). I had to forward my old domain to this new one, but the old domain has like 200+ back-links, ...
2
votes
0answers
11 views

HTTP redirection target has Content-Disposition header so browsers show the redirecting URL. Does that affect SEO?

www.example.com/fpdfile/ gets a 301 to www.othersite.example/filepdf/ and there we have attached Content-Disposition header. The user sees only the www.example.com/fpdfile/ in address bar, but the ...
2
votes
0answers
20 views

Moving homepage to subfolder without affecting seo

I have website that focus in first time in negociation techniques. I have invested a lot to make homepage well ranked on Google. Now I want to make site bigger. I want to extend it to be about ...
1
vote
1answer
53 views

htaccess rule doesn't work - NET::ERR_CERT_COMMON_NAME_INVALID

This URL: https://mqgmodas.com/rebajas/ Into the .htaccess I have: Redirect 301 https://mqgmodas.com/rebajas/ https://masqguapas.com/rebajas/ Also I have a redirection in my control panel saying ...
0
votes
0answers
26 views

Edit htaccess file to remove the slash at the end without disturbing https settings [duplicate]

My website URL has a slash at its end and appears like this https://mywebsite.com/ Since search engine reads https://mywebsite.com/ and https://mywebsite.com as two different URLs, I want to ...
1
vote
0answers
30 views

HSTS and redirecting to www. sub domain

I am trying to setup HSTS for my website but running into some problems regarding the response headers and the use of a sub domain. What I would like is for all HTTP traffic to redirect to https://www....
1
vote
1answer
77 views

Firebase redirects http to https with 307 code (Temporarily Moved), which is bad as per SEO. How to configure it to use 301 code (Permanently Moved)

My website is hosted with Firebase. It offers https out of the box. When a user hits http://example.com, it redirects to https://example.com with 307 code (Temporarily Moved). As per various SEO ...
1
vote
1answer
34 views

how to redirect lower case to upercase

I have a WordPress blog and I made subfolder like this https://example.com/Tourism but when I open this URL with lowercase "t" it shows me 404 not found error: https://example.com/tourism this ...
4
votes
1answer
40 views

What is the most SEO friendly way to redirect the main domain to different subdirectories?

I have a multilingual website (English / Hungarian). I need to redirect my domain (mysite.hu) to subdirectories (/hu, /en), based on chosen user language preference (the default is Hungarian). For ...
1
vote
0answers
62 views

Oracle HTTP server URL with no trailing slash causes redirect when HTTPS is used

My application is hosted in oracle weblogic 12c with OHS 12c and have SSL enabled at port 1234. URL as such HTTP : http://servername.example/webName HTTPS : https://servername.example:1234/webName ...
1
vote
0answers
14 views

301 redirects to a similar domain

My company has two similar but not identical sites. Similar page hierarchy and content but different brands. We want to shut one down and 301 the pages to what we feel is relevant on the better site. ...
2
votes
1answer
106 views

http to https redirect triggers “Duplicate without user-selected canonical”

For some reason, my Main URL (https://www.foxteller.com) cannot be indexed because of my domain redirects in the apache2 config. My redirects go as follows: http://foxteller.com/ > https://www....
0
votes
1answer
51 views

HTTPS Re-directing

We built a site for a client to advertise a new block of apartments they had built. The apartments have now all been sold so we have been asked to forward the domain to another domain until there is ...
2
votes
1answer
60 views

Redirect from www and http to https doesn't work on sub-domains

I am trying to redirect all www and non-https requests to the HTTPS only versions with Apache server. I don't need or want www or non SSL URLs at all. The issue is that with the 2 different snippets ...
2
votes
1answer
14 views

Change of Address tool - Google - how to solve migration to example.com/cs/

My question is about change of domain address tool. Old domain is example.cz, we resolve the move to the multilingual example.shoes domain example.shoes is domain with language mutations from ...
1
vote
1answer
183 views

Nginx How to do 301 redirect from old domain to new domain except few URL

I am using nginx and trying to redirect all users from old domain to new domains., using this configuration. server { listen 80; server_name example.com; return 301 https://new-...
0
votes
2answers
52 views

301 redirect in the htaccess file issues

This is driving me crazy, can anybody tell me why this 301 redirect does not work. I just get a 404 error with the old /about page. Here is the code for info: {ENV:WPR_SSL}.html%{ENV:WPR_ENC}" -f ...
0
votes
2answers
31 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 ...
1
vote
1answer
26 views

My www version has better metrics than the non-www, so I'm preferring it in search console now. What else do I need to do?

I am working on a website which was originally registered in Google Search Console as http://example.com/. After a few months I noticed that the http://www.example.com/ has higher domain authority (...
2
votes
1answer
17 views

When redirecting to another domain, to which domain will HSTS apply?

Assuming the following, what domain will be HSTS'ed for the next year, foo.com or bar.com? RTFM (RFC6797) doesn't help much. > GET / HTTP/1.1 > Host: foo.com [ ... ] < HTTP/1.1 301 Moved ...
3
votes
1answer
81 views

Non WWW redirect to WWW and non SSL to SSL - htaccess

I'm trying to redirect my Wordpress site from non www to WWW and non SSL to SSL permamently. Here's the code I'm using: RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{...
4
votes
1answer
57 views

Reasons to use a custom 404 page that redirects with code vs a 301 redirect?

We are moving a website from Joomla to Mura and some of the pages are going to be located at different URLs. I can set up 301 redirects in the rules section of the web.config file in order to ...
0
votes
1answer
32 views

Is it advisable to redirect all similar websites to a single website now ? (Can It give a positive result in SEO rank)

Is it safe to redirect other similar domains I own to a my brand website now ? can it have a positive or negative impact on the ranking. I understand that, Google handles the 301 redirection ...
1
vote
1answer
34 views

.htaccess - redirect the contents of a subdirectory of old domain to new domain (WordPress) [duplicate]

I have problems with the redirection of my old website to our new website under a new domain. The old website was created with Wordpress and the simple redirect 301 was successful. However, some pages ...
2
votes
1answer
107 views

nginx: 301 redirect to non-www, SSL urls on default_server(s)

My goal is to have nginx primarily return a check for all requested URLs that start with http:// and/or contain //www., and 301 redirect them to the URL where //www. is replaced by // and http:// ...
4
votes
4answers
2k views

Can I reuse a URL after it's used for a 301 redirect?

Is it possible to 301 redirect a page and then reuse the redirected URL again in the future? What are the disadvantages of using the old link? For example: www.example.com/contact 301 redirect to ...
1
vote
0answers
68 views

How to identify the source of 301 redirect loop on a WordPress site when server side caching plugin is enabled? [closed]

Our WordPress site has developed a 301 redirect loop error when web-server caching is enabled. With server caching disabled and caching plugin installed and active the issue doesn't occur, but the ...
1
vote
1answer
128 views

301 Redirect Issues in Apache Virtual Host

I've got a site with SSL (Certbot) enabled and so I've setup my 301 redirects in the /etc/apache2/sites-available/example.com-le-ssl.conf file. I did it this way since the non-ssl virtual host (:80) ...
1
vote
1answer
30 views

Should I see the backlinks from my old redirected domain in Google Search Console?

I've 301 permanently redirected my old domain. Should I see the backlinks from my old domain in my new domain's Search Console property, or do they not show?
1
vote
1answer
29 views

Can the simple 301 redirect plugin for WordPress cause a redirect Loop when trying to redirect to the same path, but on HTTPS?

I want to redirect http://example.com/folder1/page1/ to https://example.com/folder1/page1/. In simple 301 redirect plugin in the request part I should write: /folder1/page1/. In the destination I may ...
-1
votes
1answer
350 views

How to remove trailing slash from my root URL in htaccess?

I've tried several ways to remove the trailing slash from my URL in .htaccess and nothing worked but now even my URL can't be found because now it has a slash. Here is what my .htaccess looks like. I ...
1
vote
0answers
13 views

Download link expired, going back to software presentation page, what redirect method to use?

When someone (user or bot) reaches an old download link like /download/yellow-wallpaper.zip?key=some-expired-download-key , user is sent back to file details page, e.g /yellow-wallpaper.html, where ...
3
votes
2answers
38 views

How to remove old domain that we don't have control over for branded searches that should only show our new site?

I changed my company website URL from www.tirnav.in to www.tirnav.com. Google Webmaster had already indexed my earlier website i.e tirnav.in and now when i search google for Tirnav Solutions it still ...