OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Weiterleitung statt 404 (0 viewing) 
Go to bottom Favoured: 0

Weiterleitung statt 404

hcohl (User)
Senior Boarder
Posts: 48
graphgraph
User Offline Click here to see the profile of this user
Weiterleitung statt 404 1 Year, 3 Months ago
Karma: 0  
Articles are created with the help of the CCK and emails are sent with the link to these articles after creation. After some time, the articles will be deleted again. If the user now clicks on the link sent earlier, he gets a 404.
The address for an article is e.g.:
www.give-consulting.com/index.php/de/fue...roject-requests/7613
Could you set up a global forwarding here that recognizes that the article no longer exists and then forwards to:
www.give-consulting.com/index.php/de/fue...tes/project-requests
?
Do you maybe have an idea?
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:Weiterleitung statt 404 1 Year, 3 Months ago
Karma: 102  
Hello

We created short joomla tutorial: how to setup your 404 error page in joomla 3 and joomla 4 - you may use it and for OrdaSoft Joomla CCK

Regards
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
hcohl (User)
Senior Boarder
Posts: 48
graphgraph
User Offline Click here to see the profile of this user
Re:Weiterleitung statt 404 1 Year, 3 Months ago
Karma: 0  
thanks - but it would be better not to redirect ALL 404s globally to such a page, but only those that come from this CCK entity ... . Is there a possibility?
Again for understanding: articles are published in the entity and then the attention is drawn to them by email with a link to this article. But if the article is now deleted, the users who still click on the link should be redirected to a special page that is reserved only for this case.
Logged Logged
The administrator has disabled public write access.
hcohl (User)
Senior Boarder
Posts: 48
graphgraph
User Offline Click here to see the profile of this user
Re:Weiterleitung statt 404 1 Year, 3 Months ago
Karma: 0  
sorry - there is no 404 - my fault.
a blank page just appears. Because I've attached another layout to the page that should appear, only this layout is shown, the rest is empty.
If the article is published it looks like screenshot 2
If the article is unpublished it looks like screenshot 1
But I need in the blank area on the left side a special side like "the article you are looking for is disabled ..."
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:Weiterleitung statt 404 1 Year, 3 Months ago
Karma: 102  
so if we will add to you code of Joomla cck next functional:
- if this instance removed
- we do redirect to some URL on your site ?!

If you agree, Please send to us This URL for redirect. Now we may add this "hard code" to your site and late - we will add this as settings to Entity

Regards
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
hcohl (User)
Senior Boarder
Posts: 48
graphgraph
User Offline Click here to see the profile of this user
Re:Weiterleitung statt 404 1 Year, 2 Months ago
Karma: 0  
The problem is, that it is not only ONE instance.
Every week multiple instances.
I need a way to automaticly redirect from
f.e.
www.give-consulting.com/index.php/en/fue...rojektanfragen/41321
to
www.give-consulting.com/index.php/de/?Itemid=630
when the instance of the first url is deleted.
Logged Logged
The administrator has disabled public write access.
Go to top
»