Once and for all...
-
Quartermaster
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 7
-
Thank you received: 0
-
-
9 years 1 month ago #4292
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
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
9 years 1 month ago - 9 years 1 month ago #4293
by admin
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
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 7
-
Thank you received: 0
-
-
9 years 1 month ago #4296
by Quartermaster
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.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
9 years 1 month ago - 9 years 1 month ago #4297
by admin
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
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 7
-
Thank you received: 0
-
-
-
Quartermaster
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 7
-
Thank you received: 0
-
-
9 years 1 month ago - 9 years 1 month ago #4303
by Quartermaster
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