We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [301-redirect]

301 is the HTTP status code for a permanent redirect.

Filter by
Sorted by
Tagged with
5
votes
1answer
3k views

What are the most commonly used and basic Apache htaccess redirects?

This question is here so we can offer users who are looking for information on how to make one or more common or basic redirects in Apache using the htaccess file. All future questions pertaining 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 ...
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. ...
5
votes
2answers
1k 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 ...
10
votes
2answers
13k views

Retrieve Facebook Like count after changing URL structure for entire website

I just changed the URLs for my entire website. I have set up 301 permanent redirects for all old URLs to new URLs. Rel=canonical are set to new URLs. All Facebook Like buttons count have returned to 0....
2
votes
4answers
834 views

Redirect everything from old domain to new domain

I need to (permanent) redirect all of the following: www.example.com www.example.com/folder sub.example.com sub.example.com/folder Basically, all URLs that are reachable without being intended to: ...
5
votes
1answer
2k views

GSC: How to move a site from a domain to sub domain, sub folder or new domain with a sub folder?

Is it possible to tell Google's Webmaster Tools that our site hosted on www. has moved to a sub folder, sub domain or a new domain with sub folder?
14
votes
3answers
9k views

What is the best way to redirect my naked domain?

I have example.com, which points to web server using A records, I want to redirect all traffic from www.example.com to example.com. As far as i know these are methods, 301 HTML redirect from www to ...
7
votes
1answer
4k views

SEO and multiple domains to same site

I have one website. I have two domain names that I want to point to the same site install. So whether you go to name-one.com or name-two.com you see the exact same site. Now, I can either set up ...
6
votes
1answer
640 views

Impact of migrating whole site from HTTP to HTTPS

We migrated our website to HTTPS everywhere and we have setup a 301 redirect on all the pages when the protocol is HTTP. However, one of the SEO experts who is helping us with all things SEO sent us ...
5
votes
2answers
851 views

Is large scale of 301 redirects for URL change harmful for SEO?

I have changed the URL for a large portion of my website (150,000+ URLs) to follow a SEO-friendly structure like all lower-case and hyphenated URLs (earlier they were capitalized at places and had ...
2
votes
2answers
880 views

Want to redirect a domain to a new domain using 301 or 302?

Firstly, I want to redirect an old domain to a new domain, (old site to new site). The old site has good ranking on Google, now if I redirect the site, I want to retain this site on the Google ...
7
votes
3answers
5k views

GoDaddy URL forwarding while keeping relative path

I'm hosting my website on Google App Engine and my domain name on GoDaddy. Google App Engine does not allow you to have naked URLs. So it doesn't allow you to have example.com but does allow you to ...
1
vote
2answers
228 views

What to do with random pages after a 301 redirect?

I did a standard 301 redirect for a domain, but the original domain has about 300 pages that have some strength. It doesn't make sense to make them all point back to the new home page because the ...
6
votes
2answers
5k views

How do I setup 301 redirects in Google Apps site?

I have just moved a website from a shared host to a Google Apps site. Is there a way I can setup 301 redirects on my Google Apps site so that old links (with a different URL) can be 301 redirected to ...
5
votes
1answer
14k views

Help with 301 redirect from subdomain to root domain

I need to forward existing subdomain links to the root domain as the subdomain no longer exists. I have tried so many different lines of code in my .htaccess file and can not get the redirect to work. ...
4
votes
3answers
1k views

Remove extension from URL using a rewrite without resulting in a redirect loop

On the server, I have a file (on the filesystem) called page.html, which I want to be accessed as site.com/page So if someone goes to site.com/page.html, it should 301 redirect to site.com/page I've ...
4
votes
2answers
103 views

Redesigning an old site, structure change etc

I have an old site built in 2006, it has around 200 pages and 500 pictures. Every single page is of course indexed as well as images. It is very well ranked for targeted keywords and I receive good ...
4
votes
3answers
3k views

Subfolder won't permenantly redirect to subdomain

Right now I have the following code to redirect all non-www URLs to www URLs: RewriteCond %{HTTP_HOST} ^example.com RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L] Besides that redirection, I ...
3
votes
1answer
2k views

Should I change the URLs in the XML sitemap after 301 redirecting them?

I am using 301 redirects for all URLs. Should I change sitemap URLs now? The sitemap currently contains the following URLs: example.com/cat/1.html example.com/cat/2.html example.com/cat/3.html ...
2
votes
1answer
3k 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/...
2
votes
2answers
381 views

Domain name made of keywords redirecting to main website's page

Let's say I have a website called books.com where I sell books. I've read on Redirecting different domains to your main site that it's not a bad idea to register another domain that does a 301 ...
2
votes
1answer
455 views

How do I map a (keyword rich) domain name to an existing website?

I am not experienced technical person, and still learning but will try to explain what I have done so far and what my query is. I have a (hypothetical) domain az-studios.com On that domain I have 3 ...
2
votes
1answer
610 views

Duplicated content www on subdomain and SSL

I have a eCommerce based on OpenCart, but I was wondering about change my domain name for SEO purposes. For me the critical thing about my changes are the imminent possibility of domain change, I'm ...
2
votes
1answer
380 views

how to set 301 redirect in wordpress .htacces file

In continuation of my previously asked question preserve-search-engine-index-while-shifting-to-new-domain. The migration is being done in the word-press and we will have same server with same IP.Since ...
1
vote
1answer
952 views

Redirect http www and non-SSL domains to HTTPS without multiple redirects?

I'm losing link juice in multiple redirects. I need to redirect all domain versions to my default domain i.e. https://example.com By all domain versions I mean http://www, http://, https://www and ...
1
vote
2answers
180 views

