Clean url's problem
Posted: Sat Feb 14, 2009 8:26 am
Hi,
I'm trying to create clean url's for a site I'm working on.
This is the first time I'm trying to use clean url's and got very confused.
It's working fine on my local machine where the url is: http://ruthrudindesigns.com/content/about
My files sturcture is:
c:\wamp\www\ruthrudindesigns\content\about.php
My local htaccess file looks like this:
RewriteEngine On
RewriteRule ^([a-z]+)/([a-z\-]+)$ /$1/$2.php [L]
But on my online testing server, I can't make it work, I get the error:
Error 404 Page Not Found
The requested URL /ruthrudindesigns/content/about was not found on this server.
The address there is: http://sigalz.co.za/ruthrudindesigns/content/about
The files structure:
/public_html/ruthrudindesigns/content/about.php
My online htaccess file looks like that:
RewriteEngine On
RewriteRule ^([a-z]+)/([a-z\-]+)/([a-z\-]+)$ /$1/$2/$3.php [L]
Can someone please help me with that?
What am I missing?
Thank you,
Cgull
I'm trying to create clean url's for a site I'm working on.
This is the first time I'm trying to use clean url's and got very confused.
It's working fine on my local machine where the url is: http://ruthrudindesigns.com/content/about
My files sturcture is:
c:\wamp\www\ruthrudindesigns\content\about.php
My local htaccess file looks like this:
RewriteEngine On
RewriteRule ^([a-z]+)/([a-z\-]+)$ /$1/$2.php [L]
But on my online testing server, I can't make it work, I get the error:
Error 404 Page Not Found
The requested URL /ruthrudindesigns/content/about was not found on this server.
The address there is: http://sigalz.co.za/ruthrudindesigns/content/about
The files structure:
/public_html/ruthrudindesigns/content/about.php
My online htaccess file looks like that:
RewriteEngine On
RewriteRule ^([a-z]+)/([a-z\-]+)/([a-z\-]+)$ /$1/$2/$3.php [L]
Can someone please help me with that?
What am I missing?
Thank you,
Cgull