源码说明欢迎!我白天是个邮递员,晚上就是个有抱负的演员。这是我的网站。我住在天朝的帝都,有条叫做Jack的狗。
2k短链接网址php源码,前端设计简洁、优雅、加载速度快。前端可以创建URL、创建自定义URL、密码保护的链接、链接统计、暗色主题、小书签、复制和共享链接等功能。后端主要功能:删除网址、编辑网站设置、添加或编辑广告、分析、使用自定义CSS。

提供一个最简单的宝塔安装步骤
1.新建站点,同时添加数据库,如果需要ssl就直接先配置好ssl
2.上传源码到目录,解压
3.配置伪静态:
#Apache
编辑.htaccess文件,将本地地址修改成自己的域名,比如:
RewriteEngine on RewriteRule ^about about.php [L]RewriteRule ^api-about api-about.php [L]RewriteRule ^contact contact.php [L]RewriteRule ^tos tos.php [L]RewriteRule ^([^/.]+)/?$ link.php?id=$1 [L]RewriteRule ^404 404.php [L]Options -IndexesErrorDocument 404 https://自己的网址/404ErrorDocument 403 https://自己的网址/404
#Nginx
点击域名设置-伪静态,然后将下面例子的域名改成自己的,再复制进去,例子:
rewrite ^/about /about.php last;rewrite ^/api-about /api-about.php last;rewrite ^/contact /contact.php last;rewrite ^/tos /tos.php last;rewrite ^/([^/.]+)/?$ /link.php?id=$1 last;rewrite ^/404 /404.php last;error_page 404 https://自己的网址/404;error_page 403 https://自己的网址/404;
4.开始安装,由于伪静态问题,必须通过详细地址安装:
#安装路径,记得修改为自己的域名地址
https://自己的网址/install/index.html
#后台路径
https://自己的网址/admin/index.php
5.安装完成后,默认管理账号和密码是admin
