× Here you can get community support related to ReDJ.

Home page seen by Google index as multiple urls

More
10 years 11 months ago #1072 by admin
Thanks,
about the $, consider that the rule is a regular expression so yu can build complex patterns, just following this guide:

dev.mysql.com/doc/refman/5.1/en/regexp.html

If you need to know more, I'm working to have online documentation here for our products, but meanwhile there's a quick guide available for download here:

www.selfget.com/downloads/file/6-redj-quickguide-j15.html

Is not updated to last version but is a good starting point...

Kind regards,
Luigi

Please Log in or Create an account to join the conversation.

  • sedonagate
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 11 months ago #1083 by sedonagate
Replied by sedonagate on topic Home page seen by Google index as multiple urls
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.

More
10 years 11 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
  • Junior Member
More
10 years 11 months ago #1091 by sedonagate
Replied by sedonagate on topic Home page seen by Google index as multiple urls
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
  • Junior Member
More
10 years 11 months ago #1092 by sedonagate
Replied by sedonagate on topic Home page seen by Google index as multiple urls
Oh, and also...

How would you properly redirect:

www.gatewaytosedona.com/index.php

to always go back to:

www.gatewaytosedona.com

Thank you!

Please Log in or Create an account to join the conversation.

More
10 years 11 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.161 seconds