Questions tagged [301-redirect]

301 is the HTTP status code for a permanent redirect.

Filter by
Sorted by
Tagged with
1
vote
1answer
12 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 ...
1
vote
2answers
1k views

Where to place 301 redirects in the .htaccess file on a WordPress site

I edited my .htaccess file earlier to redirect from www version to non-www, and it is working correctly. However, now I have some page redirects I need to do. I am looking at the .htaccess file, and I ...
1
vote
1answer
26 views

Using htaccess to redirect 301 for domain change

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
2answers
35 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 ...
1
vote
1answer
26 views

What to do when changing or moving off of a CDN to redirect images?

I am moving a site off of a CDN where all the images are cached and served: https://some-cdn.example/my-image.jpg The image will now live here: https://myurl.example/my-image.jpg Many of these ...
1
vote
1answer
28 views

Will referrer info get lost in Google Analytics if i 301 from HTTP to HTTPS?

If we have a bunch of backlinks from HTTPS sites, but they link to the http://example.com version of our site or example.com. Even if our site is HTTPS and once traffic gets driven to those URLS ...
0
votes
1answer
45 views

301 Redirect vs Canonical Link - which is preferred?

Let's say I have the following three URLS. Url1: Domain/Home Url2: www.domain/home Url3: domain/home <-- Canonical With respect to SEO, is it preferred to add a canonical link to Url1 &...
0
votes
1answer
23 views

Is it OK for SEO to redirect a subdomain to its corresponding add-on domain after Google indexed the subdomain rather than the add-on domain?

I put in place a 301 redirection for the add-on domain subdomain.domain.example to subdomain.example, because Google was sometimes indexing subdomain.domain.example. Is this 301 redirection the ...
0
votes
1answer
64 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 ...
0
votes
1answer
22 views

Google ignoring Canonical tag

I have two pages on the site that are 100% identical: MyDomain.com MyDomain.com/Keyword MyDomain.com/Keyword exists solely because I had to give the page I created in the CMS a url, and that page is ...
5
votes
4answers
7k views

using .htaccess to redirect .asp to .php?

Ahoy all! I've been racking my brain with this one. I basically just converted all of my pages from ASP code to PHP code. Kept the same filenames. So, here is the htaccess code I have so far, but ...
4
votes
2answers
58 views

Difference between 301 and 303 status codes

What is the difference between 301 Moved Permanently and 303 See Other status codes? Both are used for redirects. There is some detailed info on the 303 at https://en.wikipedia.org/wiki/HTTP_303, ...
5
votes
1answer
2k views

GSC: How to move a site from a domain to sub domain, sub folder or new domain with a sub folder?

Is it possible to tell Google's Webmaster Tools that our site hosted on www. has moved to a sub folder, sub domain or a new domain with sub folder?
1
vote
1answer
19 views

How to ignore/redirect all URLs matching a certain string

I am using the WordPress plugin, Timely All-in-One events calendar. Unfortunately it is creating a plethora of duplicate URLs which end in strings like https://www.example.com/events/action~agenda/...
1
vote
2answers
36 views

How do web servers identify the client's location

Many websites directs the user to specific subdomains or domains based on their location. For example, if a user based in the UK types yahoo.com, the user somehow redirected to uk.yahoo.com. If the ...
0
votes
1answer
38 views

forcing SSL without 301 redirect

Is there a way to force an SSL lock without using a 301 redirect, such as server side? I'm happy to supply context if requested.
1
vote
3answers
801 views

How to claim ownership of a website in Webmaster tools if that website redirects to another site

Ive got an old website that i want to 301 redirect to another website (using .htaccess). I want to claim ownership of the property in Google Webmaster tools, to do this i usually use the file upload ...
1
vote
3answers
1k views

How to map thousands of URLs for 301 redirection?

We recently switched e-commerce platform and due to poor planning, webmaster tools is reporting that thousands of URLs are 404. We obviously have to 301 redirect these and tell webmaster tools they ...
3
votes
1answer
59 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 ...
1
vote
1answer
83 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
60 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
60 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
19 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
9k 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
382 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
35 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
0answers
27 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 ...
0
votes
1answer
54 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
37 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
8 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
135 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
50 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
47 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
1answer
40 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
99 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
72 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
67 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
70 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
214 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
84 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
30 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
11 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....
2
votes
0answers
22 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
123 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
23 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 ...