简体   繁体   中英

FiverrScript 404 error when visiting any page

I am using Fiverrscript v4.2 . I have installed it on my website in public_html and it worked great as the config.php file was

$config['basedir']     =  '/home/username/public_html/';
$config['baseurl']     =  'http://example.com/';

after that I have installed a test version on a directory in my website and made the config.php file :

$config['basedir']     =  '/home/username/public_html/home';
$config['baseurl']     =  'http://example.com/home';

Now when ever I visit any page on my website ( example : www.example.com/signup it show me a 404 error however the homepage is working great .

Can you help me please , thanks .

Well , I am just posting the answer because someone may need it .

The problem wasn't with PHP . it was with the .htaccess file there is a line called RewriteBase / Just change this line with your directory example RewriteBase /directory

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM