Questions tagged [301-redirect]

301 is the HTTP status code for a permanent redirect.

Filter by
Sorted by
Tagged with
0
votes
2answers
32 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 ...
1
vote
2answers
23 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
48 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
31 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
0answers
23 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 ...
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 ...
5
votes
4answers
10k 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
33 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 ...
1
vote
0answers
47 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
277 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
348 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
1answer
325 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,...
2
votes
2answers
129 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
181 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
37 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
130 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
1k 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
98 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=...
8
votes
2answers
21k 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
81 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
74 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
64 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
248 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
31 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
286 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
23 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
184 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
71 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
25 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
44 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
163 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
26 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 ...
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
225 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
21 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
42 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
44 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
1k 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
2k 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 ...
1
vote
1answer
444 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....

1
2
3 4 5
19