Home Forum
2024-05-15
Benvenuto, Ospite
Nome Utente Password: Ricordami

301 redirect instead of 404
(1 Online) (1) Ospite
  • Pagina:
  • 1
  • 2

ARGOMENTO: 301 redirect instead of 404

301 redirect instead of 404 14 Anni, 3 Mesi fa #1011

Hello,
I have successfully configured most of 301 pages from my old site to my new one... It was really great. Firefox really shows 301 code for all of them! Thanks a lot.

The problem is that I don't want 404 pages. I mean, all the other pages not listed in the Items tab I would like them to be redirected to a certain page showing, for example, my sitemap, with a 301 redirect.

I tried to create a last Item mapping (at the Items tab) from "/" to "http://{siteurl}/index.php?option=com_xmap&sitemap=1&Itemid=11". But it didn't work. Most of Menu entrances were reditexted to "http://{siteurl}/index.php?option=com_xmap&sitemap=1&Itemid=11" too.

Do you have any Idea of how could I solve this problema?

Is there a way to redirect subdomains. For example, I would like to redirect:
blog.mydomain.com
to mydomain.com/blog
?

Thanks.
Demétrius
L'Argomento è stato bloccato.

Re:301 redirect instead of 404 14 Anni, 3 Mesi fa #1012

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
About the first question, redirect all errors to a certain page (replacing 404 with 301), I've received so many requests about this that I'm releasing a new version with this option into plugin settings, just wait a while...

About the second point,
there's an old post about this question:

www.sistemistica.it/forum/11-redj-in-english/400-redirection-from-domain-to-page.html#404

Regards,
Luigi
L'Argomento è stato bloccato.

Re:301 redirect instead of 404 14 Anni, 3 Mesi fa #1013

Thanks.
Wouldn't there be a regesp that I coud use in order to redirect all pages that do not begin, for exemple, with:

index.php,templates, media, images

etc?

I could put it in the items tab and redirect all these exceptions to a single page just like the other items are done.

This would solve for now the problem...
L'Argomento è stato bloccato.

Re:301 redirect instead of 404 14 Anni, 3 Mesi fa #1014

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Here is a better solution.

I file di questo Forum sono invisibili ai visitatori. Prego accedi o registrati per visualizzarli.

Download new release 1.3.2 of ReDJ plugin, and follow these istructions:

1) Uninstall ReDJ plugin from Joomla admin panel (ONLY plugin);
2) Install the new one;
3) Activate it and configure 'Redirect any error' and 'Redirect URL'.

That's all!

Let me know,
Luigi
Allegati:
  • Allegato I file di questo Forum sono invisibili ai visitatori. Prego accedi o registrati per visualizzarli.
Ultima modifica: 14 Anni, 3 Mesi fa Da admin.
L'Argomento è stato bloccato.

Re:301 redirect instead of 404 14 Anni, 3 Mesi fa #1015

Well,
I'm really sorry, but it didn't work to me.
I followed your instructions (see images in the attached zip) but all redirections excetp those listed in the items tab are surprisingly redirected to the main page with a 4040 error.
I tried a lot of combinations at the plugin alternating Custom error 404 page (Yes/No) and Redirect any error with a lot of kinds of url such as :
www.escolademestres.com/index.php?option=com_xmap&sitemap=1&Itemid=11

http://{site_url}/index.php?option=com_xmap&sitemap=1&Itemid=11

/index.php?option=com_xmap&sitemap=1&Itemid=11

index.php?option=com_xmap&sitemap=1&Itemid=11

Anyway, I thank you very much for your tries. The componet is already very useful and I surelly won't stop using it. I file di questo Forum sono invisibili ai visitatori. Prego accedi o registrati per visualizzarli.
Allegati:
  • Allegato I file di questo Forum sono invisibili ai visitatori. Prego accedi o registrati per visualizzarli.
L'Argomento è stato bloccato.

Re:301 redirect instead of 404 14 Anni, 3 Mesi fa #1016

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Could you, please, send me the screenshot again?

Anyway,
redirect URL must be something like "www.yoursite.com/page". If it doesn't work in your case, maybe there's something wrong with site settings. At the moment you get a 404 error page and a Joomla home page is returned. This happens with standard Joomla settings. Could you send me a screenshot of these too?

Regards,
Luigi
L'Argomento è stato bloccato.

Re:301 redirect instead of 404 14 Anni, 3 Mesi fa #1017

Ok.
I'm attaching my .htccess too.
Thanks. I file di questo Forum sono invisibili ai visitatori. Prego accedi o registrati per visualizzarli.
Allegati:
  • Allegato I file di questo Forum sono invisibili ai visitatori. Prego accedi o registrati per visualizzarli.
L'Argomento è stato bloccato.

Re:301 redirect instead of 404 14 Anni, 3 Mesi fa #1018

In one of my images of joomla configuration you see that cache is active.
Well. I disable it when I'm making changes...
L'Argomento è stato bloccato.

Re:301 redirect instead of 404 14 Anni, 3 Mesi fa #1019

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Sorry,
but I'm not able to see the screenshots in the forum posts.

Could you please, send me an email? You can find the address in "Contattaci" menu item on the left.

I'll be very happy to help you to solve the problem (it works on my test environment).

Regards,
Luigi
L'Argomento è stato bloccato.

Re:301 redirect instead of 404 14 Anni, 3 Mesi fa #1020

I tried to use the form but it seems it didn't work.
Try accessing www.escolademestres.com/luigi.zip ,please.
Thanks.
L'Argomento è stato bloccato.
  • Pagina:
  • 1
  • 2
Moderatori: admin
Tempo generazione pagina: 0.45 secondi
Cerca con Google
News
Chi è online
 124 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.