Clones (depraced!) > Short Url Redirection
Short Url RedirectionDate: 6 October 2009 | Posted by: ibrahym |
|
Step 1. ************************************************************************ Upload the files to your host. **Its Important** that the .htaccess file is allways placed in the root folder, Even if you place the main files in a subfolder, unless you want to offer redirection from a sub-folder yourdomain.com/sub-folder/shorturl. Example: /.htaccess /config.php /create.php /create_template.php /go.php /index.html /admin/ Or /.htaccess /subfolder/config.php /subfolder/create.php /subfolder/create_template.php /subfolder/go.php /subfolder/index.html /subfolder/admin/ If you install it to a subfolder you have to edit the .htaccess file. The line: "RewriteRule ^([a-zA-Z0-9]+)/?$ /go.php?id=$1 [L]" To "RewriteRule ^([a-zA-Z0-9]+)/?$ /subfolder/go.php?id=$1 [L]" ************************************************************************ Step 2. ************************************************************************ Open up config.php Edit the lines with the correct information for your Domain Name and Mysql info, and admin username and password. **Its Important** that you only specify the domain name, Even if you place the main files in a subfolder, unless you want to offer redirection from a sub-folder yourdomain.com/sub-folder/shorturl. ************************************************************************ Step 3. ************************************************************************ Run install.php it will create the tables, Remember to delete install.php when its finished. ************************************************************************ Features: Open link in frames. ************************************************************************ In the config.php you can enable, to open links in frames so you can display ads on top, or other things. To edit the top frame open up frame.php ************************************************************************ Admin Panel: ************************************************************************ To login, point your browser to http://www.yourdomain.com/admin/login.php Here you can Add / Edit / Delete urls. ************************************************************************ Thats it! Point your browser to index.html and give it a go. ************************************************************************ Templates: ************************************************************************ If you have created a template and you wish to share it with other users please contact us on service@zeak.net and we will upload it to our site. ************************************************************************ Bugs: If you have problems with mod_rewrite/.htaccess and get internal server errors please contact us via service@zeak.net and we will help you with the problem. See full article |