Skip to main content

Blogger Does Not Support ".htaccess" Based Redirection

If you rename a non Blogger hosted website - and you retain ownership of the previous domain (or re publish a website within the same domain), you can redirect traffic from the old URL to the new URL, for some websites, using the ".htaccess" control file.

Some Blogger blog owners, used to setting up ".htaccess" based redirection for non Blogger websites, have renamed their blog - either from one BlogSpot URL to another, or maybe from a custom domain URL to another URL. Finding the links in the blog now broken, they wonder.
How do I setup .htaccess for the old URL?
This is an option that Blogger does not provide.

Blogger, in general, does not encourage redirection of traffic.

Traffic redirection is an option which many spammers would appreciate. Blogger hosts too many spammers and other miscreants, and they want less spammers - not more.

Redirect within a blog, using custom redirects.

You can use custom redirects, for redirecting specific URLs within a blog. Custom redirects work on a single URL basis, they do not support any type of masking or URL patterns. And custom redirects can't be used for redirecting from one blog to another - or for redirecting outside Blogger.

Blogger does not provide file / folder access.

".htaccess" is a file that is installed in the domain root - and blog owners do not have access to the "blogspot.com" root folder.

If you have just re published a blog from a custom domain back to BlogSpot, you are retaining the domain, and you do not plan to re use the domain for a non Blogger hosted website, you may be able to setup .htaccess on the domain - if the domain host supports it.

Short of that, you are going to have to focus on getting the blog re indexed, under the new URL - and get on with publishing the blog.

Comments

Me said…
Hello-
Thanks for all of your great tips over the years- you have saved me so much time and effort!
Here is my situation: I set up two Blogger Blogs as websites for the nonprofit org where I volunteer teaching ESL. One site is in English, and the other is in Spanish, each residing on a different custom domain. They are presently accessible one from the other by menu links.
What I would like to do is setup a subdirectory-type location for each site on one of the domains : www.example.org/en, and www.example.org/es. I also want to create a separate site for special notices, and one site each for our 4 class levels for a total of five additional sites, each redirected to a separate subdirectory url. Is this at all possible with Blogger?
Thanks,
Maestro Carey
Chuck Croll said…
Hi Maestro,

Thanks for the question.

Let's try using a Blogger custom domain. You can have two blogs, to start.
en.example.org
es.example.org

Next, you relate the two (or however many you wish to use) using a language related blog cluster.

http://blogging.nitecruzr.net/2015/05/publish-language-related-blog-cluster.html
Me said…
So sub domains would be the way to go, and using the "hreflang" tag would ensure no penalty for duplicated content, right? I didn't know about that tag, thanks. I had pretty much found out after many searches that Google wouldn't permit me to use subdirectories or subfolders for separate sites.
Alicia said…
It is possible to get custom redirection through apache server, but I will not be able to explain it technically.
Chuck Croll said…
Hi Alicia,

Thanks for the heads up. Yes, I'm sure that Apache server will do an .htaccess redirection.

That said, you have to redirect the blog to the Apache server - and redirecting a Blogger blog is not a trivial exercise.

It is not possible to redirect a BlogSpot published blog, without risking hacking / spam classification. And a non BlogSpot published blog can't be redirected, without "CNAME" referral, to a Google server.

http://blogging.nitecruzr.net/2013/04/blogger-blogs-cannot-be-used-as-gateways.html

http://blogging.nitecruzr.net/2010/02/blogger-magic-custom-domain-redirects.html

Popular posts from this blog

Custom Domain Migration - Managing The Traffic

Your blog depends upon traffic for its success.

Anything that affects the traffic to your blog, such as any change in the URL, affects the success of your blog. Publishing the blog to a custom domain, like renaming the blog, will affect traffic to your blog. The effects of the change will vary from blog to blog, because of the different traffic to every different blog.Followers. People who find your blog because of recommendations by other people.Search engines. Robotic processes which methodically surf your blog, and provide dynamic indexing to people who search for information.Subscribers. People who read your content from their newsfeed reader, such as the dashboard Reading List.Viewers. People who read your content from their browser.No two blogs are the same - and no two blogs will have the same combinations of traffic sources.

Stats Components Are Significant, In Their Own Context

One popular Stats related accessory, which displays pageview information to the public, is the "Popular Posts" gadget.

Popular Posts identifies from 1 to 10 of the most popular posts in the blog, by comparing Stats pageview counts. Optional parts of the display of each post are a snippet of text, and an ever popular thumbnail photo.

Like many Stats features, blog owners have found imaginative uses for "Popular Posts" - and overlook the limitations of the gadget. Both the dynamic nature of Stats, and the timing of the various pageview count recalculations, create confusion, when Popular Posts is examined.