Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [301-redirect]

301 is the HTTP status code for a permanent redirect.

1
vote
2answers
44 views

How do I create 301 redirections for changed permalinks

I recently learned that the default WP permalink with post date is not SEO friendly. So I had to change the links for all 270 posts on my blog. However, the old links still display on Google search ...
2
votes
0answers
287 views

Cannot “fetch as Google” in Search Console after implementing HTTPS because of redirect

We have recently switched from HTTP to HTTPS. When I tried to "fetch as Google", it says the URL has been redirected and I am not able to see how the website is going to look. Is it because Google ...
5
votes
1answer
1k views

How to redirect a Heroku domain to a custom domain?

Let's say my web can be accessed with www.example.com and example.herokuapp.com. How can I redirect example.herokuapp.com/* to www.example.com/*? Heroku suggests that I use HTTP status 301 Moved ...
2
votes
1answer
65 views

Do I need to redirect old style URLs for SEO when both work?

I have old URL structure pages indexed in Google that are ranked well against the keywords. Now I have cleaned the URL structures and the new URLs have more potential to get ranked higher. Both pages ...
1
vote
1answer
770 views

.htaccess doesn't redirect my pages from HTTP to HTTPS

It seems like .htaccess doesn't redirect my pages from http to https. My domain is redirected to https but not my pages… Can it be a bad configuration from my web host? Here is what I have done ...
0
votes
1answer
762 views

How to implement HTTPS redirection for static resources such as robots.txt in legacy ASP.NET website?

We switched to HTTPS in our legacy ASP.NET site about a month ago. We had already implemented redirection with HTTP status code 301 'Moved permanently' for outdated aspx resources in the app's Global....
1
vote
1answer
38 views

What redirection should I use whether I am not sure it is temporary or permanent?

I know that 301 redirection for permanent redirection. 302 for temporary redirects. I want to redirect author pages to BuddyPress profile pages in WordPress. I am not sure that it will be permanent. ...
2
votes
0answers
288 views

Does Yoast support regular expression redirects to remove the date from post URLs?

I have to setup as redirect from "Date and Name" Format to "Post Name" Format. For example: /2010/10/post-url/ it must be redirected to /post-url/ I am using Yoast for redirect. I don't know what ...
1
vote
1answer
255 views

Which HTTP response status code is most appropriate for a restricted URL?

I have a page on my website that's targeted at logged-in users only. Logged-out visitors shouldn't see the content. Imagine the page URL is example.com/upload/. In cases when users aren't ...
1
vote
0answers
57 views

Link juice from a 301 redirect question

I've just finished redesigning the website and had some new URLs that didn't match up to old ones. I did a 301 redirect to those pages. Now the old and the new page are ranking first and second in ...
2
votes
2answers
412 views

How to tell google that domain no longer exists but still make redirects from that domain

I have two domains: example.com and dev.example.net. example.com is the active one and dev.example.net should be invisible to Google. dev.example.net has 301 redirects to example.com and it has its ...
3
votes
1answer
916 views

URL-path with encoded question mark results in incorrect redirect when copied to target URL

I have a simple RewriteRule, appending a string to some URLs: RewriteRule ^labels/([^/]+)/?$ /labels/$1/releases/ [R=301,L,NC] The links are database driven, and this is working very well. Well, ...
2
votes
0answers
46 views

Googlebot following some 301 that doesn't exist for root domain

We have locale versions of our site www.example.com (UK), us.example.com (USA), fr.example.com (France) etc. In Google webmaster tools I have configured each of these domains with their country and we ...
2
votes
3answers
74 views

From an SEO perspective, can canonicals be used for typo domain aliases instead of redirects?

I'm setting up a new website with a few domain aliases with variations (singular and plural) of the primary domain. The point is to take the user to the right website even if he types the address ...
2
votes
1answer
437 views

After redirecting site to HTTPS Google Search Console index status dropping for HTTP but staying at 0 for HTTPS

I moved my HTTP site to HTTPS last month. Earlier I had a search console property for http://www.example.com. Now I created a new property for https://www.example.com (also created property for http:/...
4
votes
1answer
285 views

Redirect all index.html pages to subdirectory?

