Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more

Go Back   Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more > Web Programming > Databases - MySQL, SQL, Oracle, Access and others
User Name
Password

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 12-29-2005, 03:01 AM   #1 (permalink)
toles
Member
 
Join Date: Dec 2005
Posts: 40
Default htaccess help

Hi, is it possible to make an htaccess redirect to multiple links

Only But to keep the link etc... say i make a htacess redirect it usually shows in the title bar http://linkitwentto.com
But i want to have it kept http://mydomain.com/link1.html

But is it also possible to change the title to something i want ? and meta tags?

Please regard as i dont own the site im redirecting too i cant change it on the remote site.

And i dont want to iframe because i want to do over 100 sites?
toles is offline   Reply With Quote
Sponsored Links
Old 02-13-2006, 04:02 PM   #2 (permalink)
BigDaddy71
Junior Member
 
Join Date: Feb 2006
Posts: 8
Default Re: htaccess help

Quote:
Originally Posted by toles
Hi, is it possible to make an htaccess redirect to multiple links

Only But to keep the link etc... say i make a htacess redirect it usually shows in the title bar http://linkitwentto.com
But i want to have it kept http://mydomain.com/link1.html

But is it also possible to change the title to something i want ? and meta tags?

Please regard as i dont own the site im redirecting too i cant change it on the remote site.

And i dont want to iframe because i want to do over 100 sites?

I've never seen anything like that without learning how to use mod_rewrite for Apache. There are lots of tutorials on how to use mod_rewrite so I would recommend starting there.
BigDaddy71 is offline   Reply With Quote
Old 02-14-2006, 03:48 PM   #3 (permalink)
msalerno
Hosting
 
Join Date: Feb 2006
Location: Toronto, Canada
Posts: 4
Default Re: htaccess help

Easiest way is to do a mod_rewrite rule inside your htaccess file. As long as your hosting provider allows it, you can then do a transparent proxy so that the url is kept as-is (again, as long as your provider allows the proxy).

http://www.yourhtmlsource.com/sitema...rewriting.html

Warning: Rewrite is a very powerful but can be very confusing. It can also create weird loops if you aren't careful. A lot of software packages (Wordpress for example) depend on mod_rewrite.

If you want I can give you some proxy examples of how you could do it.
msalerno is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

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

Points Per Thread View: 1.00
Points Per Thread: 11.00
Points Per Reply: 5.00



» Sponsors

» Links

» Affiliates
Web Hosting
Online Backup Reviews
Marketing Find
Merchant Select
SiteMap Builder
Host Compare
Dedicated Servers

» Links

» Sports Network
Paintball Forum
Football Forum
Hockey Forum
Golf Forum
Boxing Forum
Lacrosse Forum
Baseball Forum
SnowBoarding Forum
Soccer Forum
MMA Forum


All times are GMT -4. The time now is 11:35 AM.



LinkBacks Enabled by vBSEO 3.0.0 RC8
Webmaster Forums