Hey JayStang or any one else I trying to do the same thing
Code:
Basically i run a CMS so all of my sites are dynamic. The way i use to do everything was just passing url variables... example... index.php?page=about
my example is a bit different
/index.php?section=About Us&subsection=Web Philosophy
which shows up as
index.php?section=About%20Us&subsection=Web%20Philosophy
I tried to set things up to use mod-rewrite the other day couldn't get it to work. I created a .htaccess file uploaded to httpdocs folder (here's what I put in the file
PHP Code:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^home/?$ /index.php?section=Home&subsection=Home [L]
RewriteRule ^home/site-map/?$ /index.php?section=Home&subsection=Site%20Map [L]
RewriteRule ^about-us/?$ /index.php?section=About%20Us&subsection=About%20Us [L]
RewriteRule ^about-us/web-philosophy/?$ /index.php?section=About%20Us&subsection=Web%20Philosophy [L]
RewriteRule ^about-us/whats-a-sms/?$ /index.php?section=About%20Us&subsection=Whats%20an%20SMS [L]
RewriteRule ^about-us/blog/?$ /index.php?section=About%20Us&subsection=Blog [L]
any one see anything wrong with how i set it up, I did read some place that mod-rewrite has to be enabled so that may be the problem waiting on a call back from host. Is there any way for me to check to see if mod-rewrite is enabled (kind of like a phpinfo() command or anything)?