Checklist 1 – Content of .htacces
$ more .htaccess
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /video
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/?$ index.php [L]
</IfModule>
<ifModule mod_headers.c>
Header set Access-Control-Allow-Origin: *
</ifModule>Code language: HTML, XML (xml)
Checklist 2 – Make sure admin user is created in database table vibe_users
Checklist 3 – Mcrypt must be installed
Checklist 4 – php -version
$ php -version
PHP 7.1.33 (cli) (built: Dec 17 2019 23:26:37) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.1.33, Copyright (c) 1Code language: JavaScript (javascript)
Checklist 5 – sql_mode is disable
To check whether strict mode is enabled or not run the below sql:
SHOW VARIABLES LIKE ‘sql_mode’;
Reference – https://stackoverflow.com/questions/40881773/how-to-turn-on-off-mysql-strict-mode-in-localhost-xampp
Checklist 6 – Remove a cache moderator\cache
Checklist 7 – Disable mod_security by adding following code in .htaccess
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
Code language: HTML, XML (xml)
Checklist 8 – edit vibe_options table with vibe_options
UPDATE `vibe_options` SET `option_value` = 'videos' WHERE `vibe_options`.`option_id` = 39;Code language: JavaScript (javascript)
Some Suggestions
- Open the admin, go to Settings -> Permalinks section and set tv in the base path field.
- Open the main .htaccess file and change RewriteRule from / to /tv
- Open vibe_config.php and change the site_url field to the new link of the site.
Last Solutions for sub directory
If you can't open the admin panel, open index.php and find
if(!nullval(get_option('SiteBasePath',null))) {
$router->setBasePath('/'.get_option('SiteBasePath'));
}
Replace it with
$router->setBasePath('/videos');Code language: PHP (php)I’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms.
I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services โ all in one place.
Explore Hospitals