Welcome to WebmasterWorld Guest from 100.24.209.47

Forum Moderators: Ocean10000 & phranque

Message Too Old, No Replies

Redirecting Folder ALL to folder all

wanting to be CAP free soon

     
11:53 pm on Dec 21, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Dec 2, 2002
posts:1167
votes: 0


With many thanks to all here, I've cleaned up a lot of silly stuff that was set in place before I got involved, and the bulk of my own clueless misteps. One multi part project that's left has the same basic solution, i.e. the final demise of CAPS in Folder names:
domain.tld/Folder1/ to domain.tld/folder1/
domain.tld/Otherfolder/ to domain.tld/otherfolder/
domain.tld/Yet-Another/ to domain.tld/yet-another/

From reading here, the simplest route appears to be:
Redirect 301 /Folder1 h*tp://www.domain.tld/folder1
Redirect 301 /Otherfolder h*tp://www.domain.tld/Otherfolder
Redirect 301 /Yet-Another h*tp://www.domain.tld/yet-another
without using any trailing slash after the folder name and withouthaving to individually redirect each page within the folders (thank goodness!).

If there's an even simpler way, I'd love to hear it, as the great folder changeout is actually not slated til Tuesday.

12:38 am on Dec 23, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
posts:25430
votes: 0


Kevin,

The method you're using is "pretty much it."
You could do the same thing using mod_rewrite, but what you've got is just as functional and easier to read.

Jim

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members