Search Engine Watch Forums  - Search Engine Watch (#SEW)
Search Engine Watch
SEO News

 

  #1  
Old 03-18-2010
gennsearch gennsearch is offline
Member
 
Join Date: Oct 2006
Location: Toronto, Canada
Posts: 66
gennsearch is on a distinguished road
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>
Reply With Quote
  #2  
Old 03-26-2010
rookiethomas rookiethomas is offline
Free SEO Site Evaluation Email me SEOthomas@yahoo.com
 
Join Date: Aug 2009
Posts: 17
rookiethomas is on a distinguished road
Re: redirect a folder

if you redirect the entire folder...everything contained is redirected...ever url that uses the folder will be redirected.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -4. The time now is 01:27 PM.