Results 1 to 2 of 2
  1. #1
    Newbie
    Join Date
    January 18th, 2005
    Posts
    24
    Hello,
    Currently I am switching certain parts of my site from a database generated type of files to a static html files. The urls when using the database look like: http://www.mysite.com/folder/folder2...0&group=group1

    http://www.mysite.com/folder/folder2...&group=group1, I want to redirect this to http://www.mysite.com/folder/folder2/group1.htm http://www.mysite.com/folder/folder2/group1.htm

    Now I made the following 301 redirect:
    redirect 301 /folder/folder2/folder.cgi?nr_group=250&group=group1 http://www.mysite.com/folder/folder2/group1.htm http://www.mysite.com/folder/folder2/group1.htm

    which does not work, although: redirect 301 /folder/folder2/folder.cgi http://www.mysite.com/folder/folder2/group1.htm http://www.mysite.com/folder/folder2/group1.htm works. But then everything and all groups are redirected to http://www.mysite.com/folder/folder2/group1.htm http://www.mysite.com/folder/folder2/group1.htm.

    I want to redirect every page with a "?" after folder.cgi to an unique page (which has the same content, but its loaded in a html file).

    Is there a way I can achieve this?

    Istvan

  2. #2
    Newbie
    Join Date
    January 18th, 2005
    Posts
    9
    Istan,

    Have you considered using Mod_Rewrite instead?

  3. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. 301 Redirect table in ASP.net
    By Eric Ewe in forum Programming / Datafeeds / Tools
    Replies: 0
    Last Post: October 18th, 2010, 06:04 PM
  2. 301 redirect
    By martinsbca in forum WebMerge (Fourthworld.com)
    Replies: 0
    Last Post: February 27th, 2007, 05:05 PM
  3. 301 redirect using htaccess question
    By ~Michelle in forum Midnight Cafe'
    Replies: 5
    Last Post: February 26th, 2006, 09:16 PM
  4. .htaccess & 301 Redirect
    By ~Michelle in forum Search Engine Optimization
    Replies: 2
    Last Post: March 11th, 2005, 12:18 PM
  5. quotes requested - convert dynamic site to static html site
    By chrish in forum WebMerge (Fourthworld.com)
    Replies: 3
    Last Post: March 15th, 2004, 05:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •