Home page seen by Google index as multiple urls
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
-
sedonagate
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 23
-
Thank you received: 0
-
-
11 years 6 months ago #1083
by sedonagate
Hi, I have another question about using ReDJ to redirect a URL.
I want to redirect this URL any time it has a question mark as shown below:
/articles-about-sedona-arizona?start=14
to this URL:
/articles-about-sedona-arizona
What is the best way to do it?
Not knowing the right way to do it, I tried:
/articles-about-sedona-arizona?*
to redirect to
/articles-about-sedona-arizona
in ReDJ but it didn't work. Thanks for any help!
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 6 months ago #1084
by admin
Almost right
From URL: ^/articles-about-sedona-arizona\?start
To URL: http://{siteurl}/articles-about-sedona-arizona
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
-
sedonagate
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 23
-
Thank you received: 0
-
-
11 years 6 months ago #1091
by sedonagate
Hi Luigi, I'm asking you all these questions (sorry), so just sent you a small donation. I appreciate your help. I have one more question:
All these urls below are being picked up by Google for what should be one url, our home page:
www.gatewaytosedona.com
/?q=Save+Us+From+Berlusconi
/?refsite=www.sabtalk.com
/?s=5th
/?sedona.tv
I read the manual, and tried a few things, but I was not correct and could not make it work.
What is the best way to make all these urls all redirect to:
www.gatewaytosedona.com
using ReDJ, of course.
Thank you!
Please Log in or Create an account to join the conversation.
-
sedonagate
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 23
-
Thank you received: 0
-
-
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 6 months ago #1097
by admin
Hi,
first thank you for your donation, I really appreciate it.
TO redirect
www.gatewaytosedona.com/index.php to
www.gatewaytosedona.com create a rule like:
From URL: ^/index\.php$
TO URL: http://{siteurl}/
Request only: true (checked)
About the other question:
/?q=Save+Us+From+Berlusconi
/?refsite=www.sabtalk.com
/?s=5th
/?sedona.tv
First I want to ask you why you need to redirect. These seem only URL with parameters, normally you should redirect them only if are linked somewhere and are not existing. In this case you can redirect elsewhere to replace the 404 error.
If this is the case, you cannot create a single rule to redirect them all, cause I cannot see any common pattern here. You can create, as example, a rule to redirect any URL with refsite to the corresponding version without it:
From URL: /\?refsite=
To URL: http://{siteurl}{path}{querydropfull refsite}
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
Time to create page: 0.143 seconds