We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
XenForo Friendly URLs
-
- Posts: 2
- Joined: Tue Aug 14, 2018 2:19 am
- Os: Debian 8x
- Web: apache + nginx
XenForo Friendly URLs
Hi,
How would I go setting up friendly urls on an Xenforo forums with vesta cp and nginx?
I can't seem to figure out how to add the needed configuration to the current SSL nginx config generated by vesta.
This is what XF wants:
Please help! Thank you
How would I go setting up friendly urls on an Xenforo forums with vesta cp and nginx?
I can't seem to figure out how to add the needed configuration to the current SSL nginx config generated by vesta.
This is what XF wants:
Code: Select all
location /xf/ {
try_files $uri $uri/ /xf/index.php?$uri&$args;
index index.php index.html;
}
location /xf/install/data/ {
internal;
}
location /xf/install/templates/ {
internal;
}
location /xf/internal_data/ {
internal;
}
location /xf/library/ {
internal;
}
location ~ \.php$ {
try_files $uri =404;
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
Re: XenForo Friendly URLs
Check the template files in /usr/local/vesta/data/templates/web, there you can create your own templates and choose them on vesta web backend.
-
- Posts: 2
- Joined: Tue Aug 14, 2018 2:19 am
- Os: Debian 8x
- Web: apache + nginx
Re: XenForo Friendly URLs
Thanks for the reply, but that's not what I'm asking.
In order to have friendly urls with xenforo, I need to modify the nginx config for that domain.
The only issue is that I have the config generated by Vesta, and the one needed for xenforo.
I need to know how to put what is needed for xenforo into the one already made.
In order to have friendly urls with xenforo, I need to modify the nginx config for that domain.
The only issue is that I have the config generated by Vesta, and the one needed for xenforo.
I need to know how to put what is needed for xenforo into the one already made.
Re: XenForo Friendly URLs
yes it is a proper way to use a frienddly urls Configuring friendly URLstonymaster21 wrote: ↑Tue Aug 14, 2018 2:22 amHi,
How would I go setting up friendly urls on an Xenforo forums with vesta cp and nginx?
I can't seem to figure out how to add the needed configuration to the current SSL nginx config generated by vesta.
This is what XF wants:Please help! Thank youCode: Select all
location /xf/ { try_files $uri $uri/ /xf/index.php?$uri&$args; index index.php index.html; } location /xf/install/data/ { internal; } location /xf/install/templates/ { internal; } location /xf/internal_data/ { internal; } location /xf/library/ { internal; } location ~ \.php$ { try_files $uri =404; fastcgi_pass 127.0.0.1:9000; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; }
By default, XenForo does not enable friendly URLs due to the web server configuration requirements. To enable friendly URLs, log in to your admin control panel, and go to Options and then Search engine optimization (SEO). There are several options here which you may wish to configure:
Use full friendly URLs - Enabling this will change the structure of the URLs as mentioned at the beginning of this section. The requirements for this vary based on your web server and are discussed below.
Include content title in URLs - Disabling this option will make your URLs much shorter, but less friendly to humans as no keywords will be included in them. For example, with this option disabled, the example URL at the beginning of this section would become: http://www.example.com/threads/12345/ you need more infomation about xenforo ypu can visit the ** some google site - adv deleted**
Re: XenForo Friendly URLs
Configuring friendly URLstonymaster21 wrote: ↑Tue Aug 14, 2018 5:22 pmThanks for the reply, but that's not what I'm asking.
In order to have friendly urls with xenforo, I need to modify the nginx config for that domain.
The only issue is that I have the config generated by Vesta, and the one needed for xenforo.
I need to know how to put what is needed for xenforo into the one already made.
By default, XenForo does not enable friendly https://xenforo.asia/ due to the web server configuration requirements. To enable friendly URLs, log in to your admin control panel, and go to Options and then Search engine optimization (SEO). There are several options here which you may wish to configure:
Use full friendly URLs - Enabling this will change the structure of the URLs as mentioned at the beginning of this section. The requirements for this vary based on your web server and are discussed below.
Include content title in URLs - Disabling this option will make your URLs much shorter, but less friendly to humans as no keywords will be included in them. For example, with this option disabled, the example URL at the beginning of this section would become:
Re: XenForo Friendly URLs
Did you get this working? I'm stuck trying to figure out how I'm suppose to get full friendly URLs working on xenforo (I have nginx also)