Re: [Question] Using .htaccess to bypass certain pages?
Well, I figured out something else in the meantime. I wanted extra pages for my site which are in a subdirectory, but didn't want to have to type in "index.php" all the time. When I access the admin page, I noticed that we don't have to put in admin/index.php to go there, so I took a look at the .htaccess to find out why and this is what I found in it:
Code:
RewriteRule ^admin$ - [L]
RewriteRule ^admin/(.*) - [L]
Now that I have a subdirectory in my vshare, all I have to do is put
Code:
RewriteRule ^share$ - [L]
RewriteRule ^share/(.*) - [L]
and it goes to the share pages without having to put in "index.php" each time. :D Works GREAT for my "contact" page which is in a subdirectory called "contact".
If it's not fun, stop doing it!
Bookmarks