XF 2.0 Moving From Root to Subdirectory

KensonPlays

Well-known member
I plan on getting the new Xpress bridge plugin, and moving Xenforo to the /community/ directory. What would be the recommended way of doing this with minimal downtime? So that way I can move the Wordpress install from blog.kensonplays.com to the root?
 
Thanks. Is it possible to have the forum on /community/ -- but keep the Media Gallery at /media/ without it being /community/media/ ?
No. I guess a redirect could be set so that you could type yoursite.com/media/ to get to the gallery but when you arrive it would show yoursite.com/community/media/

Route filters only change the route portion of the URL.

https://xenforo.com/xf2-docs/manual/route-filters/
 
Okay so I followed the tutorial exactly as shown in the FAQ, @Martok -- But I can't access the site at all now. Neither can WordPress be accessed. It's completely broken. 500 Error on Wordpress (now on Root), and some PHP exception for /community/
 
@KensonPlays - XF and WordPress will each have their own .htaccess files to deal with friendly URLs, did you move them both to their new locations?

Also WordPress has its own process when moving locations:
https://codex.wordpress.org/Moving_WordPress#Moving_Directories_On_Your_Existing_Server
Which is exactly what I did. I followed the recommended steps from each softwares steps.

The .htaccess was lost for xenforo, it looks like. Just copy the one from a fresh install over for each software?
 
Something must have changed on your server configuration.

We can't even access static PHP files on your server, for example this URL on XenForo 2 should always work:
https://xenforo.com/community/css.php

On yours we still get a 500 error:
http://kensonplays.com/css.php
https://kensonplays.com/css.php

This leads me to believe you have a redirect or misconfiguration issue for your hosting account.

Are you or your host using any proxies on the server? Are you using loudflare? Do you have any other page rules, subdomains or redirects setup on that?

I would suggest raising a support ticket with your host..
 
Something must have changed on your server configuration.

We can't even access static PHP files on your server, for example this URL on XenForo 2 should always work:
https://xenforo.com/community/css.php

On yours we still get a 500 error:
http://kensonplays.com/css.php
https://kensonplays.com/css.php

This leads me to believe you have a redirect or misconfiguration issue for your hosting account.

Are you or your host using any proxies on the server? Are you using loudflare? Do you have any other page rules, subdomains or redirects setup on that?

I would suggest raising a support ticket with your host..

I have one subdomain, link.kensonplays.com which I use kind of like a branded URL sharer.

I do not use Cloudflare. I do have Redis though.
 
Back
Top Bottom