Questions tagged [301-redirect]

301 is the HTTP status code for a permanent redirect.

Filter by
Sorted by
Tagged with
3
votes
1answer
50 views

How to redirect to style sheet after switching domain names?

We have switched domain names from example.com to example.org . I have set up a general 301 redirect for all of the site URLs in the .htaccess file on the example.com server and all the pages are ...
1
vote
1answer
63 views

Redirect shop.mywebsite.com to mywebsite.com/shop

I am looking for the cleanest/SEO friendly way to redirect a subdomain (i.e. shop.example.com) to a sub-directory on the main domain (i.e. example.com/shop). Further information I will not keep the ...
1
vote
1answer
39 views

Apache Rewrite Rule www to non-www + http to https + add trailing slash

I really need the following 3 features of my website: www to non-www HTTP to HTTPS force trailing slash at the end of the URLs I have a current implementation but I face a very bad bug. When I ...
2
votes
1answer
18 views

Is there any effect to SEO if I redirecting the .com to the .app of my domain?

So, say I purchase a brand new example.com and example.app. I want to redirect all traffic reaching example.com to example.app (i.e. the .com is a pure redirect). Does that have any impact on SEO? ...
3
votes
1answer
50 views

htaccess redirect root domain to subdomain with exceptions

i m using wordpress and want to redirect my root domain to a new subdomain and ignore urls that contains a certain string http://www.example.com/post.html To http://subdomain.example.com/post.html ...
0
votes
0answers
22 views

How do I redirect a subdirectory with Yoast SEO pro?

I have changed shop section name from "product" to "shop". I have yoast seo pro and i can do redirect with that plugin. How do I redirect all pages from old addresses to new ones from example.ir/...
0
votes
0answers
49 views

How to redirect an https site from www to non www

After adding a SSL certificate I want to redirect all my site's URL variations to 301 redirect to non www one. I tried creating a redirect from cPanel for all other variations. Every other url ...
-3
votes
1answer
31 views

How can I bulk redirect old URLs to my home page using .htaccess?

I want to redirect many URLs in my shop. Here is the example: /pl/index/12 /pl/index/16 /pl/index/18 and so on. What would be the rule for .htaccess to rewrite all of trash URLs from the previous ...
2
votes
1answer
48 views

Can I create a keyword subdirectory for my home page to help SEO?

My website consists of an English-language Homepage (my index.html file), and a German and Russian translation of this page (de.html + ru.html), which are accessible through a button on the top-right. ...
0
votes
1answer
14 views

Should I do a redirect when trailing slash and http is changed?

I have noticed that all my internal links (and I have a lot of them) were being linked like so: https://websitenamehere[dot]com/post-title Yet, my posts have actually a trailing slash after the ...
0
votes
0answers
14 views

My domain does not show any data on neilpatel portal

I am unable to find out why the google search console says "Page redirected" and is considered as duplicate and is not crawled. I have a ssl key to my website and i have the following in the .htaccess ...
5
votes
1answer
86 views

Is it good to go live with 302 first and then change it to 301 if everything works perfect

I am in the process of removing duplicate content (or URLs) issue on my website. There are hundreds of similar content links on my website where both URLs one without trailing slash and one with ...
0
votes
0answers
16 views

Permanently redirecting (`301`) robots.txt from root (`/`) to static files directory (`/static/file/robots.txt`)

After reading up on this Google Webmasters article on creating a robots.txt file, I noticed that they mentioned that the robots.txt file should always be at the root directory (/). However, I've been ...
2
votes
1answer
37 views

Redirect URL via htaccess unique destination for subdirectories

I am trying to redirect URLs of a old Perch CMS to a custom CMS like this: Redirect /sites/praxis/ http://example.com/_Unser_Cabinet Redirect /sites/praxis/sites/chiropraktik http://example.com/...
1
vote
0answers
29 views

Website was not redirect from non www to https+www

I'm currently doing www+https redirection where I hope that my website able to redirect from http://example.com to https://www.example.com but it does not work even I have added redirection in ....
2
votes
1answer
25 views

Can I redirect a domain with redirecting its subdomain?

I would like to redirect domain A to domain B, but I have a subdomain under domain A. If I redirect it, is the subdomain going to be redirected to domain B as well?
1
vote
1answer
21 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 ...
2
votes
1answer
37 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 ...
3
votes
1answer
34 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 ...
5
votes
1answer
157 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:/...
3
votes
1answer
48 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 1 ...
0
votes
0answers
36 views

You configured HTTP(80) on the standard HTTPS(443) port! [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....
2
votes
1answer
40 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 ...
3
votes
1answer
34 views

Can robots.txt redirect to a different domain?

I would like to know if I can put a 301 redirect on robots.txt file and have it hosted in a different location. I'd like to have it on a cloud front layer. example: https://www.mydomain.example/...
1
vote
2answers
31 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 ...
1
vote
1answer
23 views

Redirect in .htaccess when page numbers are both in a query parameter and in the path

My blog is creating duplicate pagination, and Google understands this as duplicate content. How to 301 redirect pagination as in the following examples? https://example.com/page/33?page=34 to: https:/...
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
14 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
49 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
47 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
18 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
24 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
1answer
26 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
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 ...
1
vote
0answers
24 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
71 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
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
41 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
49 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
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
1answer
336 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
378 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
372 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
38 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
101 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 ...

1
2 3 4 5
19