HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Short URLS and new Zones

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#110292 (In Topic #21979)

Non-joined user

Hi,

I haven't been using Ocportal for a while, now I wanted to add a new Zone to an existing Site. The Site has Shorturls enabled, and also have some custom Zones already.

Everything went good, but If I create new comcode pages and link them with the new Zone, they can't be found (404) even if they appear in the Sitetree etc. also the asigned Theme is not displayed.

I have then created a new Zone again, expecting I might have done something wrong, but it has similar Issues however i notices this message:

You are using the advanced “Use new style short URLs” option, which means you will need to change your .htaccess file after adding a new zone so that redirect rules match it.

I wonder, if thats the Issue for all my troubles? But im 98%+ certain that I didn't modify the htaccess manually when I added new Zones back in time and also I don't know what I should change at htaccess at all.

Hopefully you have some insight for me!
Back to the top
 
Posted
Rating:
#110294
Avatar

Community saint

Hi,

You will need to add references to additional zones into the .htaccess file. There are several existing lines which reference the default zones, forum, collaboration, cms, etc. Just append the names of any additional zones to those existing lines and all should be well. Zones only need the .htaccess references when using short URLs.
Back to the top
 
Posted
Rating:
#110296

Non-joined user

Thanks, that did the Job!
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: