Not for a pligg site, but for a regular website located in a sub folder, I just want people to be forwarded to the domain name I now have.
I have tried to get this working, but it seems that it has to be the exact address with slashes and everything, or it wont work.
Anyone know what I could do so that I don't have to add 4 different variations of the address?
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| .htaccess forwarding
__________________ God bless, -en3r0 Torrop.com - Torrent and P2P News MemeVote.com - Find and vote on Memes |
| |||
|
Thank you very much for your reply! I'll be sure to try this out when I get home!
__________________ God bless, -en3r0 Torrop.com - Torrent and P2P News MemeVote.com - Find and vote on Memes |
| ||||
|
But my online pal told that this can be optimized using pattern matching somethings like (.*) and would get replaced to proper. But I am able to do that with RewriteRule and never successfully with Redirect. Anyone can optimize this with Redirect mod_rewrite? apache gurus - pls come to limelight... with suggestions and ideas. Thanks in advance. |
| |||
|
that would be nice if someone could do that, any one really good with apache?
__________________ God bless, -en3r0 Torrop.com - Torrent and P2P News MemeVote.com - Find and vote on Memes |
| ||||
|
A detailed documentation for mod_alias (Redirect is called that way) is found at http://httpd.apache.org/docs/1.3/mod/mod_alias.html |
| |||
|
Alright, I have everything under control. I thought that apache would only redirect the exact url. It will work with or with out the trailing slash. One line was all that was needed. Redirect /folder http://www.foo.bar Thanks for your help!
__________________ God bless, -en3r0 Torrop.com - Torrent and P2P News MemeVote.com - Find and vote on Memes |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| .htaccess + admin bug. can anyone please help? | boofme | Bug Report | 6 | 11-08-2008 12:37 AM |
| change .htaccess default to .htaccess error | gadiez | Installation and Upgrade Help | 0 | 08-31-2008 11:33 AM |
| .htaccess bug? | bluehenn | General Help | 0 | 12-10-2007 02:28 PM |
| ::How to:: Use .htaccess file with Pligg | kbeeveer46 | General Help | 0 | 01-25-2007 10:16 AM |
| Link problems - .htaccess - possible fix | rcalinjageman | Installation and Upgrade Help | 0 | 09-10-2006 11:39 AM |




Linear Mode

