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/article
(..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").
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.
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
Code:
<FilesMatch "^article$">
ForceType application/x-httpd-php
</FilesMatch>
Then I tried to load my file www.fysikmester.x10hosting.com/article.php as www.fysikmester.x10hosting.com/article
(..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):
Code:
<FilesMatch "^article$">
ForceType application/x-httpd-phpv1
</FilesMatch>
Then add a page called article (example) without any extention (ex. ".php").
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.
Last edited: