techcone Posted September 20, 2010 Share Posted September 20, 2010 My htaccess Options +FollowSymlinks RewriteEngine on RewriteRule ^apps/apps/([a-z0-9.]+)/ http://www.abc.com/xyz/index.php?userhash=$1 This is upload on domain http://www.xyz.com/ Now when I am trying to access http://www.xyz.com/apps/apps/ajshdkshad/, it is redirecting (301 and 302) me to http://www.abc.com/xyz/index.php?userhash=ajshdkshad I dont want redirect, I want htaccess to silently access the url from background. Is this possible at all ? Link to comment https://forums.phpfreaks.com/topic/213949-no-redirect-for-this-htaccess/ Share on other sites More sharing options...
cags Posted September 21, 2010 Share Posted September 21, 2010 No. You cannot mask an address change to a different domain, only to files on the same server. Link to comment https://forums.phpfreaks.com/topic/213949-no-redirect-for-this-htaccess/#findComment-1113596 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.