I have problems with configuring my new site here at x10hosting to use Clean URL's.
I read the posts on the forum on this topic and none of the solutions worked for me.
What I have tried to do is to add the following lines to my /home/xxx/public_html/.htaccess file
Then I tried to load my file www.fysikmester.x10hosting.com/article.php as www.fysikmester.x10hosting.com/articleCode:<FilesMatch "^article$"> ForceType application/x-httpd-php </FilesMatch>
(..Shortened by myself)
I'm in dire need of help..
Thank you
SOLUTION:
add/edit a file named .htaccess in the same folder as your intended "Clean URL page".
Make it contain the following code (article example):
Then add a page called article (example) without any extention (ex. ".php").Code:<FilesMatch "^article$"> ForceType application/x-httpd-phpv1 </FilesMatch>
You can now access the article file as /article or /article/12345 or /article/anything you want. and the file article will be treated as an .php file (the beauty of it all).
Thank you xPlozion for a great alternate.


LinkBack URL
About LinkBacks
Reply With Quote

