need a mod rewrite for non existing folder

Using mod_rewrite to handle various content issues

need a mod rewrite for non existing folder

Postby stargazinc » Sun Sep 30, 2007 4:30 pm

i need some help, everything i tried from the internet has not worked. I need the folder weblogs and everything in it including other directories located in that, theirs about 2000 folders located in weblogs that need to be all redirected to the homepage. is their a way to do this.

thanks, you guys are always a big help and i always refer people to this site.
stargazinc
 
Posts: 18
Joined: Wed Jul 26, 2006 11:22 am

Postby richardk » Mon Oct 01, 2007 11:01 am

Try (mod_dir)
Code: Select all
RedirectMatch 301 ^/weblogs(/.*)?$ /?
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am


Return to Content

Who is online

Users browsing this forum: No registered users and 14 guests

cron