Home Forum
2012-02-07
Menu principale
Prodotti
Giochi a premi
Accedi ai servizi
Newsletter
Ricezione
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 1 Anno, 11 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

Re:301 redirect instead of 404 1 Anno, 11 Mesi fa #1012

  • admin
  • Offline
  • Administrator
  • Messaggi: 1326
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

Re:301 redirect instead of 404 1 Anno, 11 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...

Re:301 redirect instead of 404 1 Anno, 11 Mesi fa #1014

  • admin
  • Offline
  • Administrator
  • Messaggi: 1326
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: 1 Anno, 11 Mesi fa Da admin.

Re:301 redirect instead of 404 1 Anno, 11 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.

Re:301 redirect instead of 404 1 Anno, 11 Mesi fa #1016

  • admin
  • Offline
  • Administrator
  • Messaggi: 1326
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

Re:301 redirect instead of 404 1 Anno, 11 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.

Re:301 redirect instead of 404 1 Anno, 11 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...

Re:301 redirect instead of 404 1 Anno, 11 Mesi fa #1019

  • admin
  • Offline
  • Administrator
  • Messaggi: 1326
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

Re:301 redirect instead of 404 1 Anno, 11 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.
  • Pagina:
  • 1
  • 2
Moderatori: admin
Tempo generazione pagina: 0.54 secondi
News
Cerca con Google
Chi è online
 75 visitatori e 1 utente online
Pubblicità