I've read (I think) all of the posts regarding this but none seem to solve my problem. Here is what I can tell you:
1) Client is on shared hosting with GoDaddy (not helping I'm sure)
2) Without prettyurls everything is working fine.
3) I have 1 clonable template titled 'pages.php'
4) There is clearly a .htaccess file being generated (because the rewrite is happening after updating the config) but I don't know where. It is not being added to the file listing inside of /couch. I have one I have set up previously in the root of the site and it's still there unmodified. I tried using gen_htaccess.php (which for a while was returning a blank page) and ultimately got the output that looked reasonable. I copied the contents and created my own .htaccess in /couch/ which does show up in the file listings although this process of manually adding it didn't help.
5) As soon as I turn on prettyurls the rewrite kicks in but returns a 404 for each page I create in the admin. I'm following the link from the admin to "View" the page, I see it takes me to http://genesissalesevents.com/pages.php?p=13, rewrites the URL and returns a 404.
Here are the contents of my gen_htaccess.php if it helps but again, I can't guarantee this is actually what is being written to a true .htaccess file because I can't find it!
Thanks for any assistance you can give!
Todd
1) Client is on shared hosting with GoDaddy (not helping I'm sure)
2) Without prettyurls everything is working fine.
3) I have 1 clonable template titled 'pages.php'
4) There is clearly a .htaccess file being generated (because the rewrite is happening after updating the config) but I don't know where. It is not being added to the file listing inside of /couch. I have one I have set up previously in the root of the site and it's still there unmodified. I tried using gen_htaccess.php (which for a while was returning a blank page) and ultimately got the output that looked reasonable. I copied the contents and created my own .htaccess in /couch/ which does show up in the file listings although this process of manually adding it didn't help.
5) As soon as I turn on prettyurls the rewrite kicks in but returns a 404 for each page I create in the admin. I'm following the link from the admin to "View" the page, I see it takes me to http://genesissalesevents.com/pages.php?p=13, rewrites the URL and returns a 404.
Here are the contents of my gen_htaccess.php if it helps but again, I can't guarantee this is actually what is being written to a true .htaccess file because I can't find it!
- Code: Select all
Options +Indexes +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]
#pages.php
RewriteRule ^pages$ "$0/" [R=301,L,QSA]
RewriteRule ^pages/$ pages.php [L,QSA]
RewriteRule ^pages/.*?([^\.\/]*)\.html$ pages.php?pname=$1 [L,QSA]
RewriteRule ^pages/([1-2]\d{3})/(?:(0[1-9]|1[0-2])/(?:(0[1-9]|1[0-9]|2[0-9]|3[0-1])/)?)?$ pages.php?d=$1$2$3 [L,QSA]
RewriteRule ^pages/[^\.]*?([^/\.]*)/$ pages.php?fname=$1 [L,QSA]
RewriteRule ^pages/[^\.]*?([^/\.]*)$ "$0/" [R=301,L,QSA]
</IfModule>
Thanks for any assistance you can give!
Todd