Do many redirects slow my site
-
bonaventure
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 33
-
Thank you received: 0
-
-
11 years 2 months ago #2026
by bonaventure
You rock!!
Yes, every url is absolutely unique (otherwise the physical animal tags won't work). I'll download the free version and play. Then I'll get the pro version. I feel a very positive JED review coming.

Cheers.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 2 months ago #2027
by admin
Ok,
if you get trouble with macros try to look at online documentation, or post a question here, I can help you.
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
-
bonaventure
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 33
-
Thank you received: 0
-
-
11 years 1 month ago #2228
by bonaventure
Luigi,
I purchased the component (thank you) and it appears to be very powerful. However, I'm having a devil of a time figuring out how to configure it for my needs.
As I explained above, I will have thousands of unique ID codes associated with a QR-Codes on metal animal tags. Each permutation will be 4 characters long and consist of A-Z and 1-9 (1.2 million unique combinations). For example, a particular QR-Code horse tag should send mydomain.com/ABCD to mydomain.com/horses/entry/view/5-woody, where "5" is the id of the RSDirectory entry (a Joomla directory component) and "woody" is the name of the entry.
My problem is that there is no logical link between "ABCD" and "5-woody". However, one of the fields inside of this entry includes the ID "ABCD". Would it be possible to extract that id code from the database to determine the destination url? Does using the database to generate the redirection slow down the site significantly?
Thanks for your help.
Danny
Please Log in or Create an account to join the conversation.
-
bonaventure
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 33
-
Thank you received: 0
-
-
11 years 1 month ago #2229
by bonaventure
Another update.
I figured out how to make it so that the entry has ABCD at the end of the alias. So now I just need to get mydomain.com/ABCD-woody to go to mydomain.com/horses/entry/view/5-woody-abcd. I'm not sure if this makes my life any easier because I'll still need the database to know the id of the entry and title of the entry.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 1 month ago #2233
by admin
Hi Danny,
first thanks for yuor subscription
Now let's talk about performance...
We should build only a single ReDJ rule (and this is better then 50000 entries to compare). And ONLY when the rule matches we need to perform a db query to get the id for ABCD. Moreover, ABCD is unique, so I guess we could improve (if needed) the query speed adding an index to the RSDirectory's table. So I am not worried about performance.
Just let me know if you need help to setup the whole redirection process.
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
-
bonaventure
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 33
-
Thank you received: 0
-
-
10 years 9 months ago - 10 years 9 months ago #2603
by bonaventure
Hello again,
I'm finally ready to start building my master rule.
I've verified that all of my alias's (or tag IDs) are unique. Recall that users will scan a QR-code that should direct them to their pets profile. We currently have 390,000 unique id tags that will become pet profiles (we'll add more when we run out).
For example:
Source
www.equitag.com/aaaa (this is what is on the QR-Code)
Destination:
www.equitag.com/horses/29-aaaa
It would be great to have it as an internal URL so that the user always sees
www.equitag.com/aaaa
I sense that I need to use placeholders to grab the article ID and alias (e.g., 29-aaaa) from the source url, but I'm not sure how to set this up. Perhaps I'm making this more complicated than it needs to be. I would like to make one rule that can translate the alias in the source url to the destination URL.
Can you help me write this rule?
Last edit: 10 years 9 months ago by bonaventure. Reason: forgot to include information
Please Log in or Create an account to join the conversation.
Time to create page: 0.153 seconds