Jump to content

Multi instance questions


Jhin
 Share

Recommended Posts

Hello there!

First off, sorry about my english. Excuse me if you find any type of typo or my way to write seems weird.

 

I love processwire. I've using it for a long time but just right now in trying to go a little bit further.

I have a main domain where processwire is installed. From another subdomain where processwire is not installed, I'm trying to make a full custom website.

Everything works fine, using the Multi Instance tutorial I've been abble to load data and port user session from one instance to other.

But, I've got a problem. When I do the

<?php echo $site->page->url(); ?>

The output is /subdomain/page1url/ which is correct because my web hierarchy is

Home

- subdomain

- - page 1

- - page 2

But I would love make the url to be only /pageurl/. Can be this done? Should I hack .httacces or there is any other workaround to make this done?

Thanks for your support.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...