Simple RSS Redirects

2 years 4 months ago #179252 by John
Simple RSS Redirects was created by John

For Simple RSS, is there a way to redirect clicks on RSS feeds through my website domain to generate more traffic on my site as opposed to another site.  For reference, I am using Simple RSS on a news website, fetching news articles from several feeds. When users come to my site, they read news headlines from the component and click on the new headline or sub-headline and end up at the source of the feed.  I'd like to redirect users through pages on my site before they go to the other or source site.



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

2 years 4 months ago #179287 by JoomlaWorks
Replied by JoomlaWorks on topic Simple RSS Redirects
You could add a static redirect file, e.g. domain.tld/redirect.php on your site using basic PHP and then create an override in SRFR and change all links to domain.tld/redirect.php?url=<?php echo urlencode($whateverVariableIsForLinksHere); ?>. BUT (and this is a big BUT) you need to add code in your redirect.php file that would ONLY accept specific domains as part of the ?url= query. Otherwise you'll create an open redirect through your site which can be exploited by spammers.

Fotis / JoomlaWorks Support Team
Please search the forum before posting a new topic :)

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

Powered by Kunena Forum