GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Quick htaccess question (https://gfy.com/showthread.php?t=599152)

clickclickclick 04-17-2006 04:28 PM

Quick htaccess question
 
i need to change

domain.com/XANDER.php

to domain.com/

and i need to change

domain.com/oasda.php?browse=/asswhores

to

domain.com/asswhores

silly help?

QTbucks_Mark 04-17-2006 04:59 PM

If you're using Apache you'll need mod_rewrite for that. Something like this should do it I think:

RewriteEngine on
RewriteRule ^/ http://domain.com/XANDER.php [R,L]
RewriteRule ^/(.*) http://domain.com/oasda.php?browse=/$1 [R,L]

Not tested - you might have to adjust it a little so it actually works as intended.


All times are GMT -7. The time now is 10:26 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123