Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Using htaccess redirects (not quite what you expect)
Old 07-31-2006, 03:17 AM Using htaccess redirects (not quite what you expect)
Junior Talker

Posts: 4
Trades: 0
Ok basically what I'm working on is tying my PHPbb board and Joomla together. To make a long story short, for every page on http://forums.mysite.com/ I need it to go to http://mysite.com/index.php?action=wrapper&url={URL of the page that is redirected}

For instance:

http://forums.mysite.com/index.php?threadid=200 becomes http://mysite.com/index.php?action=w...p?threadid=200


Also, if it is any easier, http://mysite.com/index.php?action=w...p?threadid=200

Pls help
sdat1333 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-06-2006, 07:20 PM Re: Using htaccess redirects (not quite what you expect)
Skilled Talker

Posts: 95
Trades: 0
I know what to do. I have been also experinmenting in redirects through .htaccess also.

WARNING!: You will have to use mod_rewrite, and tell apache to use .htaccess files.

Ok what you do is put in this configuration.
Code:
RewriteEngine On
RewriteBase /
RewriteRule /page.html, or whatever http://google.com(example) [R] or your could use [P] for proxy
or like this mworking example:
RewriteRule / http://mysiteredirected.com [R]
Oh yeah on more thing make sure if you redirect it's a permanent redirection otherwise Google could drop your ranks and think your a spammer. You know not search engine friendly.

you could edit your servers http headers, or somehow let all the search engines google, yahjoo, msn, and others know that your site is redirecting permanently.

Last edited by hyipo; 08-06-2006 at 07:27 PM..
hyipo is offline
Reply With Quote
View Public Profile
 
Old 08-06-2006, 08:08 PM Re: Using htaccess redirects (not quite what you expect)
MrSmith's Avatar
Junior Talker

Posts: 4
Name: Mr Smith from the matrix
Trades: 0
Thank you Hyipo. I have been trying to find out how to make search engine friendly urls through .htaccess too.
MrSmith is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Using htaccess redirects (not quite what you expect)
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.26520 seconds with 12 queries