Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. 🚫 No AI-generated (LLM) posts allowed. Share your own thoughts and experience — accounts may be terminated for violations.

htaccess redirect question?

Status
Not open for further replies.
Joined
Mar 13, 2006
Posts
2,263
Reaction score
30
I've changed one of my websites and would like some address on forwarding via htaccess.

I the minute people are still coming to my site using old search links, say via this link

/products.php?q=Help+For+Heroes+Wristband

What I would like is it to change to

/?s=Help+For+Heroes+Wristband

Can anyone help please?

Thanks Mally
 
This should do the trick..

Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.newdomain.co.uk/$1 [R=301,L]
 
Status
Not open for further replies.

Rule #1: Be Respectful

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

Members online

No members online now.

Premium Members

New Threads

Domain Forum Friends

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Siusaidh AcornBot:
    Siusaidh has left the room.
      Siusaidh AcornBot: Siusaidh has left the room.
      Top Bottom