How to Host Blogger domain on a sub-directory and Not sub-domain?


#1

How can I host my blog at Blogger in a sub-directory and not a sub-domain. For example, I want to host myblog.blogspot.com at Domain.com/blog and not at blog.Domain.com

Is there any way I can achieve this. I have tried doing this but blogger only allows hosting the blog either at root domain or sub domain but not on a sub-directory


#2

Why you repeat it 5 times :laughing: Read here first “Trust Level

You mean using custom domain ? You can buy it on godaddy, namecheap etc. If you using Blogger platform you can’t make your domain like that (www.mysite.com/blog), except if your’re using Wordpress.


#3

I think you can make! Not really but its a trick of redirection. Follow the steps.

  1. First, Create a page and name it as ‘Blog’ so the url will be http://anything.com/p/blog.html, right?
  2. Now, put bellow script on the HTML Section of the page:

<script type='text/javascript'> var d='<data:blog.url/>'; d=d.replace(/.*\/\/[^\/]*/, ''); location.href = 'BLABLA'; </script>

  • Now, Change BLABLA from above code to your blog’s url
  • Publish the page. Now, I think you want http://www.anythinghere.com/blog right? And you have http://www.anythinghere.com/p/blog.html so how to get yours?
  • Go to Blogger Dashboard > Setting > Search Preference
  • Now, Under Errors and Redirection section, set up a redirection. In the first box, put 'blog' and in second, put p/blog.html (Previous Page url).
  • Now, visit http://www.anythinghere.com/blog and it will redirect to the page and because of that script, if will redirect to your blog.

Hope It Help. :smile:


#4

At present you can not host a blogger blog on a sub-folder or sub-directory of your root domain. You can only host it at the root domain or subdomain by changing the CNAME records. Although a PHP Hack is available where you can uses PHP to act as a Proxy to Blogger and several other tricks as @Shivansh suggested but none of them are SEO friendly tactics and can severely effect your blog’s search ranking.

Unless Google allows blogger users to access the database, you can not host your blog on a sub-folder.

Note: @Arslantariq1996 I have edited your entire post, you must explain your query in full details to expect help. Next time we will simply delete your post if repeated sentences were posted.


#5

I hate the restriction of 300 character because sometime we have no more words


#7

Then how come you do blogging then? If you can not barely write 300 characters?


#8

Its not necessary to use blogger only for blogging


#9

Perhaps this could work once upon a time, but when I tried it I got a ‘broken html’ error message, and although I was able to ignore it, the page goes to my site with a ‘page does not exist’ error message.