Questions tagged [301-redirect]

301 is the HTTP status code for a permanent redirect.

Filter by
Sorted by
Tagged with
1
vote
1answer
174 views

How to bulk redirect in htaccess from old site with parameters

I'm currently updating an old website, but I don't know much about htaccess redirects. I made a script to get all the pages of the website and here are some examples: For pages: Redirect 301 /index....
4
votes
1answer
64 views

Does having a lot of 301 redirects noticably impact performance?

I just moved my website to Wordpress from another service. Unfortunately, this means that although I was able to import all of my previous content to Wordpress, the post permalinks are now entirely ...
0
votes
0answers
14 views

Domain redirect to main domain with language param (301) [duplicate]

The following scenario: I have purchased multiple domains for a project: domain.app domain.com domain.de Originally it was planned to display a landing page on domain.app. On domain.de the german ...
1
vote
2answers
64 views

What does ^(.*) mean in a rewrite rule, is there a simpler alternative?

I have just copy and pasted a rewrite rule for a redirect from some website. It contains: ^(.*) I want to know what it means. Why is it so complicated? Can it be simplified? The whole .htaccess ...
0
votes
1answer
21 views

Can Google crawlers read the content of a page that has a 301 redirect?

I'm facing an issue of Google not picking up my new meta description for a specific page template. This page is currently being redirected to a different page on the site. Previously, the meta ...
1
vote
2answers
11k views

How to match only part of URL and redirect URL with parameters in .htaccess?

I have a number of links with similar structure: example.com/index.php/path/some-path/some-subpath?parameter=1 Which I want to redirect just to example.com/category/ But I want to match only the ...
5
votes
2answers
404 views

Implement lots of redirects (a million) without slowing down the site

What's the best way to redirect 1,000,000 unique URLs to another 1,000,000 unique URLs? These pages are all combinations of multiple search filters and queries. We're migrating the site to cleaner ...
0
votes
0answers
17 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
40 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; ...
2
votes
2answers
2k views

getting 500 intenal error when setting 301 redirect using .htaccess

I am trying to use a 301 redirect to direct users and bots to my new site but when I put the .htaccess live I keep getting a 500 internal error shown. The site is actually a subdomain which i want ...
0
votes
1answer
88 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
48 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$ [...
0
votes
0answers
12 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 ...
1
vote
1answer
480 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
60 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
176 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 ...
1
vote
1answer
73 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://...
0
votes
0answers
20 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
182 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
79 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
75 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
1answer
81 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 ...
3
votes
2answers
215 views

Weird 301 redirection by google crawler

I have some pages on my website www.acethem.com which are having 301 redirection but they are not actually 301 redirects. e.g. www.acethem.com/pastpapers/by-year/2007/ is seen as a 301 redirection to ...
2
votes
2answers
88 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 ...
1
vote
2answers
32 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, ...
1
vote
0answers
12 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 ...
2
votes
2answers
2k views

htaccess and 301 redirects - multiple domains

I have the following which redirects mydomain1.co.uk and mydomain1.com to www.mydomain1.com perfectly. RewriteCond %{HTTP_HOST} !^(.*)\.mydomain1\.com$ [NC] RewriteRule ^(.*)$ http://www.mydomain1....
3
votes
0answers
32 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 ...
1
vote
1answer
239 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 ...
2
votes
0answers
24 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 ...
0
votes
0answers
29 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
43 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....
4
votes
1answer
59 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
1answer
223 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 ...
2
votes
1answer
296 views

Is my .htaccess settings hurting SEO?

I have a site that I have redirecting to HTTPS. I do this to leverage wildcard SSL for my password protected pages. Everything seems to work fine with testing. For example, whether you type in HTTP or ...
1
vote
1answer
83 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 ...
1
vote
0answers
148 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 ...
0
votes
2answers
57 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 ...
1
vote
0answers
15 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
254 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....
5
votes
1answer
3k views

What are the most commonly used and basic Apache htaccess redirects?

This question is here so we can offer users who are looking for information on how to make one or more common or basic redirects in Apache using the htaccess file. All future questions pertaining to ...
1
vote
1answer
593 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
1answer
36 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
2answers
187 views

.htaccess redirection for my domain?

I have a site that has been hit hard with Penguin and Panda. So hard I have put up another domain and installed a CMS and rewritten the content the page has a good PageRank but was hit hard with ...
4
votes
3answers
617 views

301 redirects for /blog to blog subdomain not working

I just created a new subdomain for my blog so blog.example.com - it used to be www.example.com/blog so I am now trying to write 301 redirects from all my old /blog posts to the new blog.example.com ...
2
votes
1answer
18 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
27 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 (...
0
votes
2answers
93 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
1answer
19 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 ...
2
votes
2answers
642 views

Redirect loop in .htaccess when removing trailing slash

I have the following .htaccess file: AddDefaultCharset utf-8 RewriteEngine on Options +SymLinksIfOwnerMatch RewriteBase / # redirect all www-requests to no-www # - RewriteCond %{HTTP_HOST} ^www\....