Merge two domains with 301 redirect

I have two domains (.com and .co.uk) with different websites. In .co.uk domain I have a good ranking and my idea is to redirect the .co.uk domain to .com. I think I have to use 301 redirect. My ...
0
votes
2answers
1k views

Redirecting IP address to domain address

Google has indexed the IP address of my site rather than the domain, so now I'm trying to set up a 301 redirect that will redirect the IP address and all subsequent pages to the domain. I currently ...
-1
votes
1answer
576 views

How to remove trailing slash from my root URL in htaccess?

I've tried several ways to remove the trailing slash from my URL in .htaccess and nothing worked but now even my URL can't be found because now it has a slash. Here is what my .htaccess looks like. I ...
26
votes
4answers
63k views

Is there any way to redirect one domain to another via DNS settings keeping the path information?

For example, my domain is example.com and when someone navigates to example.com/sample/page.htm, I want it to redirect to test.com/sample/page.htm. I know that this can probably easily be done using ...
11
votes
3answers
303 views

What constitutes a “substantial, good-faith effort to remove the links”

We engaged the services of a 3rd party SEO consultant to assist us in managing our Meta data and to write regular blogs on our site http://cyberdesignworks.com.au Without our authorisation, the SEO ...
7
votes
2answers
29k views

How to redirect any URL to lowercase URL?

I am using: <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTP_HOST} ^example\.com [NC] RewriteRule (.*) http://example.com/$1 [L,R=301] <...
9
votes
3answers
15k views

Should I redirect the site IP address to the domain name

I have been told by an SEO company to redirect the site IP to the domain using a 301 redirect. This will apparently improve the SEO ranking of the site. The site has a dedicated IP address. Is this ...
15
votes
3answers
25k views

Will putting the HTML from a 301 redirect page into a document perform the same function as a real 301 redirect?

In a web debugger, the html of a 301 redirect page shows up as: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>301 Moved Permanently</title> </...
6
votes
2answers
5k views

How can my site detect mobile phones and switch visitors to a mobile Domain?

My Question is that when user enter the website: http://www.example.com then they will just go to automatically to http://www.example.mobi how can i do this .. is their any technique behind that. ...
0
votes
4answers
8k views

What's the best way to redirect from domain to subdomain?

I want to install my new site content on a subdomain like subdir.mydomainsite.com instead of the root domain. This is a new domain and not previous content to redirect. The root URL will be empty ...
5
votes
2answers
484 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 ...
5
votes
2answers
520 views

Managing redirections of 2 domains at CloudFlare for the same site

Let's say I have these two domains: example.com.uy example.uy My goal is to set a proper domain's forward according to SEO best practices using a 301 Redirect, in order to enforce my users to be ...
4
votes
1answer
489 views

.htaccess 301 redirect dynamic URL with regex?

How to do this with regular expression? Old -> New http://www.example.com/cat1/cat2/cat3/tool-model-10 -> http://www.example.com/tool/tool-model-10 http://www.example.com/cat1/cat2/cat4/tool-...
4
votes
1answer
123 views

Moving folder's content to a new domain, what SEO steps to take?

So, we have a functionality on example.com/folder that we decided to make as separate site and we're in need of moving it to a new domain (brand it)... This is what I'm going to make SEO wise (...
4
votes
1answer
4k views

Canonicalization for www/non-www URLs and IP/domain on a Windows server

I have checked my website using this SEO tool and the results report 2 issues: Test your site for potential URL canonicalization issues. Canonicalization describes how a site can use slightly ...
2
votes
2answers
227 views

SEO and unique IDs in URLs

I have a web site at: http://example.com when a new user first hits the web site I am creating a unique ID of 5 characters for them (for example abcde) and redirecting them to http://example.com/...
2
votes
1answer
700 views

Do you get referrer data from HTTPS > HTTP > 301 Redirect > HTTPS site?

Referrer data is lost when a HTTPS site links to a HTTP site. If you implement a 301 rediect from your HTTP site to your HTTPS site do you get referrer data? Referring Site | Your Site ...
2
votes
3answers
580 views

301 redirect from new page to old to keep PageRank?

I need to change a URL of an interior page that has a Google PageRank of 4. It was recommended by a coworker that I create the new URL but have it redirect to the old one, thus allowing a buildup of ...
2
votes
1answer
172 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
3answers
377 views

Does purposely linking to an invalid URL and then using 301 affect SEO?

On a section of my site, I am currently using .htaccess rewrites to put the ID as part of the URL instead of in the query, like so: RewriteRule ^([a-z_]+)?/?tours/([0-9]+)/(.*) /tours/tour_text.php?...
2
votes
1answer
650 views

Why Google Webmaster Tools list HTTP status 303 as crawl error?

There is another interesting question about status 303 and seo here but it does not answer me why status 303 appears now in GWT in the crawl errors section since end of January. In my understanding ...
2
votes
1answer
227 views

Is it a good idea to register multiple domains pointing to a single website

We have a main domain or primary domain (say xyz.com) on which we have our website hosted. For the sake of business/trademark we would like to book other domain with the same name but different tlds (...
0
votes
1answer
112 views

How to preserve Search Engine Rank after domain change with 301 Redirect?

Before you mark this question a duplicate, read the question properly. I have had a domain http://muzic.asia and because of low quality TLD it's SEO rankings were less (For some keywords it ranked ...
8
votes
3answers
708 views

Dev site indexed by Google

I was developing a new version of our site on a subdomain (dev.oursite.com) and the robots.txt with the Disallow got replaced at some point, so the site got indexed by Google and other search engines. ...