![]() |
htaccess 301 redirect problem...
if I want to redirect www.example.com/turd/ and every page that begins with that part of the URL, but not redirect www.example.com/anythingelse/, and I want every page redirected to the hompage of a different domain.
I've tried a few things, none worked. The search results are all cluster fucked with people wanting www or non-www, redirecting within the same domain, or redirecting each url from one domain to a new domain. I want every page I redirect to go to the same homepage, forget the extension on the end. If anyone knows how to do this I would appreciate the answer. |
Code:
|
htaccess is awesome, so many useful things you can do with it.
|
Tired of running galleries through the main site?
|
hi v_rocks, thanks for cyber sex last night
|
Quote:
|
Quote:
This redirect didnt work at all. Most of the things I tried worked partially. I think I fucked something up. |
This is a nice place to find 301 redirect info:
hxxp://www.isitebuild.com/301-redirect.htm |
Quote:
Code:
<IfModule mod_rewrite.c> |
Quote:
|
Quote:
Depending on your config, the terminator can be confusing it. Try this: Code:
RewriteBase /turd |
Quote:
|
Anyone else have a suggestion ?
|
I'm desperate here. Does anyone know what could be wrong?
|
Quote:
www.example.com/turd/?p=43 is getting redirected to: http://www.adifferentdomain.com/?p=43. I want it to redirect to the homepage as well. I want it to drop the "?p=43". Anyone know what to change? |
| All times are GMT -7. The time now is 07:47 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123