Jump to content

Redirect to homepage..please help


jewelrykind

Recommended Posts

Hi

I see that on my prestashop website I can create hundreds of urls like:

www.mypresta.com/?abc

www.mypresta.com/?123.com

www.mypresta.com/?anycode

I would like all the urls created in this way to redirect to homepage or 404. Can anyone help me with a htaccess rule for this?

I need to add a rule that say: redirect all urls that contain the "?" sign just after home page URL.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...