2013-10-13, 08:32:13
Hi Benjamin,
My query relates to (a,b) and Issue (4) listed below.
An app I'm developing has its files in /my-app-directory.
With Coa structure and pretty URLs I've experienced it's a little more complicated than WordPress' subdirectory setup which gives me home page at http://localhost/ whilst files are in /my-site-directory.
a) What would the equivalent of Wordpress' ('./my-site-directory/wp-blog-header.php'); be in Coa, please?
b) How would I need to adapt Coa's index.php once I've copied it to root, please? IF it's the correct method, that is.
Some issues:
1) I need the transition from website to my application to be "seamless"
2) To achieve (1) I want the app to not be directly accessible in browsers, but only through a link via the website
3) To achieve (2), I might need special .htaccess deny rules in addition to my current anchor link...not sure
4) The Coa .htaccess I've tried to date either strips the sitename completely http://new-page.html/, and I'm left with http://localhost/\/ or this http://localhost/\/new-page.html
If both GS and my app are installed in their own subdirectories it works perfectly fine currently but site access is then limited to http://localhost/my-site-directory/%slug%.html
The permutations I've tried have been frustrating me. (regex is truly an art!)
I need an end result of:
http://localhost/ as home URL and various pages to render as
http://localhost/%slug%.html
http://localhost/my-app-directory/
Please assist. Greatly appreciated, thanks
My query relates to (a,b) and Issue (4) listed below.
An app I'm developing has its files in /my-app-directory.
With Coa structure and pretty URLs I've experienced it's a little more complicated than WordPress' subdirectory setup which gives me home page at http://localhost/ whilst files are in /my-site-directory.
a) What would the equivalent of Wordpress' ('./my-site-directory/wp-blog-header.php'); be in Coa, please?
b) How would I need to adapt Coa's index.php once I've copied it to root, please? IF it's the correct method, that is.
Some issues:
1) I need the transition from website to my application to be "seamless"
2) To achieve (1) I want the app to not be directly accessible in browsers, but only through a link via the website
3) To achieve (2), I might need special .htaccess deny rules in addition to my current anchor link...not sure
4) The Coa .htaccess I've tried to date either strips the sitename completely http://new-page.html/, and I'm left with http://localhost/\/ or this http://localhost/\/new-page.html
If both GS and my app are installed in their own subdirectories it works perfectly fine currently but site access is then limited to http://localhost/my-site-directory/%slug%.html
The permutations I've tried have been frustrating me. (regex is truly an art!)
I need an end result of:
http://localhost/ as home URL and various pages to render as
http://localhost/%slug%.html
http://localhost/my-app-directory/
Please assist. Greatly appreciated, thanks