Reply
URL Redirection Problem...help pleeease
Old 07-03-2007, 11:32 AM URL Redirection Problem...help pleeease
Junior Talker

Posts: 1
My .htaccess files looks like this,
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(domain\.com)$ [NC]
RewriteRule ^(.*)$ http://www.%1/$1 [R=301,L]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^(.+)\.html$ /index.php?params=$1 [L]

Whenever I write a redirect, for example,
Redirect 301 /game/0001/old.html http://www.domain.com/game/0002/new.html

I'll get this,
http://www.domain.com/game/0002/new.html?params=game/0001/old

How to I code my .htaccess file to truncate the "?params=game/0001/old" part?

I don't have any problems with URLs that are not redirected.

Regards
selstar is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 07-04-2007, 09:17 AM Re: URL Redirection Problem...help pleeease
Novice Talker

Posts: 5
Hi,

have you tried a 3rd party redirection service? I think it will be much easier, without much hassles.

you can try out these free services.

www.snipurl.com
www.tinyurl.com
www.linkbrander.com

OR you can use a "refresh" script on your page. It will automatically send a redirection almost instantly.

insert this into your HTML source in between <head>......</head>


<meta http-equiv="Refresh" content="0; url=http://www.yourwebsite.com/xxx.html">


Trust it will help you ....

Cheers !
Vince
vckc4ever is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to URL Redirection Problem...help pleeease
 

Thread Tools

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 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.11473 seconds with 12 queries