Questions tagged [301-redirect]

301 is the HTTP status code for a permanent redirect.

Filter by
Sorted by
Tagged with
1
vote
2answers
18 views

If an old redirecting domain expires will it still redirect or affect SEO?

What happens if an old domain redirecting to a new domain expires? Will it still redirect? What is the effect on search engine ranking?
2
votes
1answer
36 views

Is a CNAME from the domain apex to the www record the correct way to configure a site to use the WWW version?

Let's say I own example.com and want to use www.example.com as the default. I thought I could do this by using an A record to point the www version to the IP and using a CNAME record to point the ...
0
votes
0answers
21 views

Redirect 301 issue with URLs containing question marks [duplicate]

I'm trying to do some basic point to point redirects using 301 redirect 301 with a .htaccess. All is going well but there is one type of URL that is not happy. I'm trying to go from: http://www....
1
vote
1answer
100 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
0answers
18 views

How best to perform 4 million 301 jpeg URL redirects?

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 ...
2
votes
1answer
33 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
3answers
4k views

301 redirect from “/index.html” to root if index.html not exist

Can I create 301 redirect from "index.html" to root directory if file "index.html" not exist? For example: link "http://example.com/index.html" show "404 Error" page. I need 301 redirect to root ...
1
vote
1answer
57 views

Launching a new website on a subdomain but keeping exsisting website running

We're about to launch a new Drupal 8 website for a client, as not all areas of the current website will be on the new platform, and due to apparent legacy complications, the decision has been made to ...
5
votes
4answers
9k views

Finding what is causing my site to issue 301 redirects

I have an URL which is 301 redirecting but I cannot find where or how it is happening and wanted some checks to perform if possible? I've checked .htaccess - it's not there I've checked cPanel in ...
1
vote
2answers
25 views

How to redirect domain to subdomain

Could you please guide me to permanent redirect my website https://example.com/ to new subdomain https://ww1.example.com/ I don't know how to do that. Please help I'm using vestacp. I will really ...
3
votes
1answer
19 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 ...
2
votes
2answers
55 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
0answers
32 views

Change address error in Search console, can't pass 301 redirect confirmation

with a 301, I redirect friendsofcoffee.nl to misterbarish.nl. I use the .htaccess file for the redirect with following code: RewriteEngine on RewriteCond %{HTTP_HOST} ^friendsofcoffee.example$ [OR] ...
5
votes
3answers
1k views

Getting 301 redirect error in Google Webmaster Tools while using “change address”

So I'm moving my website from one domain to another. In this process I'm using the "change address" function in Google Webmaster Tools on my old-domain.com, "switching" it to / choosing my verified ...
1
vote
1answer
26 views

Google Tag Manger Event for 301 Redirect

I have an image slider on my website. The entire slide is a link. I created a web page just to have a URL to use for a 301 redirect. Slide links to website.com/sample-page > Redirect is set to ...
2
votes
1answer
60 views

Google Sites: 301 Redirect broken links to the home page

Several months ago, I migrated my domain from GoDaddy to Google Domains and now use Google Sites. Several broken links from the old GoDaddy webpage highly ranked on Google Search persist. I would ...
2
votes
2answers
2k 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 ...
2
votes
1answer
38 views

Redirecting index.html to root + folder index.html to root folder? (multilingual)

