premium url shortener
Installation
Using the Web InstallerVideo Tutorial
- Upload and extract "main.zip" to your server
- Point your browser to http://yoursite.com
- The new document root is the
/publicfolder so we highly recommend to change the document root for your domain to/publicif possible otherwise we have added a .htaccess file to direct all traffic to the/publicfolder however on some servers it might not work. If you don't see the installer or you receive 404 errors, you will need to change your document path for your domain to make sure/publicis the final folder. - Follow the step by step instructions
- Login as admin using the credentials you set at step 3
- Click on "Admin Panel" button at the top and go to settings to configure the application.
Admin > settings > Advanced Settings >
If you have additional domains and you want to prevent people from using the root domain to shorten, disable this.
disable this
Go to Admin > Advanced Settings > Enable Multiple Domains > add domain in the field like https://url24.top and save. It will be selected as default. If you want to prevent users from using your main domain, you can disable Shorten with maindomain.com
upon checking on https://www.redirect-checker.org/ I found that you are using 301 for redirection can you please tell me I want to use 302 for all redirection and not 301, let me know even if I need to change PHP files I have no issues.
Thanks
Child Themes
You can now create child themes very easily without worrying about updates. You can now change only what you want and Premium URL Shortener will fallback on the default theme for other components which will always be up-to-date. The steps are very simple:
- Copy or clone the default theme located in storage/themes/
- Open the file config.json located in the new copy of the theme
- Find
"child":false,and change that to"child":true, - Browse to the new directory and delete everything you don't want to change, except config.json. For example if you only want to change the homepage, delete everything but index.php and config.json.
- Go to the admin panel themes and activate the new Child Theme and voila.
- Now you can make any changes you want and it will always be there.
Do not delete the default theme from Premium URL Shortener! This will be used as fallback.
Google conversion tag added on top
google tag should be on every page
/home/urlshortener.top/public_html/storage/themes/bum/user
index.php
URL will be the final URL where purchase or sign completed like thank you page
/home/urlshortener.top/public_html/storage/themes/bum/index.php
also added in register.php(as tag should be on every page)
/home/urlshortener.top/public_html/storage/themes/bum/auth
register.php
Change 301 to 302 redirect
root@vmi728455:/home/urlshortener.top/public_html# egrep -Rw * -e "301"
app/helpers/Gate.php: return (new Response(null, 301, ['location' => $url->url]))->send();
app/controllers/HomeController.php: return Helper::redirect(null, 301)->to(config('home_redir'));
Binary file codecanyon-4ymtnS1m-premium-url-shortener.zip matches
core/Helper.class.php: case '301':
core/Helper.class.php: header('HTTP/1.1 301 Moved Permanently');
admin/settings/users
If enabled, users will be required to create an account before being able to shorten a URL.
Enable Google Login
Application type : URLshortner.top
Authorized redirect URLs:
Please use the link above as the authorized callback URL.
sign in with google to register URL https://urlshortener.top/user/register
added this code on in resgister.php from /home/urlshortener.top/public_html/storage/themes/bum/auth/login.php
after this line
<div class="col-md-8 col-lg-5 pt-6">
<?php if(config('gl_connect')): ?>
<div class="col-sm-12 mb-2">
<a href="<?php echo route('login.google') ?>" class="btn btn-block btn-neutral btn-icon mb-3 mb-sm-0">
<span class="btn-inner--icon"><img src="<?php echo assets('images/google.svg') ?>" alt="<?php echo e("Sign in with") ?> Google"></span>
<span class="btn-inner--text"><?php echo e("Sign in with") ?> Google</span>
</a>
</div>
<?php endif ?>
<center><h1> OR </h1></center>
1. Fixed meta and title for all URLs (in DB with the name URL stores meta title and descriptions I want to fix it to something else)
2. I have added many other domains and I want to show all other domains on the homepage for all users
3. Allow indexing of all pages getting error on search console that indexing is blocked by robots.txt I do not get any robots.txt file
Crawl allowed? info No: blocked by robots.txt
Page fetch info Failed: Blocked by robots.txt
4. How to change domain after migration
Thanks a lot
from PHP my admin go to urlshort_db > settings> change row to 500 > URL> change it
sitemap onley showing 50 URLs
you are asking a great question and the answer is yes, links that are offered from URL shortener services build DA.
Think of those links as 301s. When you use http://bit.ly/xyz that URL is 301'd to the actual web address. As with all 301s, you do lose a bit of link juice due to the 301, but 90%+ of the value will remain.
so use 302 to see backlinks in google search console
paypal donate button
added in themes
/home/urlshort.in/public_html/storage/themes/
index.php
just before section tag <section class="slice slice-lg bg-section-secondary">
<div class="paypal-donate">
<div class="container" style="text-align: center; background-color: #CBD8C8;">
<div style="" class="text"><b>Please, donate whatever you can to support urlshort.in</b></div>
<div style="padding-bottom: 15px; font-style: italic; font-size: 14px" class="text">*No PayPal account required</div>
<form action="https://paypal.me/bumkailashkumar" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="">
<input style="border: 0;" class="paypal-btn" type="image" src="https://urlshort.in/static/images/paypal.jpg" name="submit" alt="PayPal - The safer, easier way to pay online!">
<input class="paypal-btn-mobile" type="image" src="https://urlshort.in/static/images/paypal.png" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img style="border: 0;" alt="" src="https://www.paypalobjects.com/pl_PL/i/scr/pixel.gif" width="1" height="1" uk87n874s="">
<!--<img style="display: inline" src="/gfx/donate.gif"/>-->
</form>
<progress style="width: 240px" max="500" title="Current: 14$" value="14"></progress>
<div style="font-size: 10px; font-style: italic;" class="text">Monthly progress (14/500$)</div>
<div style="font-style: italic; padding-top: 15px;" class="text">Thank you so much!</div>
</div>
</div>
After migration
i just changed URIs 1 from older domain to newer one only and older user also able to login and working fine
2023-09-11 05:18:17.889351 [INFO] [868593] [172.71.250.58:60284-24#urlshortener.net.com.ai] [Module:mod_security]Log Message: [client 172.71.250.58] ModSecurity: Access denied with code 403 (phase 2). Matched "Operator `Ge' with parameter `5' against variable `TX:ANOMALY_SCORE' (Value: `5' ) [file "/usr/local/lsws/conf/modsec/owasp-modsecurity-crs-3.0-master/rules/REQUEST-949-BLOCKING-EVALUATION.conf"] [line "80"] [id "949110"] [rev ""] [msg "Inbound Anomaly Score Exceeded (Total Score: 5)"] [data ""] [severity "2"] [ver "OWASP_CRS/3.3.2"] [maturity "0"] [accuracy "0"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-generic"] [hostname "urlshortener.net.com.ai"] [uri "/user/login/google"] [unique_id "169440229768.021117"] [ref ""]
<LocationMatch /user/login/google >
SecRuleRemoveById 949110
</LocationMatch>
added in modsecurity rules



Comments
Post a Comment