Welcome to WebmasterWorld Guest from 54.234.13.175

Forum Moderators: Ocean10000 & phranque

redirect all sub directory urls to new domain

all pages need to more to new domain

     
5:30 pm on Oct 12, 2018 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:June 4, 2002
posts: 1895
votes: 3


How do I permanently remove all files in a sub directory (about 70 pages) to a new domain, i.e., all sub directory files are now the contents of a new domain.

I was using this

Options +FollowSymLinks
RewriteEngine on

RewriteRule ^foldername/$ http://www.example.com/ [R=301,L]

however it didn't move every page so then I entered each page separately.

However all those redirects are slowing down the original site.

Is there something wrong with the original line above that doesn't move all files?
7:43 pm on Nov 5, 2018 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:June 4, 2002
posts: 1895
votes: 3


Can someone help me with this?
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members