I have example.com page. I want a homepage without index.html (example.com/index.html -> example.com) RewriteEngine On RewriteRule ^index\.html$ / [R=301,L] RewriteRule ^(.*)/index\.html$ /$1/ [R=301,...
1
vote
1answer
34 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> ...
2
votes
2answers
114 views

301 redirects for asp pages to html

So I've redesigned a site that was built comprising of solely .asp pages and redid it using .html pages. I deleted the old site and uploaded the new, and uploaded my .htaccess file with code along the ...
2
votes
1answer
2k views

How to stop other domains to 301 redirect to my website domain?

I found that someone is 301 redirecting his website domain to my website domain. fakedomain.com -> 301 redirects -> correctdomain.com Using the contact information found by whois query, I already ...
4
votes
5answers
7k views

GoDaddy URL redirect won't work with affixed www

I have a mydomain.com that I recently redirected to my-new-domain.com using the forward option 301 in GoDaddy. It is working fine when I typed in mydomain.com, but when I typed it with the affixed ...
3
votes
3answers
172 views

Switching domain from HTTPS to HTTP

I recently launched a new site on an existing domain, using new hosting. The previous site utilized HTTPS, the new site does not (just HTTP). The problem I ran into is that Google currently has the ...
3
votes
1answer
36 views

WP Apache .htaccess redirect .com traffic to .co.uk Issue

I have a website I am looking to redirect .com traffic to .co.uk. For the moment, when I navigate to https://example.com, it redirects to https://www.example.co.uk and displays as such in the address ...
0
votes
1answer
117 views

Redirecting a domain works on HTTP but not on HTTPS with IIS server

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 ...
3
votes
3answers
934 views

Fastest way to redirect dead URLs to home page

A client of mine scrapped his entire wordpress site of many years for a custom CMS. The URL structures both use the /<post_title> format, so a pattern based .htaccess rule is out of the picture ...
0
votes
0answers
7 views

Redirect directory olddomain.com/my-site/ to new domain newdomain.com (SEO) [duplicate]

I am in the process of creating a new website newdomain.com. My old site was located within a directory of another domain olddomain.com/my-site. With regards both technical aspects, and SEO, what is ...
0
votes
1answer
57 views

Redirecting URL with & without query string?

If I setup a 301 redirect for the first URL path below will that also redirect all the paths below that contain a query string? For example: /6-light-oval-chandelier-espresso?pp=0&epik=...
7
votes
2answers
16k views

What causes “redirect notice” in Google search?

Occasionally, I get "Redirect Notice" pages when I click on some Google search results. My website does have a landing page redirect, but no redirect notice shows up when I click on it in Google ...
0
votes
0answers
30 views

Finding URLs that redirect to a given website

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

Avoid 301 redirect in cdn.domain.mx

I have a domain with a .htaccess redirection problem. The active CDN the URL should be: cdn.domain.mx/images/test.png but redirects: cdn.domain.mx/images/something.png -> www.domain.mx/images/...
3
votes
1answer
47 views

htaccess conflicts

The issue that I'm currently forced to handle is related to a folder structure URL being redirected to the same folder structure URL but with a different string. So page-a used to exist but that ...
1
vote
1answer
38 views

Old website still found on google but redirects to new site

We have launched a new website replacing our old one, and Google now finds the new and the old website. Our old website was published under /public, the new one is published under /web: Setup until ...
4
votes
1answer
55 views

How would you implement redirects for domain canonicalization, no-www, and HTTPS for IIS 7.5

For the moment I'm stuck with an IIS-server, unfortunately not my best subject (I'm much better w. Apache). We have a site on a Win 2008 R2 Server with IIS 7.5. It's an old site and we are working on ...
4
votes
1answer
90 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 ...
2
votes
1answer
27 views

.htaccess to redirect subdirectory to its own domain name

I have for example 2 domain names gl.example that points to /public_html/ (which has subfolder /public_html/tlf/) and tlf.example that points to the subfolder /public_html/tlf/ How do I redirect so ...
3
votes
1answer
235 views

Redirect 301 for Apache Sub directory and query string combination

I am getting 404 errors in Google Search Console for URLs like the following: http://www.example.com/newsite12121212121212/eg/st_tour/perma/ http://www.example.com/newsite12121212121212/eg/...
0
votes
1answer
20 views

Bad route appended to URL when redirecting from http to https

I have a WordPress site hosted on OVH and I'm having issues when redirecting from http to https. http://www.example.com redirects nicely to https://www.example.com https://www.example.com redirects ...
0
votes
1answer
90 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
0answers
46 views

Drop in traffic in high traffic site after 301 redirect

Here are the steps I took 301 redirect w/wildcard from old domain to new domain Updated & verified Google Search Console for new domain, submitted change of address, etc. Updated Google Analytics ...
0
votes
1answer
24 views

Moving content from old site/domain to new [duplicate]

We have two sites/blog, and now we are merging the two blogs into one blog. We move content from domain2.com to domain1.com. What should I consider when it comes to SEO. Should I move all the traffic ...
1
vote
0answers
38 views

Do deindexed URLs pass link juice? [duplicate]

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 my page, if deindexed, pass ...
2
votes
1answer
39 views

Does a new permanent rewrite rule supersede old permanent rewrite rule?

Ages ago we included a redirect in web.config to ensure that pages would rewrite to http://www.example.com/ if the user input, say, www.example.comor variants of it. Recently we changed the site so ...
3
votes
1answer
2k views

Should I change the URLs in the XML sitemap after 301 redirecting them?

I am using 301 redirects for all URLs. Should I change sitemap URLs now? The sitemap currently contains the following URLs: example.com/cat/1.html example.com/cat/2.html example.com/cat/3.html ...
1
vote
2answers
86 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
2answers
2k 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 ...
0
votes
1answer
24 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
26 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
92 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, ...