Hi melanie-h
This is pretty Joomla feature ( links generation ) you can use anyway a 301 redirect adding it to .htaccess file
No way to do this within Joomla?
You could use an extension to optimise the url - like sh404sef but as Pavit suggested I would use the htaccess instead as it will be simpler
Cheers Paul
My current link within the site is: https://www.salinapubliclibrary.org/programsservices/join/friends
I'd like anyone with this link: (a simpler one) https://www.salinapubliclibrary.org/friends .... for it to take them to the above link with that information.
So in .htaccess file I can point https://www.salinapubliclibrary.org/friends even though it doesn't really exist to go to https://www.salinapubliclibrary.org/programsservices/join/friends
Is this correct?
Redirect https://www.salinapubliclibrary.org/friends https://www.salinapubliclibrary.org/programsservices/join/friends
Place it at the bottom of .htaccess?
Find in your .htaccess RewriteEngine on and add just below it your 301 redirect
Options +FollowSymLinks RewriteEngine on Redirect 301 /https://www.salinapubliclibrary.org/friends https://www.salinapubliclibrary.org/programsservices/join/friends
Hope it helps
I'm getting a 404 Error.
RewriteEngine On Options +FollowSymLinks RewriteEngine on Redirect 301 /https://www.salinapubliclibrary.org/friends https://www.salinapubliclibrary.org/programsservices/join/friends RewriteCond %{HTTPS} off RewriteRule (.*)$ https:/salinapubliclibrary.org/%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
There was a type error in my post above
it should be
Options +FollowSymLinks RewriteEngine on Redirect 301 https://www.salinapubliclibrary.org/friends https://www.salinapubliclibrary.org/programsservices/join/friends
Remove the first slash from first url
or it could be also
Redirect 301 /friends https://www.salinapubliclibrary.org/programsservices/join/friends
I had tried taking it out... but still didn't have any luck earlier. Tried again. Here's what I have. I still get 404 error on the https://www.salinapubliclibrary.org/friends
RewriteEngine On Options +FollowSymLinks RewriteEngine on Redirect 301 https://www.salinapubliclibrary.org/friends https://www.salinapubliclibrary.org/programsservices/join/friends RewriteCond %{HTTPS} off RewriteRule (.*)$ https:/salinapubliclibrary.org/%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
melanie-h
Could you please edit your first post and add to it a working url for your administrator page with a super user account for it ? also a working ftp account
I will have a look at it
pavit I've updated it.
I don't know where you added it before , anyway i added it now to your .htaccess file and redirect is working fine.
Best regards
pavit Odd, I was in .htaccess but i was editing from my webhost. Apparently the data wasn't saving, despite saving.
I see it now.
Thank you. I appreciate the help.