Question Remove index.php from Forumroot

Status
Not open for further replies.

developr

Customer
PHP7.0 compatibility

Dear support,

in vBSEO I used the forumroot like example.com/, but DBSEO still redirect from example.com/ to example.com/index.php.

How could I solve this problem? I would like to use example.com/ as well.

I could not found the same question in this forum, sorry.

Thank you very much!
 
Last edited:
Hi there,

To resolve this, go to the DBSEO CP -> General Rewrite Settings -> Force Forum Directory Index: Yes :)
 
Of course I tried this setting, but it do not works.

Here is my nginx vhost.

Code:
 location / {
        index  index.html index.htm index.php;
        try_files $uri $uri/ /dbseo.php?$args;
        expires 30d;
    }

    location ~ ^((?!dbseo).)*\.php$ {
        rewrite ^/(.*)$ /dbseo.php?$args last;
    }


    location ~ \.php$ {
        include snippets/fastcgi-php.conf;
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_param PATH_TRANSLATED $document_root$fastcgi_script_name;
        fastcgi_pass backend;
    }
 
If your server is running Nginx then you will need to contact your server administrator for assistance, as we do not have the technical expertise required to analyse problems with Nginx configurations.

The Nginx ruleset we provide is community-provided, other members of the community shared configurations that worked for them.

Sorry I couldn't be of more help :(
 
It is working on this system:
nginx 1.8.1
php 5.3.29

Is is not working on this system:
nginx 1.9.3
php 7.0.4-5

Do you know if dbseo is ready for php7?
 
Now I installed nginx 1.9.12 on the machine with php5 and it works great.

So the problem is php7. Would you release a version which will work on php7?
 
DragonByte SEO is fully compatible with PHP 7, as my local development environment runs PHP 7 (albeit on Apache 2.4) :)

This problem is not related to DBSEO and PHP 7, I would recommend contacting your server administrator and asking them whether there have been any changes to the way Nginx parses config files from v1.8 to v1.9 - it's possible the example config our community provided was relying on old, deprecated behaviour that has been removed in Nginx v1.9.

If your server admin can manage to create a ruleset that works, we'd appreciate it if you were to post it here so we could include it as an alternative rule set with the release package :)
 
I have an own dedicated server. I tried nginx 1.9.12 with php5.3/5.6 and it works well. maybe it is a problem with vb4 and php7, not dbseo. if I disable dbseo forumroot will also redirect me to /index.php :-/.

To run VB4 on php7 I changed some files (howto). And after them I used php-cs-fix with level=none and fixers=php4_constructor.

Is this board running on php7?
 
No, this particular forum is running PHP 5.6, however my localhost is running PHP 7 (made to work using the exact same method you posted) :)

I'll probably upgrade this site to PHP 7 in the not too distant future, as it seems to be running very well on my localhost.
 
Hello developr,

This ticket has now been closed with the status Answered.

We hope your issue or question has been addressed to your satisfaction. If not, please feel free to re-open it by clicking this link.

If you have any further issues or questions, please feel free to start a new support ticket via the button at the top of every page.

Thank you!
 
Status
Not open for further replies.

Legacy DragonByte SEO

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
7,191
Customer rating
5.00 star(s) 1 ratings
Back
Top