That requires the server to be rewriting URLs. Nothing in the vb_importer installation does this. Rereading the importer notes again, under the section where additional steps are needed if you're installed a different location it mentions additional configuration if you're not using Apache (I'm using nginx). I'm guessing those additional steps are necessary even if you are at the same location, otherwise there's no URL rewriting going on, and checking the file structure no vb "replacement" files have been installed by the importer, so it must rely on rewrites.
That requires the server to be rewriting URLs. Nothing in the vb_importer installation does this. Rereading the importer notes again, under the section where additional steps are needed if you're installed a different location it mentions additional configuration if you're not using Apache (I'm using nginx). I'm guessing those additional steps are necessary even if you are at the same location, otherwise there's no URL rewriting going on, and checking the file structure no vb "replacement" files have been installed by the importer, so it must rely on rewrites.
That's probably it, you not being in Apache. It works for us, and the only htaccess rewrite is the default htaccess that comes with the installation. Nothing special is manually done or added.
After a successful migration from vbulletin to Xenforo Cloud this week (thanks, Paul!), are there any Cloud specific instructions for setting up redirects? I tried the instructions xenforo-redirects-for-vbulletin but it looks like it requires server side file updates.
I've had two instances for my blogs addon where due to my route selections whenever someone has both this addon and mine installed where they are unable to create different entities/etc.
Is there something I can do in my addon to make it so admins don't have to create a route filter to get my addon to work properly (besides changing the routes up which I already plan on doing for a huge x.X.x release or 2.0.0)?
Hi
The site used to reside in the /forums folder, after the conversion & the home page/cms change as xenforo dont have one out the box. The site now resides in the main public_html directory.
It does work on a non-friendly url but I have only found a few of those from years ago that was created before friendly urls were enabled. I have edited the SourceLocation index file as described and set the import table correctly.
I will confirm that this would work if the site was not in a different directory.
And I have a solution for anyone using nginx and NOT on shared hosting. You need access to the main nginx config file at /etc/nginx/nginx.conf. If you put the first part in a shared hosting like cpanel or ISP Config you will get an error that says "Server directives are not allowed here"
SEO friendly URLs are also a requirement for this.
Put this inside the http block of /etc/nginx/nginx.conf
Code:
map $args $xf_id {
~^(\d+)-(.+)$ $2.$1;
}
This part you can include in a Directives block inside CPanel or ISPConfig. If you have other php files you want to redirect just change the name of the file and the XenForo folder you want to direct it to.
Note that the /forums piece in the code below is where my install was located. So it looked like www.example.com/forums