Hi,
I have changed some of the structure on my server and dont want to let the
user/google know.
I used to host a page on subdomain.domain.com and now its on
domain.com/pages/one/index.php?page=value
currently my server is set to rewrite subdmain.domain.com to
domain.com/subdmain.
the current setting is as such:
RewriteEngine on
RewriteRule ^(.*/[^/.]+)$
http://%{HTTP_HOST}$1/ [R,L]
RewriteCond %{HTTP_HOST} !^www.domain.com$ [NC]
RewriteCond %{HTTP_HOST} ^[^.]+.domain.com$ [NC]
RewriteRule ^(.+) %{HTTP_HOST}$1 [C]
RewriteRule ^([^.]+).domain.com(.*) /$1/$2
The issue is that I did not set this up. I dont want to ruin the setting,
but still add the feature described above to the current setting. I never
did this sort of settings, and I am quite confused about the manual in
apache about the rewrite engine.
How would the RewriteCond and the RewriteRule have to be in order to keep
the old environment and also implement the new rule?
thanks
Oliver