[SOLVED] Unable to redirect old RSS link
- Saka
-
- Offline
- Administrator
-
16 years 4 months ago #3677
by Saka
Emir Sakic
www.sakic.net
SEF Advance version?
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- Greg
-
Topic Author
- Offline
- New Member
-
16 years 3 months ago #3689
by Greg
Joomla 3.4.3 / SefAdvance 1.8.0 / AJAX Register 1.8.8 / virtuemart 3.0.9.4 / PHP 5.4.43
version 1.8.1
Joomla 3.4.3 / SefAdvance 1.8.0 / AJAX Register 1.8.8 / virtuemart 3.0.9.4 / PHP 5.4.43
Please Log in or Create an account to join the conversation.
- Saka
-
- Offline
- Administrator
-
16 years 3 months ago #3695
by Saka
Emir Sakic
www.sakic.net
Hello,
You can't redirect non-sef URLs because they are used by Joomla itself. Redirect tool is only for SEF URLs. Additionally, URLs that begin with index2.php are generally meant for popups and such and are not processed at all by SEF Advance, so you can't use alias either.
I suggest you use redirect in .htaccess if you want to redirect this link.
You can't redirect non-sef URLs because they are used by Joomla itself. Redirect tool is only for SEF URLs. Additionally, URLs that begin with index2.php are generally meant for popups and such and are not processed at all by SEF Advance, so you can't use alias either.
I suggest you use redirect in .htaccess if you want to redirect this link.
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- Greg
-
Topic Author
- Offline
- New Member
-
16 years 3 months ago - 16 years 3 months ago #3700
by Greg
Joomla 3.4.3 / SefAdvance 1.8.0 / AJAX Register 1.8.8 / virtuemart 3.0.9.4 / PHP 5.4.43
Thanks for reply Emir,
But I've already tried with the .htaccess (forgot to mention it), so, could you give me the example of the rewrite rule that I should use to do that please.
But I've already tried with the .htaccess (forgot to mention it), so, could you give me the example of the rewrite rule that I should use to do that please.
Joomla 3.4.3 / SefAdvance 1.8.0 / AJAX Register 1.8.8 / virtuemart 3.0.9.4 / PHP 5.4.43
Last Edit: 16 years 3 months ago by Greg.
Please Log in or Create an account to join the conversation.
- Saka
-
- Offline
- Administrator
-
16 years 3 months ago #3703
by Saka
Emir Sakic
www.sakic.net
Well such questions take pretty much time of testing and trying but I found it for you this time.
Try:right after the line:
RewriteEngine On
If you have your installation in a subdirectory add it before /rss.feed so it reads:
RewriteRule ^index2\.php$ /subdirectory/rss.feed? [R=301,L]
Try:
RewriteCond %{REQUEST_FILENAME} index2.php
RewriteCond %{QUERY_STRING} ^option=com_rss&feed=RSS2.0&no_html=1$
RewriteRule ^index2\.php$ /rss.feed? [R=301,L]
RewriteEngine On
If you have your installation in a subdirectory add it before /rss.feed so it reads:
RewriteRule ^index2\.php$ /subdirectory/rss.feed? [R=301,L]
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- Greg
-
Topic Author
- Offline
- New Member
-
16 years 3 months ago #3704
by Greg
Joomla 3.4.3 / SefAdvance 1.8.0 / AJAX Register 1.8.8 / virtuemart 3.0.9.4 / PHP 5.4.43
Thank you so much.
it works
it works
Joomla 3.4.3 / SefAdvance 1.8.0 / AJAX Register 1.8.8 / virtuemart 3.0.9.4 / PHP 5.4.43
Please Log in or Create an account to join the conversation.