epifanio67
asked on
unable to rewrite/remap urls, any ideas why? (Apache 2.2)
Hello Experts,
I am having issues with my RewriteRules.... below are my server details:
Server version: Apache/2.2.26 (Unix)
Server built: Mar 4 2014 19:02:56
Cpanel::Easy::Apache v3.24.11 rev9999
mod_rewrite is enabled...
The rule below works... but it behaves as a redirect
My objective is to clean the url... I tried the below code but I doesn't work
any ideas what I am doing wrong?
any suggestions to test?
thanks for your help.
I am having issues with my RewriteRules.... below are my server details:
Server version: Apache/2.2.26 (Unix)
Server built: Mar 4 2014 19:02:56
Cpanel::Easy::Apache v3.24.11 rev9999
mod_rewrite is enabled...
The rule below works... but it behaves as a redirect
RewriteCond %{HTTP_HOST} ^example\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.example\.com$
RewriteRule ^/pictures$ "http\:\/\/www\.example\.com\/index\.php\?rt\=pictures" [R=301,L]
My objective is to clean the url... I tried the below code but I doesn't work
RewriteCond %{HTTP_HOST} ^example\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.example\.com$
RewriteRule ^/pictures$ index.php?rt=pictures [NC,L]
any ideas what I am doing wrong?
any suggestions to test?
thanks for your help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you hielo.... I appreciate the help...