Following Rounin's answer carefully written (thanks a lot) on how to redirect any blogspot urls with any extension to the mydomain.com corresponding URL, now the question is how can I mask the URL? I mean, once the blogspot URL redirects to the mydomain.com, I want to continue to display the original blogspot URL instead of the mydomain.com.
相关问题
- Backbone.js PushState routes .htaccess only workin
- Stop .htaccess redirect with query string
- Stop .htaccess redirect with query string
- .htaccess rule, redirecting old unexistent address
- UrlEncodeUnicode and browser navigation errors
相关文章
- How to get jQuery.ajax response status?
- send redirect and setting cookie, using laravel 5
- Optimization techniques for backtracking regex imp
- Regex to check for new line
- Allow only 2 decimal points entry to a textbox usi
- Comparing speed of non-matching regexp
- Regular expression to get URL in string swift with
- 请问如何删除之前和之后的非字母中文单字
You can use the following JavaScript snippet for that -
And the bare minimal CSS would be -
You can check a demo here (This is the homepage) and here (This is an internal URL from other site which doesn't exist on the original blogspot URL)
In privous answer you redirected page from blogspot to your domain. This causes the url to be changed. But if you want to show contents from another url without changing url it could be done through using
.htaccess
file.the code in htaccess file should be like this:
Here you could find more details and info about
.htaccess
file.I don't know if it is possible for you to place that file in your blog or not. If you have not access to place this file into your blog you can place it on your domain host, and redirect from your domain to your blogspot page but if ask me I recommend you redirect and encourage people to your own website rather than keeping them using weblog address. You'll not need weblog if you have your own website.