I am using an MS Office to make a PDF presentation. And MS office does not support tel: links. So I made a htaccess redirection to tel:[phone number] that worked but now I switched to GitHub pages to host the website and and Github does not support htaccess redirections.
I have also tried jamming tel: protocol into URL shorteners they do not recognise it as a URL.
Do you have any 3rd party methods I could use to make a URL that redirects to tel: protocol URI ?
Even though Github Pages doesn't allow htaccess, the service does allow redirects from the Jekyll Plugin. Also, the Jekyll Redirect plugin allows you to customize the redirect template, which may allow the tel links that you're looking for.
P.S. Interesting question! When I first looked at it, I didn't think it was possible, but now, I think it is.
Related
I need to redirect several URLs to a new site that will have pages that replace the old sites. I don't care if the URL is masked or not. I just need the URL's to go to the new pages on the new combined site.
For example:
Oldsite.com redirects to NewSite.com/Sub/NewPage
Oldsite2.com redirects to NewSite.com/Sub/NewPage2
Oldsite3.com redirects to NewSite.com/Sub/NewPage3
and so on.
I've tried domain forwarding on the DNS level, but that isn't working (likely because of the subdirectories).
Problem is the New site was developed in Webflow and I don't have access to implement custom code for redirects.
My thought is to host a separate site to act as a hub that handles all the custom redirects to the New webflow site.
Any help or insight would be greatly appreciated.
Your scenario here isn't entirely clear on the types of redirections you're attempting to do.
If you're trying to redirect all paths from the old site to a specific destination page, like this...
oldsite.com/* ➜ newsite.com/sub/newpage
...many modern DNS providers support that.
If yours does not, you can switch your nameservers to Cloudflare DNS free edition, and you'll have the ability to define up to 3 page rules that support wildcard redirections like this.
I'm struggling with an issue in IIS 8.5 which is about redirection and rewriting, but couldn't get a solution yet
we have an application driven Webpage running on IIS, but is not manageable.
This application can attached by browser using
http:// 10.172.100.242:81/appname/object?parameter
which is not really customer friendly. Up to the "?parameter" the URL is steady, parameter is changing.
I would prefer to have this url shown to the customer as
http:// appname.domain.com/parameter (best solution) or
http:// appname.domain.com/object?parameter
The combination of redirect and rewrite is too much for my knowledge
The rules I tried didn't work and now I have the hope to get some help from guys with better knowledge than mine...
Thanks in advance
First create a new website in IIS. Then configure as follows.
Inside the website create a folder called "parameter"
Select the "parameter" folder and set the redirect as show in the picture 2
One of my main concerns is about SEO, when I have the intention to completely redesign a website and make it work on a mobile device.
Following that idea, I have been researching on Google Developers and have decided choose the first option "Responsive Design"
CURRENT SITUATION
Made in TABLE
SEO based only in KEYWORDS and DESCRIPTION
URL not friendly
Use the first version HTML
Layout old-fashioned
Excellent position in the GOOGLE Rank
Excellent traffic visitors
TARGET
Create mobile version to attend target group which use mobile device
Full redesign, including best practices organic SEO Friendly URL
HTML5
CCS3
Responsive Design
New technology JSP to PHP (Laravel 4)
OBSERVATION
Because this site has been online since 2002, it has developed an excellent position on GOOGLE. The biggest concern of all, is to lose the position because of the migration to the new version. Im Seeking alternative or more efficient solution, I'v identified the use of 301 redirect to the new URL.
My Questions are as follows:
If the domain of the website is maintained, will this change only the URL?
example:
From
www.website.com/cs/detail.jsp?id=123456
www.website.com/aboutus.html
To
www.website.com./product/detail/123456/lorem-ipsum-dolem-sit-amet
www.website.com/about-us
Following that thought, I'v found some solutions like 301 redirect.
DOUBT 01
I will use the 301 redirect to each page, then will I have to put that 301 redirect one-to-one?
aboutus.html
response.setStatus(301);
response.setHeader( “Location”, “http://www.website.com/about-us” );
response.setHeader( “Connection”, “close” );
cs/detail.jsp
response.setStatus(301);
response.setHeader( “Location”, “http://www.website.com./product/detail/123456/lorem-ipsum-dolem-sit-amet” );
response.setHeader( “Connection”, “close” );
DOUBT 02
Following the doubt above, will i have to put the new website in sub folder?
Example:
|public_html
|-index.html
|-quemsomos.html
|-cs
|--detalhe.jsp
|-novo-site
|--index.php
And will the URL will be just like that of:
www.website.com/new-website/quem-somos
www.website.com/new-website/product/detail/123456/lorem-ipsum-dolem-sit-amet
DOUBT 03
Is there anything else i need to worry about?
Answer 1:
Its better to redirect the entire site using a .htaccess file rather than writing it in every single page. You can refer to my link below that will help you gain an understanding of this redirection.
Answer 2:
The URL strictly follows your directory structure.
Answer 3:
The search engines will take some time to discover the 301, recognize it, and credit the new page with the rankings and trust of its predecessor. This process can be lengthier if search engine spiders rarely visit the given web page, or if the new URL doesn't properly resolve.
You may refer to the link below to gain a better understanding about the 301 redirection.
how to 301 redirect
There has been a question made towards me recently to do the following:
We have a website with Drupal running in IIS.
On that site is an URL Redirect to a website hosted externally, obviously with a name completely irrelevant to the name of our company.
The question now is the following;
They want to change to URL to a subdomain of our website. Example: from "www.external-site.com" to "www.sub.internal.com" (while still showing content of the external website)
They want the current page of that website to be reflected in the URL bar. So it wouldn't say "www.sub.internal.com", but it would say "www.sub.internal.com/solutions/page1.html" (instead of "www.external-site.com/solutions/page1.html")
It's possible that I forgot another 'condition' but have mentioned before this.
So, if someone visits through our URL Redirect to External-website, it needs to show our subdomain instead of their domain in the URL, AND it needs to show the current page when people start browsing while still using our subdomain in the URL.
Now, I checked the external-website, and it seems that most of the links available are relative links (if this would be any useful information).
Currently, the external website is hosted externally, and will remain to be so for next few years. (I believe we bought the company)
I have been asking around and looking up, and the best possible thing seems to use domain forwarding, but even then it still doesn't seem to comply with the entirety that they asked of me.
I am but a 'simple' .NET programmer, held responsible to do support for anything involving the websites, and I can't say I have extended knowledge about infrastructure. (But I can ask people to do this for me)
Is there anything that could solve this?
Thanks so much!
IIS's URL rewite and Application Request Routing (ARR) combo can help you what you want to achive. Here are few links which may guide you to configure ARR. Please note that these links dont exibit exact solution to your problem however you can take clue from it and fabricate your solution accordingly.
http://www.iis.net/learn/extensions/url-rewrite-module/reverse-proxy-with-url-rewrite-v2-and-application-request-routing
http://www.iis.net/learn/extensions/url-rewrite-module/reverse-proxy-rule-template
It sounds like you'll want to use a full-page iframe: do not redirect but show a page with an "inner page" instead: that inner page is the external web site. That way, users do not see the external site in their URL bar.
http://webdesign.about.com/od/iframes/a/aaiframe.htm
You need to configure the equivalent of Apache Virtual Host with Reverse Proxy on IIS.
See this answers:
https://serverfault.com/a/271030
and
https://stackoverflow.com/a/10003306/2131693
After upgrading our website, many old links that people have in blogs, etc. are now going to our 404 error page.
An example is: (using h#p b/c I'm a new user and can't post links)
h#p://www.site.com/pressreleases/some_release.html
h#p://www.site.com/pressreleases/another_release.html
These items are now part of a db-driven site and would be live here:
h#p://www.site.com/pressreleases/details.php?id=1
h#p://www.site.com/pressreleases/details.php?id=2
How can I set up the 301 to redirect
h#p://www.site.com/pressreleases/some_release.html
to
h#p://www.site.com/pressreleases/details.php?id=1,
and
h#p://www.site.com/pressreleases/another_release.html
to
h#p://www.site.com/pressreleases/details.php?id=2?
Thanks
Compose a .htaccess file in the pressreleases directory and specify the following:
Redirect 301 some_release.html details.php?id=1
If you would like to redirect using regular expressions, use mod_rewrite as explained here.
There are various options listed on this page.
If you have a lot of these URLs, and assuming you have access to the Apache config, consider creating a "redirects.inc" file in /etc/apache2 (or anywhere really) and then adding "include /etc/apache2/redirects.inc" to your virtual host. That way you have one place to add/update your redirects.