View Full Version : Mod Rewrite Help
SomebodyIam
July 2nd, 2006, 05:49
Hey
i want to make it so when a user types:
http://mysite.com/videos
it goes to this url
http://mysite.com/index.php?act=videos
also 'act' to be replaced by audio, bio, etc....
How would i do this?
Thanks
.Joe.
July 2nd, 2006, 06:52
I can help you switch mysite.com/videos to your desired URL, but I'm pretty sure you won't be able to switch act with audio, etc. But I can still try. Are you using a cPanel control panel?
SomebodyIam
July 2nd, 2006, 06:55
yes i use cPanel... sorry.. my mistake in that post. i mean replace 'videos' with 'audio', 'images' etc..
.Joe.
July 2nd, 2006, 07:01
Yes, I think I can do that. If you would like me to do this, just PM me your cPanel information (login & password) so I can try making those modifications.
SomebodyIam
July 2nd, 2006, 07:09
um... id rather not give that out, could you not just post the code here.
.Joe.
July 2nd, 2006, 07:14
It's not so much a "code". I need the cPanel to work, & you can change the password when I'm done.
try
http://www.tutorio.com/tutorial/php-alternative-to-mod-rewrite-for-se-friendly-urls
http://www.tutorio.com/tutorial/enable-mod-rewrite-on-apache
webadpro
July 2nd, 2006, 08:02
I think a person could just use .htaccess to do that too!
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.