Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-10-18 15:28:21

johnboat
New Member
Registered: 2007-10-18
Posts: 6

Clean Urls with EngineHosting

Has anyone had success with clean urls with Engine Hosting (formerly pMachine Hosting I think)? Their support tells me .htaccess mod_rewrite is supported but I can’t get the default file to work. I also tried the version they use for ExpressionEngine but that did not work either.

I am using Txp 4.0.5 and it is installed in the root level of the site. It is a Linux server.

I am not very knowledgeable when it comes to .htaccess so I am not sure what to try next. Any suggestions would be appreciated.
Thanks
John

Offline

#2 2007-10-18 18:33:01

johnboat
New Member
Registered: 2007-10-18
Posts: 6

Re: Clean Urls with EngineHosting

Problem solved. I don’t know if I erred in my copy and paste somehow or if the server was having issues but I did get it to work. Here is the exact .htaccess I used:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) – [PT,L]

RewriteRule ^(.*) index.php

RewriteBase /

Offline

Board footer

Powered by FluxBB