Welcome Guest, Not a member yet? Register   Sign In
URL problem
#3

[eluser]sudinem[/eluser]
[quote author="dudeami0" date="1289831735"]
Code:
#Redirects image views to the correct area
RewriteCond %(REQUEST_URI} !^/blog.* [NC]
RewriteCond %{HTTP_HOST} ^blog\.ursite\.com [NC]
RewriteRule ^(.*)?$ /blog/$1 [L]

That could possibly work, but I am terrible with htaccess :S Anyways it would be placed above the
Code:
RewriteCond $1 !^(index\.php|images|css|js|robots\.txt|favicon\.ico)
or your current htaccess[/quote]

Thanx for ur reply dudeami0 but it doesn't work.

By modify .htaccess as per your view, every traffic of the site is send to blog. By this, when I type the url of my personal site,the traffic is send to my blog.

But the good news is I've solved my problem by adding .htaccess file at every folder of my sub-domain. Cheers !!!! ;-)


Messages In This Thread
URL problem - by El Forum - 11-15-2010, 02:28 AM
URL problem - by El Forum - 11-15-2010, 02:35 AM
URL problem - by El Forum - 11-15-2010, 03:36 AM
URL problem - by El Forum - 11-15-2010, 03:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB