Questions tagged [301-redirect]

301 is the HTTP status code for a permanent redirect.

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

What to do in Google Search Console when moving a subdomain to its own domain

I found this post but I it doesn't answer my question completely. I have https://de.example.com https://es.example.com and others which I moved using 301 to https://example.de https://example.es ......
0 votes
0 answers
29 views

Effect of 301 redirecting many pages from one directory/folder to another (same domain)?

I'd like to see the effects of 301 redirecting a bunch of pages from one path to another on the same domain. Example: From: mysite.com/stuff/[product_id] To: mysite.com/products/[product_id] I would ...
  • 141
3 votes
1 answer
236 views

Redirect URL ending in certain `variable=value` query string, to `URL?variable` (i.e., strip `=value`)

I'm trying to create a 301-rewrite for URLs ending with ?amp=1 to nearly the same URL and query string, just stripping the value (=1). Examples: https://example.com/?amp=1 should redirect to https://...
3 votes
1 answer
142 views

Combine multiple 301 redirects

I need to combine multiple redirects via my .htaccess in Wordpress for future site migration and re-launch: Domain change Force HTTPS Force www URL structure changes (important to keep juice here) I'...
  • 31
0 votes
2 answers
559 views

Redirecting Old Domain to New Domain - Google SSL Warning

My client wanted his website republished under a new domain that was shorter. So we pointed the new domain to the website server and "forwarded" by 301 redirect from the old domain hosted on ...
2 votes
1 answer
64 views

Hosting old version of website at subdomain - redirects?

