UrlShorting Save

A simple but powerful URL shortener

Project README

License GitHub stars GitHub forks GitHub last commit

需要注意

该项目暂时不再维护,我们将完全重构该项目,为了保证历史commit 以及 保证新项目的commit清晰, 我们准备在 https://github.com/soxft/UrlShorter 完成新的项目
如果您有任何新的建议, 可以在 /soxft/UrlShorter 提出issue 感谢支持

国内镜像地址

Gitee

Github发布地址

soxft essesoul

简介

一个url网址缩短平台.

demo:K6o短链接

安装方法

1.下载源码.
2.上传至你的网站根目录.
3.访问网站域名填写mysql等信息进行安装
4.修改网站伪静态配置:

Nginx:

    if (!-e $request_filename) {
    rewrite ^/(.*)$ /index.php?id=$1 last;
    }

Apache:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ /index.php?id=$1 [L]
    </IfModule>

IIS (仅供参考,未进行测试):

  <rule name="tool.apizl.com rewriteTools1" patternSyntax="ECMAScript" stopProcessing="true">
    <match url="^/(.*)" ignoreCase="false" />
    <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
    <action type="Rewrite" url="/index.php?id={R:1}" appendQueryString="false" />
  </rule>


5.访问网站进行确认.

版权

xcsoft版权所有 该源码依据apache2开源协议开源,请不要修改版权信息!

Secondary Developed By k6o.top

Contact us: [email protected]

更新

v2.2.3更新
此次更新由k6o短链接提供

email: [email protected]

1.更新了版本号获取方式,直接拉取GitHub的releases

2.修改了footer.php中的显示bug

3.版本号不再写入数据库和config.php,直接写在php变量中

4.更新footer和友链

5.优化了一下代码的缩进

PS:下次更新计划加上登陆页面验证码和统计代码

其他提示

由于某些原因,该源码仍然使用Mysqli连接数据库,可能缺乏一定的安全性,使用时请注意使用WAF等平台进行保护。 该项目目前由essesoul进行维护

Open Source Agenda is not affiliated with "UrlShorting" Project. README Source: soxft/UrlShorting
Stars
255
Open Issues
3
Last Commit
11 months ago
Repository
License

Open Source Agenda Badge

Open Source Agenda Rating