互联网 原创 工具&方法 随笔 ·

老五在线短网址生成及.htaccess实现子域名重定向

因为自己有需要,所以搭建了一个短网址生成工具站点,并且通过.htaccess实现了重定向到子目录,让路径变得更短;另外,在生成短网址的基础上,还生成了对应的二维码,可以保存或者分享给别人...

先来个地址https://dwz.itlao5.com

效果图

子域名重定向

由于主站点是我的博客站,所以新增了dwz.itlao5.com的子域名,而其对应的站点文件都是放在子目录中,所以使用了htaccess来进行重定向。相关代码如下:

即:将dwz.itlao5.com指向wp/dwz目录下

相关地址

IT老五短网址生成:https://dwz.itlao5.com

IT老五博客站:https://itlao5.com

老五VIP影院:https://itlao5.com/wp/video

博客:  IT老五    简书:ThinkinLiu

IT老五(it-lao5):关注公众号,一起源创,一起学习!

参与评论

  • TerryAnnek

    Very interesting to read you
    Good luck to you

    2月前 (09-21)
    回复
    回复TerryAnnek
  • Timothyalelm

    Хиты этого года

    3月前 (08-18)
    回复
    回复Timothyalelm
  • Jamesstirl

    Hello. And Bye.

    4月前 (07-27)
    回复
    回复Jamesstirl
  • Adamhot

    Improve your skill of solving algorithmic problems

    https://codingzone.io/

    5月前 (07-03)
    回复
    回复Adamhot
  • Geraldcexia

    The Airport Taxi

    Our professional guarantee - to give you with the most reputable VIP travel experience in Southern Ontario - guides everything we do and is the keystone of the our company brand. Now travel in luxury and comfort with Airport Limo Link’s luxury fleet in Brantford to and from Toronto Pearson International Airport (YYZ). Once known as a bit boring, the city is now all about big business, multiculturalism and a buzzing nightlife. TORONTO -- At least six taxi and limo drivers working out of Toronto Pearson International Airport have now died after testing positive for COVID-19, a union representative confirms. Go Transit buses run from Terminal 2 to north Toronto. Pearson International Airport is 27km north west of Toronto. Mission of limo service in Toronto is to provide the best service that is riches to your money. Instead of dealing with hassles like finding a parking spot you get front door service to the airport. Taxis are available 24/7 at the Toronto airport, so you shouldn't have any problem finding one, even if you have an extra early or late flight. Most bus limousines in Toronto have leather couches, which makes the interior cozy and accommodates the young, the middle aged and the aged just fine.

    5月前 (07-02)
    回复
    回复Geraldcexia
  • MauroAnype

    Hello. Everybody.I'm a new user in this forum.

    5月前 (06-25)
    回复
    回复MauroAnype
  • Martindut

    It is very nice to read your site, thank you very much for your work, it's great!

    5月前 (06-24)
    回复
    回复Martindut
  • Angelton

    It is very nice to read your site, thank you very much for your work, it's great!

    5月前 (06-19)
    回复
    回复Angelton
  • mvhnwzo

    etisalat elife home internet plans/packages

    6月前 (06-04)
    回复
    回复mvhnwzo
  • MatthewDuede

    [b][/b]

    6月前 (06-01)
    回复
    回复MatthewDuede
  • 格子老师

    格子老师家访!!

    9月前 (02-24)
    回复
    回复格子老师
  • Boobiesrew

    XRumer19.0+XEvil4.0:解决任何验证码的新创新方案

    1. 强大的Neuronetworks:XEvil OCR可以解决超过12000种不同类型的验证码,
    包括这样的流行,像谷歌ReCaptcha v2,v3(在XEvil4.0超只!),CaptchaCom,SolveMedia,Bing-Captcha,
    Facebook的-验证码和Ucoz-验证码,Yandex的-验证码,DLE-验证码,VBulletin-验证码,和很多其他类型的!

    2. 非常高的速度和精度:识别速度0.01。. 每个图像的0.02秒(但在演示版本中只有1秒!),
    XEvil可以高精度绕过和解决广泛类型的验证码,
    不依赖于困难,失真,噪音,字体,颜色。

    例外的是谷歌ReCaptcha-2,每个解决方案约20-30秒:
    在ReCaptcha-2需要点击很多图像里面有一个特殊的延迟。

    3. 非常简单的用户界面:只需3个主要按钮即可开始识别,
    因此,它很容易与搜索引擎优化,SMM,分析,大规模自动注册,发布,大规模发送,解析,加密货币挖掘程序的广泛的幽灵程序使用。

    有兴趣?? ;)
    只需在google"XEvil For Free"中进行搜索即可。
    免费试用版可用!

    感谢您的关注! ;)

    9月前 (02-22)
    回复
    回复Boobiesrew
  • maobook.cn

    我的HTTPS后,网页就不正常了,该怎么改

    8月前 (03-15)
    回复
    回复maobook.cn
  • 博客大全

    博客大全特邀站长前来入住!!!!http://www.bokedaquan.net/

    9月前 (02-21)
    回复
    回复博客大全
  • Thinkin

    (:good:) 这个不错

    9月前 (02-22)
    回复
    回复Thinkin
  • 外星人源码商城

    要是域名能短一点就好了

    9月前 (02-16)
    回复
  • Thinkin

    短域名申请不到啊 :-D 不过相对于那种上百个字符的网址来说,这个已经很短了

    9月前 (02-22)
    回复
    回复Thinkin
  • Thinkin

    在线生成二维码,缩短url网址
    https://dwz.itlao5.com

    11月前 (01-09)
    回复
    回复Thinkin