How can i add condition for a particular blog in .htaccess
logonchristy
0
Light Poster
Recommended Answers
Jump to PostThere is a special way of doing it and is totally different to the php if statement. But the way you do it varies depending on what the condition is. Could you tell us what you are trying to test/check/ifcheck.
Jump to Posthow to restrict if a particular url came , some of the condition that should not to execute...
So you want to check if the url is a specific location? Is that correct? Also I have found a nice tutorial for you at
Jump to PostRewriteCond %{REQUEST_URI} test/withregex/index\.php #something to do here
All 9 Replies
cwarn23
387
Occupation: Genius
Team Colleague
Featured Poster
logonchristy
0
Light Poster
logonchristy
0
Light Poster
cwarn23
387
Occupation: Genius
Team Colleague
Featured Poster
logonchristy
commented:
nice
+1
logonchristy
0
Light Poster
cwarn23
387
Occupation: Genius
Team Colleague
Featured Poster
logonchristy
0
Light Poster
logonchristy
0
Light Poster
cwarn23
387
Occupation: Genius
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.