Questions tagged [301-redirect]

301 is the HTTP status code for a permanent redirect.

Filter by
Sorted by
Tagged with
4
votes
2answers
516 views

Using 301 redirects to change domain and maintain SEO

I’m setting up a Wordpress website with a new domain name to replace my client’s current website. I’d like to redirect the old domain to the new domain in a way that will maintain the search engine ...
1
vote
0answers
39 views

When moving to new domain, should old page redirects be implemented on the the old or new domain?

I am moving our website to new more appropriate domain name. Our current domain has a number of 301 redirects from a former naming structure that we changed a few years back. And we want to maintain ...
1
vote
1answer
1k views

Website redirects to httpss (not https) in Safari and IE but not Chrome

I have made a redirect rule in my .htaccess file for https://pg-flowsolutions.com that specifies that if someone enters an invalid path (for instance https://pg-flowsolutions.com/blablabla) the ...
1
vote
0answers
23 views

How do I implement 301 redirects from a parameter to prevent Google from continuing to index that content? [closed]

I need to implement 301 redirection for example.com/?id=113742 example.com/?id=154242 example.com/?id=XXXXXX All those sites to example.com. I need it in htaccess. I`m using wordpress How do I do ...
1
vote
2answers
1k views

how to deal with URLs containing underscores

I know that hyphnes are preferred to underscores, and I could do a 301 redirect. But some say it's not worth the chaos to change them and I pretty much agree. https://moz.com/community/q/hyphens-vs-...
5
votes
1answer
93 views

Wrong URL Requested But I know what they meant - 404 vs canonical vs 301 redirect

I'm using mod_rewrite to process variables in the URL. For many of my URLs the final portion of the string doesn't matter because I'm not using it. For instance: /review/company-25/jb-hunt I'm only ...
2
votes
1answer
308 views

Simple .htaccess language question (redirection)

I do not know the language of .htaccess, thus the newbie question. I have this code: RewriteEngine On RewriteCond %{QUERY_STRING} ^m=1$ RewriteRule (.*) /$1? [R=301,L] It redirects any urls that ...
1
vote
2answers
77 views

HTTPS indexing after migration

I moved my website from HTTP to HTTPS version month ago, and I made all necessary changes, I made 301 redirect so all old links redirect to the HTTPS version, and I added the new version to webmaster ...
2
votes
1answer
1k views

Is there an SEO reason why I shouldn't redirect the root domain to a subdomain?

Is there any downside to redirecting the root domain and the www subdomain to a subdomain of my choice? For example, redirecting smith.com and www.smith.com to john.smith.com. I was talking to ...
3
votes
3answers
1k views

HTTP to HTTPS: Wait for new sitemap to be indexed?

Running HTTP and HTTPS versions of the site side-by-side. HTTP is canonical right now. Goal is to change that to HTTPS. Created a new site in Search Console and submitted a new sitemap 4 days ago. ...
2
votes
1answer
4k views

301 redirect all child pages to parent directory using .htaccess

I need to 301 redirect all child pages of a specific parent directory on my website. i.e. redirect www.example/com/parent/child and www.example.com/parent/another-child etc. to www.example.com/...
1
vote
0answers
1k views

How to redirect / forward a domain to a specific URL?

So, I tried looking around and haven't found the answer I was looking for. I wanted to ask if it's possible to redirect / forward a domain I bought to a specific URL from another website. So let's ...
1
vote
1answer
59 views

.htaccess redirect for one file

Somehow an erroneous URL of mine got indexed by Google. Which is: www.example.com/index.php/ All I want to do is redirect it to the same URL without the / at the end. I have the below that seems to ...
5
votes
2answers
2k views

GoDaddy's 301 redirect/forwarding has some weird random middleman URL, kills link juice?

I'm trying to use GoDaddy's 301 redirect, which is named as domain forwarding. I set up forwarding DomainA.example to DomainB.example as 301 "type". I noticed DomainA.example is still indexed in ...
1
vote
1answer
1k views

Is it good SEO to 302 redirect from root URL to language and region subdirectory for the user, then tell Google about altenate sites in the sitemap?

We use subdirectories on a global top level domain for a multi-regional site: When a user from Iran enters www.exmple.com it 302 redirects to www.example.com/fa-IR. When user enter from the US enters ...
1
vote
1answer
23 views

New Joomla Website - Confused About 301's

My original Joomla website created numerous URLs that related to the same dynamically generated product page. I have changed website platform (not domain) but the products are the same but now have ...
3
votes
1answer
282 views

Redirect 301 for Apache Sub directory and query string combination

I am getting 404 errors in Google Search Console for URLs like the following: http://www.example.com/newsite12121212121212/eg/st_tour/perma/ http://www.example.com/newsite12121212121212/eg/...
1
vote
0answers
67 views

Are there security concerns with migrating a sub-sub domain to a new platform, leaving another in place, and abandoning a third?

I have been tasked with launching a website for my organization. It is a dept. within a parent organization. Parent Organization Administers domain.com Dept. Organization Administers sub.domain.com ...
4
votes
1answer
535 views

Redirect 301 directive for Apache has no effect for URL with query string

I have this old link http://www.example.com/?page_id=617/ that I want to redirect to the home page. I've tried to implement this redirect with: Redirect 301 /?page_id=617/ https://www.example.com/ ...
2
votes
1answer
46 views

I couldn't create .htaccess redirect

From /etiket/(any page) to /konu/(any page). How can I do it? In .htaccess file. I searched and applied it but couldn't. # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase ...
3
votes
2answers
1k views

How bad is it for SEO to use at 302 redirection instead of 301 redirection for HTTPS?

Recently my client has configured HTTPS. I recommended that he implement 301 redirection to 200. His developer could not do that and it is still using 302 redirects. How bad it can affect a website ...
1
vote
0answers
367 views

SEO for multiple domains for the same site

I have a .co.uk site that ranks well (position no. 4 in Google and no. 1 in Bing). After 5 years, I've finally got round to registering the .com for the same site. As this doesn't need to be a .co.uk ...
1
vote
2answers
58 views

When and how does Google Webmasters let you know a “Change of Address” has been successful?

I migrated my blog from one domain to the other and initiated a change of address using Google Search Console's change of address tool recently (three weeks ago). I'm starting to see a comparable ...
1
vote
1answer
48 views

If there is no page, redirecting to the other site

I moved my site and I want to use the old site. The best way to use both is to show the current pages, if there is no page, redirect to the same address on the new site. Can I do this only from the ....
4
votes
1answer
1k views

How to redirect all (www).example.(com/net/org) to https://example.com

How do I setup any URL/URI for http(s)://(www).example.(com/net/org)/somepath to end up at the corresponding: https://example.com/somepath I'm guessing that the solution (if there is one), will ...
2
votes
1answer
178 views

Can I 301 redirect multiples URLs to one page without risking a search engine penalty such as duplicate content?

I have multiples url's directing to a single page, ex: www.example.com.br/phone-calls-right-now www.example.com.br/phone-calls-for-yesterday www.example.com.br/phone-calls-cheaper www.example.com.br/...
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
128 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
108 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
221 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
197 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
45 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
339 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
68 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
1k 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
41 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
440 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 ...
2
votes
1answer
357 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
671 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
85 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
558 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
919 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
300 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
34 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 ...

1
3 4
5
6 7
19