× Here you can get community support related to ReDJ.

Once and for all...

  • Quartermaster
  • Quartermaster's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 1 month ago #4292 by Quartermaster
Once and for all... was created by Quartermaster
So, I have a bit of an emergency, and I'm just not good with the code you've provided me in the past.

My website is HarrisburgPA.com
I have a page "harrisburgpa.com/mode/cool-stuff/mode-back-issues" that I would like to always point (display on the title bar) as "HarrisburgPA.com/MODE" (Yes with uppercase letters.)

I also need any variations of the folder to redirect to:
"HarrisburgPA.com/MODE"
i.e. (mode | Mode | modemag | MODEmag | modemagazine | MODEmagazine)

Should these be two different entries?
And, can you please tell me what to put in the "from" "to" and Case Sensitive boxes please?

Finally, maybe you could make the text entry boxes a little (LOT) wider for the strings. ;-)

Thanks again!

SCOT
Attachments:

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

More
9 years 1 month ago - 9 years 1 month ago #4293 by admin
Replied by admin on topic Once and for all...
Hi,
the field "From URL" should be:
From URL: ^/[mM][oO][dD][eE]([mM][aA][gG]|[mM][aA][gG][aA][zZ][iI][nN][eE]){0,1}$

Kind regards,
Luigi
Last edit: 9 years 1 month ago by admin.

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

  • Quartermaster
  • Quartermaster's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 1 month ago #4296 by Quartermaster
Replied by Quartermaster on topic Once and for all...
So, in a less complicated way, let me ask first:

I would like this page
"harrisburgpa.com/mode/cool-stuff/mode-back-issues"
to always point/resolve/display on the title bar, as this URL
"HarrisburgPA.com/MODE"

Is that a 'redirect',an 'alias', or a 'seo url'?

And, how do I do it?
(In the least complicated way please. I'm still learning.)

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

More
9 years 1 month ago - 9 years 1 month ago #4297 by admin
Replied by admin on topic Once and for all...
It's simple.
If you type HarrisburgPA.com/MODE in your browser, you will get an error page, because the URL doesn't exist. So you need to create a redirect from HarrisburgPA.com/MODE to the existing page that is harrisburgpa.com/mode/cool-stuff/mode-back-issues.
From URL: ^/MODE$
To URL: {scheme}://{siteurl}/mode/cool-stuff/mode-back-issues
Request only: true (checked)

BUT... If you create a 301 redirect the URL in the address bar of your browser will change. To avoid this with ReDJ Enterprise you can select a redirect 200 (internal), so the page will be redirected internally to Joomla, the user will get the new page but the URL in the browser will stay to HarrisburgPA.com/MODE.

Hope this is much clear now.
Last edit: 9 years 1 month ago by admin.
The following user(s) said Thank You: Quartermaster

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

  • Quartermaster
  • Quartermaster's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 1 month ago #4302 by Quartermaster
Replied by Quartermaster on topic Once and for all...
MUCH CLEARER.
THANK YOU LUIGI!

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

  • Quartermaster
  • Quartermaster's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 1 month ago - 9 years 1 month ago #4303 by Quartermaster
Replied by Quartermaster on topic Once and for all...
So, if I want a different long url (HarrisburgPA.com/mode/mode-covers) to also redirect to the same short one. (HarrisburgPA.com/MODE) would that cause a conflict?

Or would both simply show HarrisburgPA.com/MODE, regardless of the actual page being displayed?

SCOT

(ADDED:) Ah, the source URL must be unique. :-(
Any workaround to that?
Last edit: 9 years 1 month ago by Quartermaster. Reason: Brain activity

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

Time to create page: 0.169 seconds