I am using the htaccess mod rewrite engine for pretty urls and when you view the link destination it shows as http://www.site but when you click on the link it takes you to the page but the url is http://site .I am not sure where the root of the problem lies and I need it to obey the www to make use of pngfix.
The site is http://www.konatraveler.com
Please excuse, it is unfinished and I'm still working out the layout kinks.
Config is set to $config['root_url'] = 'http://www.konatraveler.com';
htaccess:
Code: Select all
Options +FollowSymLinks
#
<IfModule mod_rewrite.c>
RewriteEngine on
#
#Sub-dir e.g: /cmsms
RewriteBase /
#
# 301 Redirect all requests that don't contain a dot or trailing slash to
# include a trailing slash
RewriteCond %{REQUEST_URI} !/$
RewriteCond %{REQUEST_URI} !\.
RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]
# Rewrites urls in the form of /parent/child/
# but only rewrites if the requested URL is not a file or directory
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
</IfModule>
Alane