• The default language of any content posted is English.
    Do not create multi-accounts, you will be blocked!

Gourl Short URL

magicweb

Member Suspended
banned
Messages
5
Reactions
24
This user BANNED from NullCave forum!
1694528919383.jpeg
SCRIPT REQUIREMENTS:

- PHP5+
- MySQL
- Mod-Rewrite enabled DEMO

-------------------------------------------------------------
-------------------------------------------------------------

Insert this code into your .htaccess file:

RewriteEngine On
RewriteCond %{REQUEST_URI} ^(.+)\!$
RewriteRule ^(.*) stats.php?url=$1 [L]
RewriteCond %{REQUEST_URI} ^(.+)\~s$
RewriteRule ^(.*) stats.php?url=$1 [L]
RewriteCond %{REQUEST_URI} !^(.+)\.html$
RewriteCond %{REQUEST_URI} !^(.+)\.htm$
RewriteCond %{REQUEST_URI} !^(.+)\.php$
RewriteCond %{REQUEST_URI} !^(.+)\.js$
RewriteCond %{REQUEST_URI} !^(.+)\.css$
RewriteCond %{REQUEST_URI} !^(.+)\.jpg$
RewriteCond %{REQUEST_URI} !^(.+)\.png$
RewriteCond %{REQUEST_URI} !^(.+)\.gif$
RewriteCond %{REQUEST_URI} !^(.+)\.swf$
RewriteCond %{REQUEST_URI} !^(.+)\.xml$
RewriteCond %{REQUEST_URI} !^(.+)\.ico$
RewriteCond %{REQUEST_URI} !^(.+)\.txt$
RewriteCond %{REQUEST_URI} !^index\.html$
RewriteCond %{REQUEST_URI} !^index\.php$
RewriteCond %{REQUEST_URI} !^/$
RewriteCond %{REQUEST_URI} !^(.+)/$
RewriteRule ^(.*) url_redirector.php?url=$1 [L]
RewriteRule ^(.*).html$ $1.php [L]
 

Attachments

  • Short-Url-Site-Script-v2.3-2.zip
    11.2 MB · Views: 37
Reacted by:
Dosnt work. Only gives a blank page on php 7.4 till 8.1. All above 8.1 gives an error.
 
Last edited:
Reacted by:
Top