Questions tagged [301-redirect]

301 is the HTTP status code for a permanent redirect.

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

Why would my site redirect back to the same page but with a trailing slash on the URL?

I'm working on a website that is new to me and I'm trying to make sure there is not practical reason why the site has been set up the way it is before I change it. Many pages have been set up with ...
1
vote
1answer
32 views

Apache .htaccess Redirect and RedirectPermanent directives do nothing

I am trying to do a very simple redirect for an entire web site using instructions from sites like this and this, and several others that say the same thing. I am using Apache. My .htaccess file ...
2
votes
1answer
18 views

301 redirect rewrite query string in .htaccess [duplicate]

I am trying to perform a 301 redirect in .htaccess and I need to remove the query string ?view=full. Here is what I have that is not working: RewriteRule ^/contact/?view=full$ /contact/ [R=301,L] I ...
4
votes
1answer
119 views

Redirect all URLs exactly except one URL that must be redirected to a different URL

I must to change domain from example.net to example.com. To redirect all URLs exactly (www and non-www) I use: RewriteEngine On RewriteCond %{HTTP_HOST} (w*)example\.net$ [NC] RewriteRule ^ https:/...
2
votes
1answer
36 views

Hide the subfolder from appearing in url

I want to move from www.example.com/_/randomfolder to example.com/randomfolder. It should acces the contents from /_/randomfolder but should show example.com/randomfolder. What I have tried: Trial ...
0
votes
0answers
16 views

Redirection does not work from non www to www(with https) [duplicate]

I currently have a website which runs under https and works with no issue and I've tried to do something on my .htaccess file so that when I try http://example.com it will redirect to https://www....
0
votes
0answers
57 views

Redirection not work from non www to www(https) [closed]

I currently have a website which runs under https and works with no issue and I've tried to do something on my .htaccess file so that when I try http://example.com it will redirect to https://www....
2
votes
1answer
31 views

How to redirect all that URLs that ends with “-2” to the same link without “-2”?

I have an comparison website based on woocommerce and I have the following problem. I have 1 product from 2 vendors: Vendor 1: https://example.com/lista/ceas-accurist-signature-7220-classic/ Vendor ...
0
votes
0answers
6 views

301 redirect to robots.txt file to a different domain , may be to a cloud front layer

I would like to know if i can put a 301 redirect on robots.txt file and navigate it to a different location? example site= https://www.example.net/robots.txt redirects to https://differentdomain.net/...
1
vote
1answer
22 views

How will Google treat my site if 90% of the URLs redirect and the internal links still point to the old URLs?

Our newly redesigned website version has so many redirects, because there were so many structural errors, SEO issues, and thin content. 90% of the URLs on the Website redirect. Total number of ...
0
votes
0answers
17 views

Can I use REGEX to 301 a URL with extra characters at the end? [duplicate]

I've just set up PHPlist to manage my email subscribers. When folks opt-in, they're taken to this page: https://www.example.com/lists/?p=subscribe&id=1 I'd like to redirect them to a custom ...
0
votes
0answers
18 views

I need to apply a paging redirect in htacess

my blog is creating duplicate pagination, and Google understands this as duplicate content. How to redirect 301 pagination as in the example below, to the correct one? exemple: https://example.com/...
0
votes
0answers
12 views

apache .htacess redirect to treat root domain with or withought / as a single page not 2 page [duplicate]

I have developed a dynamic PHP website and code is written in core PHP (NO CMS or Framework used). When I am checking with SEO tools it is saying duplicate content for https://sattamatkaa.in/ and ...
0
votes
0answers
13 views

From an SEO perspective can you redirect away from an old site that cannot be reached to the new site

my client has an old site that cannot be reached. it was registered by a company that is out of business for at least four years, and the host and registrar will not allow the business owner to even ...
0
votes
1answer
45 views

How to make sure Google doesn't think index.html and homepage pages are duplicate content?

I have a website built with html CSS and JavaScript, its working on Firebase platform. I did a duplicate content test on siteliner.com, the results showed me 100% duplication between index.html file ...
2
votes
1answer
43 views

301 redirect for “/usage” page while webalizer is installed

I moved my site to another hoster and this hoster is using webalizer. My site has a page called /usage. While testing I found out the page https://example.com/usage/ generates the 403 Forbidden error ...
0
votes
1answer
17 views

Changed URL for a page that was indexed by Googlebot. Will redirect 301 from the old URL to the new one. But what to do with my Sitemap?

I'm planning to change a url for one of my site's page. Example: From: https://www.example.com/old-post-slug To: https://www.example.com/new-post-slug The fact is that Google has already ...
0
votes
1answer
16 views

Preserve Meta Title and Meta Description from redirected page

My site runs on WordPress. I have a custom post type of my Projects. These projects are categorized using Project categories. Each Project category has it's 'archive' page, where the projects are ...
3
votes
0answers
21 views

What to do to recover after deploying a new shopping cart / site and Google smacks you?

I recently deployed a reworked online store that was previously built with a system that suddenly went out of business. It was a rush and I ended up with new URLs for all products with even some ...
1
vote
1answer
22 views

Will it hurt SEO to redirect a friendly alternate domain for marketing?

A client has a really long hyphenated domain. I can't do anything about this. Although we are looking at new domains too, if that is a better solution. Need a friendly URL for marketing, for ...
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....
2
votes
1answer
46 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 ...
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 ...
2
votes
1answer
68 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 ...
1
vote
2answers
22 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
38 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
0answers
40 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] ...
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 ...
1
vote
1answer
112 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
183 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
127 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,...
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 ...
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
69 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=...
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
62 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 ...
2
votes
2answers
118 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 ...
4
votes
1answer
63 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 ...
2
votes
1answer
29 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 ...
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
0answers
52 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
1answer
58 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 ...
2
votes
1answer
42 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
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 ...
1
vote
2answers
118 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 ...
2
votes
2answers
59 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 ...
0
votes
1answer
129 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
25 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 ...
1
vote
1answer
43 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
2 3 4 5
19