XF 2.2 Deploying XF in root of a subdomain?

lobanz

New member
Newbie question.

I want XF to live off the root of a subdomain like forum.mydomain.com/ instead of a URI like www.mydomain.com/forum/. My environments are all in one big area in nested dirs hooked together by .htaccess files:

├── mydomain.com
│ └── www.mydomain.com
│ ├── forum.mydomain.com
│ ├── testing.mydomain.com
│ │ ├── forum.testing.mydomain.com
│ │ └── www.testing.mydomain.com


So there is a and a that I'm working with now locally in dev VM (via /etc/host mods).

BUT the URLs XF is generating are like:
All is well in the browser address bar, but If anyone looks at the links, they give away my dir structure, which I don't like.

Can anyone suggest a way of deploying XF in a subdomain so it uses the right URLs instead of the long file system directory paths?

Perhaps I should just put it in /forum and make the subdomain redirect to the forum URI.

Thanks!
 
Why do the test and dev installations need to nest?

Can't you just do e.g. test.domain.com, dev.domain.com, or domain.com/test, domain.com/dev ?
 
Why do the test and dev installations need to nest?

Can't you just do e.g. test.domain.com, dev.domain.com, or domain.com/test, domain.com/dev ?

Well, don't recon they do. Was nesting them because I have other domains too. But I guess they can be flat. Will ponder that.
 
Back
Top Bottom