Good afternoon all!
Today I'm trying to use pretty urls and htaccess to do some rewritting
I have a the site configured like this:
portalsite.com/sd/PRETTYURLOFARTIST
And i'm trying to use mod_rewrite to make "artist.portalsite.com" show the contents of "portalsite.com/sd/PRETTYURLOFARTIST"
I already can make the redirect using:
The thing is, that the fname "function" (or whatever it is) is making a visible redirect to "artist.portalsite.com/sd/PRETTYURLOFARTIST" instead of just letting alone "artist.portalsite.com".
There is any way i could make this invisible redirect happen without having to rely on mod_proxy?
Today I'm trying to use pretty urls and htaccess to do some rewritting
I have a the site configured like this:
portalsite.com/sd/PRETTYURLOFARTIST
And i'm trying to use mod_rewrite to make "artist.portalsite.com" show the contents of "portalsite.com/sd/PRETTYURLOFARTIST"
I already can make the redirect using:
- Code: Select all
RewriteCond %{HTTP_HOST} ^(.*)\.portalsite\.com$
RewriteRule ^(.*)$ /sd/index.php?fname=%1 [L]
The thing is, that the fname "function" (or whatever it is) is making a visible redirect to "artist.portalsite.com/sd/PRETTYURLOFARTIST" instead of just letting alone "artist.portalsite.com".
There is any way i could make this invisible redirect happen without having to rely on mod_proxy?