Home Forum
2025-01-31
Benvenuto, Ospite
Nome Utente Password: Ricordami

Problem getting ReDJ to work, with .aspx files?
(1 Online) (1) Ospite
  • Pagina:
  • 1

ARGOMENTO: Problem getting ReDJ to work, with .aspx files?

Problem getting ReDJ to work, with .aspx files? 14 Anni, 4 Mesi fa #1436

  • gpullen
  • Offline
  • Fresh Boarder
  • Messaggi: 2
Hi,

Im struggling to get this to work, if the source URL ends in .aspx

Any ideas?


eg,
www.hambledigital.co.uk/eeh/test.aspx will not redirect, where as
www.hambledigital.co.uk/eeh/test.php will redirect fine!!

I urgently need to finish developing this website to replace the existing aspx site, and ofcourse, I want the old links to be redirected!


All existing URLS are in this style:
/england-english/default.aspx and need to be redirected to a joomla SEF URL eg
http://{siteurl}/england-and-the-english

If there is a workaround, such as /england-english/** please let me know!

Kind Regards
Gareth
L'Argomento è stato bloccato.

Re: Problem getting ReDJ to work, with .aspx files? 14 Anni, 4 Mesi fa #1437

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Hi Gareth,
the problem is that the error page you receive with .aspx URLs is generated by Apache, and not by Joomla. Here is an example of a Joomla generated page:

www.hambledigital.co.uk/eeh/sistemistica.php

So, for these cases there's no way for ReDJ to work, because the request doesn't arrive to Joomla at all.

You should check your Apache settings to solve this. A fast solution could be to add into .htaccess file this line at the end:

ErrorDocument 404 /

In this way you are telling to Apache to send errors 404 to Joomla.

Let me know if you need more help.

Regards,
Luigi
L'Argomento è stato bloccato.

Re: Problem getting ReDJ to work, with .aspx files? 14 Anni, 4 Mesi fa #1438

  • gpullen
  • Offline
  • Fresh Boarder
  • Messaggi: 2
Thanks Luigi,

Adding ErrorDocument 404 / to .htaccess did make the file come up with a 404 error but not make ReDJ kick in.


However, I then found a fix...

RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.aspx|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]


I added .aspx into the line above in .htaccess, which seems to fix the issue!! Maybe this should be documented as a fix for people with same issue?

Thanks for your useful software, once I get paid for the site I will donate some money!

Gareth
L'Argomento è stato bloccato.

Re: Problem getting ReDJ to work, with .aspx files? 14 Anni, 4 Mesi fa #1441

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
I'm happy to hear it works.

Remember that with a single ReDJ item you can redirect a lot of old URLs. So, please, take a look at ReDJ tutorial for some example (available in download section).

If you need help with redirect, let me know.

Enjoy ReDJ,
Luigi
L'Argomento è stato bloccato.
  • Pagina:
  • 1
Moderatori: admin
Tempo generazione pagina: 0.39 secondi
Cerca con Google
News
Chi è online
 300 visitatori online
Sponsor

slotmachineaamsonline.com è una guida alle migliori slot machine online legali in Italia. Sul sito trovi un elenco sempre aggiornato dei casino online con Slot machine e bonus slot, le ultime novità dal mondo delle slot online e le migliori strategie per vincere. Inoltre, è disponibile una sezione dedicata alle slot machine da BAR che finalmente sono disponibili nella versione online.