redirects displaying root_path
Posted: Tue Jul 12, 2011 3:31 pm
I have a series of redirects specified in my .htaccess file.
RewriteRule ^education-center.htm$ financial-fitness-center [R=301,L]
so to test it by pasting in
http://myurl/education-center.htm
I get redirected to:
http://myurl/home/consumer/public_html/ ... ess-center
(which works, but isn't what I want the url to look like)
instead of
http://myurl/financial-fitness-center
(which is what i want the url to look like)
my config.php file has
$config['root_path'] = '/home/consumer/public_html/';
how do I get this to not show up in the url?
RewriteRule ^education-center.htm$ financial-fitness-center [R=301,L]
so to test it by pasting in
http://myurl/education-center.htm
I get redirected to:
http://myurl/home/consumer/public_html/ ... ess-center
(which works, but isn't what I want the url to look like)
instead of
http://myurl/financial-fitness-center
(which is what i want the url to look like)
my config.php file has
$config['root_path'] = '/home/consumer/public_html/';
how do I get this to not show up in the url?