Enjoy unlimited access to all forum features for FREE! Optional upgrade available for extra perks.
Domain summit 2024

301 redirect problem

Status
Not open for further replies.

whitebark

Level 9
Legacy Platinum Member
Joined
Jul 9, 2006
Messages
3,026
Reaction score
26
Normally a 301 is not a problem but what am I missing below?

Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

<Files ~ "^.(htaccess|htpasswd)$">
deny from all
</Files>
Redirect permanent index.php?name=News&file=article&sid=1 http://www.domain.ca/lottery/
order deny,allow

It just ends up to be
Code:
http://www.domain.ca/?name=News&file=article&sid=1

Thanks!
 

alphaomega

Level 3
Legacy Platinum Member
Joined
Oct 8, 2009
Messages
96
Reaction score
0
try this if you don't want to carry the variables:

Redirect permanent index.php?name=News&file=article&sid=1 http://www.domain.ca/lottery/?



----
Redirect permanent index.php?name=News&file=article&sid=1 http://www.domain.ca/lottery/
order deny,allow

It just ends up to be
Code:
http://www.domain.ca/?name=News&file=article&sid=1
Thanks![/QUOTE]
 
Status
Not open for further replies.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Sedo - it.com Premiums

IT.com

Premium Members

AucDom
UKBackorder
Be a Squirrel
MariaBuy

Our Mods' Businesses

UrlPick.com
URL Shortener

*the exceptional businesses of our esteemed moderators

Top Bottom