I am developing a new website and would like to preserve the old website at a subdomain. (The old website has a lot of content which is useful enough not to just remove completely, but not valuable ...
  • 31
1 vote
1 answer
42 views

Can we edit 301 redirects?

If we set 301 redirects using a plugin, does Google consider those 301 redirects irrevocable? i.e. even if we updated the redirect's URL target, Google would still only consider the original redirects....
  • 13
2 votes
2 answers
38 views

How to set canonical link for website with www redirection

I am confused about adding canonical link in my website. I have a website https://example.com and I have added Redirect to www from hosting provider(firebase) config. So if a user accesses my non-www ...
1 vote
2 answers
99 views

How should I diagnose "too many redirects" error for some clients when I see "200 OK?"

I have some unusual behaviour with a wordpress page and the redirects, but I'm not sure what exactly is happening. I'm not allowed to mention the real domain here in public as the project is under ...
8 votes
2 answers
2k views

I bought a domain to do a 301 Redirect - do I need to host that domain?

I'm competent with setting up records for domains, things like CNAME, A Records, etc - but what about if I just want to redirect it? Do I "have to" do this using a .htaccess file on a host? ...
  • 405
1 vote
0 answers
13 views

Can PageRank be returned to a relisted page that was previously delisted via 301 redirect?

If an old page on website A is replaced with a 301 redirect to another website such that the page on website A is delisted from Google (as desired) but the website owner decides afterwards that they ...
0 votes
1 answer
28 views

Determine if a site has been hacked (HTTP 203 leads to 301 then 302) [closed]

While trying to visit a site earlier that I've previously accessed without an issue, I was oddly redirected to some spammy dating site. Not wanting to try again, I used wheregoes.com to trace the ...
  • 3
2 votes
1 answer
2k views

Redirect from index.html to its directory using .htaccess?

For each page of my website, it is named index.html and stored inside a folder of the name of the page. example.com/ serves example.com/index.html example.com/about/ serves example.com/about/index....
2 votes
2 answers
479 views

When I redirect a page with a 301, should I update my Sitemap immediately with the new URL?

Those pages are all indexed and rank well, so I want to be extra careful. This is my current sitemap.xml: /OLD_FOLDER/some-slug-1 /OLD_FOLDER/some-slug-2 /OLD_FOLDER/some-slug-3 I'm setting up 301 ...
1 vote
2 answers
95 views

SEO / Usability impact of redirecting product category pages to different category pages

I am looking for any advice with regards to the SEO / Usability impact of the following. On the ecommerce site, there are category pages that can be navigated to through various methods. Essentially ...
  • 241
1 vote
2 answers
72 views

How can I do 301 instead of 302 redirects when there are multiple domains sharing the same site hosted in IIS?

I have several domains sharing the same site and use a default.asp as the default file where I test the SERVER_NAME variable and use Response.Redirect to redirect to the home page of the site ...
0 votes
0 answers
29 views

Old HTML Site to WordPress - Loss of SEO Rankings

I have moved an old HTML site which had over 250 pages, nearly all of those pages were using the old trick of duplicating every page but just changing text to match the area where ranking was ...
2 votes
1 answer
318 views

nginx https ip address to domain redirect

My website is pretty messed up: it shows up as an IP address in the google search results (https). I want to redirect this to my domain, but when I couldn't figure out how to redirect https to my ...
0 votes
0 answers
28 views

My website doesn't provide 404 errors

My website doesn't provide 404 errors. If you were to type in: clientsforcounsellors.com/dlkforiereg or pretty much any gibberish page that doesn't exist, you'd be redirected to my home page. Why ...
1 vote
1 answer
160 views

Nginx ERR_TOO_MANY_REDIRECTS by adjusting WordPress Permalinks | 301 Error Ubuntu 18.04

OS: Ubuntu 18.04.5 LTS (having my own VPS) WebServer: Nginx/1.18.0 MySQL: mysql Ver 8.0.22 for Linux on x86_64 (MySQL Community Server - GPL) WordPress: 5.6 When I change the Permalinks option in ...
0 votes
0 answers
7 views

WWW vs non-WWW concerning link juice [duplicate]

It is often advised to use non-WWW url, so that there is less redirects and link juice does not leak, since people most often type non-WWW urls. But who cares what the user types? Links are not ...
3 votes
2 answers
434 views

Redirecting bare domain to www doesn't when specifying http/https scheme

I've recently uploaded a website on a domain via Firebase hosting. Using the domain registrar (NameCheap) I've also applied a 301 redirect rule (via NameCheap. It's called "URL redirect record&...
2 votes
1 answer
144 views

How can I redirect my URL to rearrange the order of subdirectories in .htaccess?

My current URL is example.com/example/{dynamic_id}/{dynamic_name}/static/1.html I want to redirect it to this, example.com/{dynamic_name}/example/{dynamic_id}/static/1.html I tried but failed.
2 votes
1 answer
33 views

Four 301-redirects from "www.example.com" to "shop.example.com" (am I losing my Google PageRank?)

Some years ago, I started my website with the main domain www.example.com. However, the project ended up being a store under shop.example.com. I obtained hundreds of links to http://www.example.com, ...
  • 423
0 votes
0 answers
25 views

Rel=canonical vs. 301 redirect

My website has a bunch of URLs like abc.com/[item-id]/[item-name]. Only the item-id is used to display the page, item-name is there only for SEO purposes. Now, I would like to change that to abc.com/[...
  • 133
2 votes
1 answer
68 views

What happens to backlink authority after 301 redirect removed

I configured 301 redirect to another URL, thus moving all backlink authority to the new URL. The question is if I disable 301 redirect and start serving content from the old location do I gain ...
2 votes
1 answer
72 views

Is it worth changing external outbound links from http to https if the other site redirects properly?

Many of the outbound links on my site have changed but only from 'http' to 'https'. Do I need to add the 's' to all the links if they 301 redirect to HTTPS?
  • 252
0 votes
1 answer
64 views

Htaccess 301 Redirect only not working on Windows 8.1

Here's the code: RewriteOptions inherit RewriteCond %{HTTP_HOST} ^old\.olddomain\.example$ [NC] RewriteRule ^ https://newdomain.example%{REQUEST_URI} [R=301,L] # BEGIN WordPress RewriteEngine On ...
  • 121
1 vote
2 answers
76 views

Track link clicks to external website sent via SMS

I have a website created in Webflow. My company (let's call it myco.example) sends out texts to customers with a link to our client's scheduling page on their website. We created a shorter vanity URL ...
  • 13
3 votes
1 answer
522 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 ...
0 votes
1 answer
83 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
1 answer
591 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
1 answer
197 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? ...
  • 2,163
4 votes
1 answer
651 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
0 answers
180 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/...
  • 61
0 votes
1 answer
68 views

How to redirect an https site from www to non www

After adding an SSL certificate I want to 301-redirect all my site's URL variations to non-www ones. I tried creating a redirect from cPanel for all other variations. Every other URL variations ...
-3 votes
1 answer
151 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 ...
  • 1
2 votes
1 answer
76 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. ...
  • 21
0 votes
1 answer
29 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 ...
  • 386
5 votes
1 answer
92 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 ...
1 vote
0 answers
146 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
1 answer
44 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
0 answers
36 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 ....
  • 23
2 votes
1 answer
60 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
1 answer
113 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
1 answer
85 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 ...
  • 159
3 votes
1 answer
478 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 ...
  • 41
5 votes
1 answer
1k 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:/...
  • 153
3 votes
1 answer
840 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 ...
2 votes
1 answer
77 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 ...

1
2
3 4 5
21