Welcome to WebmasterWorld Guest from 54.167.213.22

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

301 Redirect Help Needed

via htaccess

     
4:24 pm on Aug 19, 2008 (gmt 0)

10+ Year Member



I am trying to 301 a uri like this:
example.com/index.php?id=1

to point to the new new uri:
example.com/toons

Any thoughts I have tried a couple different ways and cant seem to get it right.

4:56 pm on Aug 19, 2008 (gmt 0)

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



Please post your best-effort code as a basis for discussion. You may find this thread [webmasterworld.com] in our Forum Library to be useful.

Jim

6:47 pm on Aug 19, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am trying to 301 a uri like this:
example.com/index.php?id=1

to point to the new new uri:
example.com/toons

1. Are you using Apache/Linux... or IIS/Windows... or something else?

2. I presume you've got lots of URIs like

example.com/index.php?id=1
example.com/index.php?id=2
example.com/index.php?id=3

and so on. Do you need to redirect each one to

example.com/alpha
example.com/beta
example.com/gamma

or is there some other pattern? Please give us a bit more info :-)

8:53 pm on Aug 19, 2008 (gmt 0)

10+ Year Member



Im not at home so I cant see the things I tried

Webdoctor, you are correct

Apache using htaccess

I have a bunch of uris like you showed above, and need them to map them just like you thought.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month