I have an old site ported from WordPress to basic HTML (don't ask why) and every page is ending in the subdirectory/index.html. This is causing some funky indexing issues, so I wanted to 301 all the ...
1
vote
1answer
104 views

Which is longer cached by SE robots or browsers, redirect 301 or 302

I have looked on Stack Exchange but didn't find the solution for my problem. The problem: I have a website and want to become an SEO hero. So, I also need to choose status codes... I know that there ...
2
votes
0answers
27 views

Adsense: Both www.example.com and example.com are showing up in my Sites reports despite redirect

I have a website example.com that was on www.example.com until around May 2015, when I moved it from Jekyll to WordPress. I have a 301 redirect set up from www.example.com/* to example.com. Now, both ...
4
votes
3answers
412 views

Are 301 redirects necessary for SEO every time you change the name of a web page?

I noticed in Webmaster Tools that pages on my site that were renamed or deleted many years ago are still coming up listed as not found even though there have never been any links to these pages. So ...
4
votes
1answer
1k views

How do I do a 301 redirect of specific pages with a catchall for any pages not specified?

We are changing domains and need to redirect old pages to new, and then create a catch-all to redirect any that we missed. This needs to be done as a 301 redirect using .htaccess. For example: ...
1
vote
3answers
575 views

404 Google crawl error redirect 301 is it correct or not?

I got lot of 404 not found link in google crawl error am tried to fixed that 404 issue like below code in .htaccess, redirect 301 /448673-002-New-HP-WWAN-module-HP-07FW.html http://www.example.com I ...
0
votes
1answer
62 views

How to re-direct front end SEO URLs?

Is it possible to 301 re-direct SEO URLs? For example, www.mywebsite.com/shop/interior In an e-commerce situation, you can change the URLs for SEO friendly. Setting up a 301 redirect in the CPanel, ...
1
vote
2answers
537 views

Force ssl - 301 redirect not working

I created a 301 redirect in my cPanel to force ssl. It is not working. The last two lines were created with the cpanel for the redirect. RewriteOptions inherit # BEGIN WordPress <IfModule ...
2
votes
3answers
344 views

Prevent Google from indexing and caching pages with query strings

I have a WordPress site is running on my domain. There are some pages that are indexed and cached by Google with query string like this: example.com/category/xxx/?post_type=product. I want Google to ...
5
votes
1answer
455 views

Execution order of different htaccess redirects

It seems that no matter what I search I just can't understand why I keep getting this issue and I for some reason can't find a good explanation on how it works. Also sorry if this quest was asked ...
1
vote
1answer
203 views

Trouble moving a multilingual Prestashop site in Google Search Console

I've got a multilingual Prestashop store named example.ch and want to move it to example.com, preserving the SEO efforts. I've set up 301 redirects to the new domain. My properties are registered as ...
1
vote
0answers
18 views

How do I get my new site ranked the same as my old site? [duplicate]

My site was first for all keywords. After a period of time, I converted the domain from abyath.com to abyath.net and that worked well but, after four months, the site is still lagging on the last ...
0
votes
1answer
77 views

Redirect from .com to .net

If I 301 redirect page from .com to .net will I lose some traffic or page rank on Google or will everything still be the same?
1
vote
1answer
61 views

Can 301 redirects be done for some pages from old domain to page on new domain. Old domain will remain UP

Recently(couple of days ago), we used the url removal tool in google webmaster to remove some for our existing pages on our .com domain but actually we wanted to pass the link juice for those pages ...
0
votes
2answers
48 views

Re-use domain after years of 301 redirect

I want to use a top level domain for a new website. I registered the domain many years ago, but never used it before. I just redirected the domain after registering many years ago via 301 reditect ...
2
votes
1answer
45 views

International software sold seperatly for each country: ccTLD and gTLD setup

Imagine a company selling software internationally. The software is the same, but it's mainly for people living in a few different countries and the features are different for each country. There will ...
2
votes
2answers
250 views

Old domain name appended to page titles in Google SERP

We recently moved our domain from monomachines.com --> supplychimp.com Followed all the recommendations from various blog posts and told Google in Webmaster Tools that MonoMachines is now ...
3
votes
1answer
61 views

Is the redirect problem a server aliasing problem or a .htaccess problem

This past weekend, I ran into a redirect problem I have never seen before. BACKGROUND: the site is a static site that was created by the site owner in a small, remote town. She figured out HTML and ...
2
votes
1answer
125 views

SEO effect on link with redirect 301 --> canonical tag --> page?

I have the chance to put a link to a project on the frontpage of a high traffic directory, but it has a character limit and the URL of the page I want to link is much longer. The project has a ...
2
votes
1answer
147 views

Redirecting a gTLD to a ccTLD to increase traffic

I have a very short and fancy ccTLD (vwx.yz) for my private page. The page gives an overview about me and my conducted research and is currently associated with some small island somwhere nowhere. I ...
5
votes
2answers
389 views

Properly redirect a site to WWW and HTTPS

I recently found out a problem in .htaccess file in my website. When I started the site I did a 301 redirect to redirect all non-www and http request to www with https. I added this lines of code and ...
2
votes
1answer
156 views

.htaccess and permanent redirection with a special condition

I have a WordPress website hosted on Bluehost which contains the following URL pattern: http://www.example.com/2017/01/30/sample-post/ I wanted to permanent redirect it to use this: http://www....
3
votes
1answer
62 views

Static HTML to CMS: Same URL structure do I need 301 redirect?

I am transferring a website over from static to CMS and the new CMS will have the same URL structure. Do I need to do any 301 redirects or anything else so I don't impact current ranking. Also if I do ...
3
votes
1answer
76 views

seo 301 vs domain redirect

I have a website with a navigation in different languages (language can be switched) and content that was submitted by users in almost any language. And I'll register many many domainendings for my ...
1
vote
0answers
248 views

Why my website is excluding from search results after migration to https? [duplicate]

I've setup ssl certificate on my domain on 19th of February and redirected all pages to https version with 301 redirect code. From that day all of my indexed http pages are disappearing from results ...
2
votes
2answers
545 views

https:// redirect to https://www in NGINX

How do you redirect all non-www links to my website to https://www. I know that there are a lot of solutions for .htaccess but I haven't been able to find anything sufficient for nginx. At the ...
3
votes
1answer
59 views

301 an “extinct” URL to a “404” page with 200 status code

This is a bit of a weird one but I'll explain as best I can: After a redesign, content was migrated and mapped to a new URL structure (same domain). However, there are still a lot of URLs 404ing that ...
0
votes
3answers
42 views

301 redirect a high rank page to low rank page

I have two versions of my website- www and non www. The non www ranks higher than www. Will redirecting the high rank(i.e non www) to low rank (i.e. www) page reduce the overall page rank or the rank ...
1
vote
1answer
56 views

Two Permanent Redirects using .htaccess

I have a Wordpress website which contains the following URL pattern: http://www.somewebsite.com/2017/01/30/sample-post/ With the help of user w3dk, I have been able to permanent redirect it to: ...
9
votes
3answers
5k views

Are drops in Google ranking common after switching to https?

About a week ago I made the switch to https on one of my sites. I'm positive I did everything right. Properly setup 301 redirects from http to https versions. Added and verified https version in ...
0
votes
1answer
123 views

Moving website to new host, which .htaccess to use?

I have not done this before and am confused on a couple issues. Currently the live site is on Bluehost, created with Frontpage (yes I know), the new site is under development with Wordpress and is on ...
6
votes
1answer
93 views

Implementing 301 redirects won't work without an existing file. Will that matter to Google or is there a better way to implement redirects?

I just published a completely revised version of a website (static site to a Wordpress powered one) without changing the domain or the web server. In the old site the URL structure was example.com/...
3
votes
0answers
54 views

I want search-engines to prefer newer version of my webpage (301-Redirect and Canonical ignored)

I've a very curious problem with the index-status of my webpage. It's a little difficult to explain. I launched my webpage in summer 2008 with around 8K sub-pages. Until 2012 all of the 8K pages ...
1
vote
1answer
55 views

.htaccess and permanent redirection issues

I have a WordPress website hosted on Bluehost which contains the following URL pattern: http://www.example.com/2017/01/30/sample-post/ I want to permanent redirect it to use this: http://www....
0
votes
2answers
68 views

How to preserve SEO when transferring registrar?

Sorry for the newbie question I may be totally off with my understanding, but I am unable to find anywhere where my question is explicitly listed. From my understanding SEO can be preserved if a ...