A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [301-redirect]

301 is the HTTP status code for a permanent redirect.

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

How do I deal with Google indexing variations of my URLs that are not supposed to exist?

My site has this page (URL) that actually exists on my site example.com/ranking/rankings-of-nike-running-shoes but somehow I can see the following versions in SERPs (these URLs are not physically ...
4
votes
1answer
121 views

How can I programmatically redirect to new pages when users change content and the URL slug changes?

I have a PHP website, that has content posted by the administrator, and content posted by loggedin users. I use a content slug in URLs. If a user changes his post the corresponding slug may changes ...
2
votes
1answer
106 views

How do I test a used domain name for Google penalties?

If I launch a new website on a domain name previously used by someone else, and quickly learn that Google doesn't trust this domain (e.g. won't index pages due to past offenses), then can I simply ...
2
votes
2answers
196 views

Canonical to page contain redirect 301 to the same page?

I have the below situation, and need your advice in redirect and Canonical meta: old site: www.example.net/news/example.html new site: abc.example.com/en/news/example.html The old site content ...
2
votes
1answer
195 views

When mass redirecting URLs from the old site, can I redirect everything to the home page of the new site for SEO?

I need to redirect thousands of URLs to my new site (its the same domain, but now is on Wordpress), I don't want to lose all the SEO from the old posts, but I don't know how to redirect each old link ...
1
vote
1answer
52 views

Can a user or a crawler see the source of a page that has been redirected via a 301?

Is it possible for a user or a web-crawler to see the contents/source code of a webdocument that is automatically redirected to another page via a 301 redirect? If it is possible? How could a user ...
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
337 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
3k 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
67 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
1k 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
950 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
39 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
396 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
327 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
59 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
595 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
1k 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
49 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
83 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
545 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
578 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
193 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
33 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 ...
3
votes
3answers
502 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 ...
3
votes
1answer
2k 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
723 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
69 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
689 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
531 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
882 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
250 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
93 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
99 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
56 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 ...
1
vote
1answer
54 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 ...
1
vote
2answers
384 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 ...
2
votes
1answer
66 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
173 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
204 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
508 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
180 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....
2
votes
1answer
82 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
82 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
274 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
630 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 ...
2
votes
1answer
69 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
51 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
59 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: ...