Skip to content
WJunction - Webmaster Forum

.htaccess question

Status
Not open for further replies.

Divvy

Experienced Member
806
2009
18
Hello,

I'm using this code at .htaccess file:
Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

With this code, when someone access my website through domain.com they will will redirect automatically to www.domain.com

But now I need to disable this in a specific folder only...
Can someone help me doing that? :-)

Thanks!

---------- Post added at 06:30 PM ---------- Previous post was at 05:55 PM ----------

Solved!

Solution:
create .htaccess file in crtr directory with
RewriteEngine Off
inside
 

1 comment

Status
Not open for further replies.

About the author

D
Experienced Member · Joined
806
Messages
18
Reactions
18
Points
Grow your business

Advertise on WJunction

Connect with an established international community of webmasters, hosting providers, developers and online entrepreneurs.

  • Premium & Premium+ Sticky
  • Dedicated section banners
  • Site-wide banner advertising
Explore advertising options
Back
Top Bottom