I'm trying to learn htaccess, but I'm having issues wrapping my head around this.
I need to learn by example.
Have several types of 301 permanent redirects that are needed.
Want to redirect a single page to a new page
OLD - http://www.domain.com/page.html
NEW - http://www.domain.com/newfolder/page.html
Want to redirect a folder, AND any pages in it (preferably without naming EACH page), to a new folder's index
OLD - http://www.domain.com/oldfolder/lots-of-html-pages
NEW - httr://www.domain.com/newfolder/index.html
Want to redirect a subdomain to the primary domain
OLD - http://web.domain.com
NEW - http://www.domain.com
Want to redirect a folder, AND any pages in it, to a new subdomain
OLD - http://www.domain.com/folder/pages.html
NEW - http://newsite.domain.com/folder/pages.html
Using ISAPI_Rewrite 3 on 2003/IIS6, which uses htaccess commands.
+ Reply to Thread
Results 1 to 4 of 4
-
Want my help? Ask here! (not via PM!)
FAQs: Best Blank Discs • Best TBCs • Best VCRs for capture • Restore VHS -
Here's some links, so that I don't have to type
http://www.webweaver.nu/html-tips/web-redirection.shtml
http://www.javascriptkit.com/howto/htaccess7.shtml
For your 4th problem:
redirect 301 /olddirectory http://mydomain.com/newdirectory -
Thanks for trying, but your links don't really help me.
I've already read those, and my problems are not directly addressed.Want my help? Ask here! (not via PM!)
FAQs: Best Blank Discs • Best TBCs • Best VCRs for capture • Restore VHS -
Really? Nobody?
Want my help? Ask here! (not via PM!)
FAQs: Best Blank Discs • Best TBCs • Best VCRs for capture • Restore VHS
Similar Threads
-
htaccess help!
By lordsmurf in forum ComputerReplies: 8Last Post: 23rd Jun 2008, 05:23