I am running into a cosmetic and SEO problem here. I have the CouchCMS blog set up with pretty urls (which I've noticed redirects blog.php to blog/) via config.php and .htaccess. The code in my .htaccess, which removes .php from all the urls on my site, conflicts with the new code supplied by CouchCMS.
So far I have only been able to get my site working in one of two ways:
1) Hide .php from the end of all main pages but lose out on the SEO and cosmetic value of pretty urls
2) Show .php at the end of all main pages but get pretty urls
Neither of those two scenarios are going to be good for our current SEO strategy (all current links are point to urls without an extension). What I want is all the pages on my site outside of the blog to show without .php while the blog still displays pretty urls.
I have tried creating individual redirects for my pages in .htaccess (redirect /about.php http://www.mysite.com/about) but Couch's pretty url code won't allow them to redirect.
In a worst case scenario I'm going to have to ditch pretty urls because the aesthetics and SEO on my main pages is more important. However, I really don't want to display blog.php?ugly=url2 when they go to a blog article.
Has anyone found a way to modify their .htaccess to accommodate this?
So far I have only been able to get my site working in one of two ways:
1) Hide .php from the end of all main pages but lose out on the SEO and cosmetic value of pretty urls
2) Show .php at the end of all main pages but get pretty urls
Neither of those two scenarios are going to be good for our current SEO strategy (all current links are point to urls without an extension). What I want is all the pages on my site outside of the blog to show without .php while the blog still displays pretty urls.
I have tried creating individual redirects for my pages in .htaccess (redirect /about.php http://www.mysite.com/about) but Couch's pretty url code won't allow them to redirect.
In a worst case scenario I'm going to have to ditch pretty urls because the aesthetics and SEO on my main pages is more important. However, I really don't want to display blog.php?ugly=url2 when they go to a blog article.
Has anyone found a way to modify their .htaccess to accommodate this?