|
#1
|
|||
|
|||
|
redirect a folder
I have a site that I need to move a folder,
domain.com/folder/page.php to new domain.com/page.php this is what I used but redirect the entire folder and not the contents in it. <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^folder/(.*) http://www.domain.com/ [R=301,L] </IfModule> |
|
#2
|
|||
|
|||
|
Re: redirect a folder
if you redirect the entire folder...everything contained is redirected...ever url that uses the folder will be redirected.
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Does 301 redirect = Cname redirect? | Onestop | Search Engine Optimization | 6 | 05-25-2009 09:04 AM |
| A sophisticated 301 redirect solution for Googlebot? (Moving from Java to .NET, etc) | hedgehogcn | Google Web Search | 2 | 08-28-2006 04:55 PM |
| How to redirect Search Engine Frinedly / Adsense Friendly | chintansoni | Google Web Search | 1 | 03-09-2006 07:28 PM |
| Redirection from old folder to new (301?) | dollshouse | Dynamic Website and Technical Issues | 0 | 09-29-2005 10:24 AM |
| 302 redirect problem - unique issue | ucool | Google Web Search | 2 | 05-26-2005 07:18 AM |