Hi,
I've managed to get couch working and it's great. I have also managed to enable pretty urls with the cloneable templates which is great and it has all been very easy to plug into my existing, static, website.
Now I have a problem though
Having previously got basic pages up and running through the cms (one called Overseas.php) and then successfully enabling cloneable template and setting up the .htaccess etc, I'm now struggling to get rid of it.
This page Overseas.php I cannot get to display. I always get 404 UNLESS I change the filename to, say, Overseas10.php, then it works just fine! I have turned off pretty urls and here are my htaccess rules. I just cannot get this php page to display when it's called Overseas.php and it's very frustrating!!
I hope you can help me. I just cannot seem to get rid of couch's reference to Overseas.php.
Options +FollowSymlinks -MultiViews
<IfModule mod_rewrite.c>
RewriteEngine On
#If your website is installed in a subfolder, change the line below to reflect the path to the subfolder.
#e.g. for http://www.example.com/subdomain1/subdomain2/ make it RewriteBase /subdomain1/subdomain2
RewriteBase /
#If you wish to use a custom 404 page, place a file named 404.php in your website's root and uncomment the line below.
#If your website is installed in a subfolder, change the line below to reflect the path to the subfolder.
#e.g. for http://www.example.com/subdomain1/subdomain2/ make it ErrorDocument 404 /subdomain1/subdomain2/404.php
#ErrorDocument 404 /404.php
#If your site begins with 'www', uncomment the following two lines
#RewriteCond %{HTTP_HOST} !^www\.
#RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
#DO NOT EDIT BELOW THIS
RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule . - [L]
#Test.php
RewriteRule ^Test$ "$0/" [R=301,L,QSA]
RewriteRule ^Test/$ Test.php [L,QSA]
RewriteRule ^Test/.*?([^\.\/]*)\.html$ Test.php?pname=$1 [L,QSA]
RewriteRule ^Test/([1-2]\d{3})/(?:(0[1-9]|1[0-2])/(?:(0[1-9]|1[0-9]|2[0-9]|3[0-1])/)?)?$ Test.php?d=$1$2$3 [L,QSA]
RewriteRule ^Test/[^\.]*?([^/\.]*)/$ Test.php?fname=$1 [L,QSA]
RewriteRule ^Test/[^\.]*?([^/\.]*)$ "$0/" [R=301,L,QSA]
</IfModule>
Thanks
I've managed to get couch working and it's great. I have also managed to enable pretty urls with the cloneable templates which is great and it has all been very easy to plug into my existing, static, website.
Now I have a problem though

Having previously got basic pages up and running through the cms (one called Overseas.php) and then successfully enabling cloneable template and setting up the .htaccess etc, I'm now struggling to get rid of it.
This page Overseas.php I cannot get to display. I always get 404 UNLESS I change the filename to, say, Overseas10.php, then it works just fine! I have turned off pretty urls and here are my htaccess rules. I just cannot get this php page to display when it's called Overseas.php and it's very frustrating!!
I hope you can help me. I just cannot seem to get rid of couch's reference to Overseas.php.
Options +FollowSymlinks -MultiViews
<IfModule mod_rewrite.c>
RewriteEngine On
#If your website is installed in a subfolder, change the line below to reflect the path to the subfolder.
#e.g. for http://www.example.com/subdomain1/subdomain2/ make it RewriteBase /subdomain1/subdomain2
RewriteBase /
#If you wish to use a custom 404 page, place a file named 404.php in your website's root and uncomment the line below.
#If your website is installed in a subfolder, change the line below to reflect the path to the subfolder.
#e.g. for http://www.example.com/subdomain1/subdomain2/ make it ErrorDocument 404 /subdomain1/subdomain2/404.php
#ErrorDocument 404 /404.php
#If your site begins with 'www', uncomment the following two lines
#RewriteCond %{HTTP_HOST} !^www\.
#RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
#DO NOT EDIT BELOW THIS
RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule . - [L]
#Test.php
RewriteRule ^Test$ "$0/" [R=301,L,QSA]
RewriteRule ^Test/$ Test.php [L,QSA]
RewriteRule ^Test/.*?([^\.\/]*)\.html$ Test.php?pname=$1 [L,QSA]
RewriteRule ^Test/([1-2]\d{3})/(?:(0[1-9]|1[0-2])/(?:(0[1-9]|1[0-9]|2[0-9]|3[0-1])/)?)?$ Test.php?d=$1$2$3 [L,QSA]
RewriteRule ^Test/[^\.]*?([^/\.]*)/$ Test.php?fname=$1 [L,QSA]
RewriteRule ^Test/[^\.]*?([^/\.]*)$ "$0/" [R=301,L,QSA]
</IfModule>
Thanks