Home Forum
2024-12-22
Benvenuto, Ospite
Nome Utente Password: Ricordami

index.php
(1 Online) (1) Ospite
  • Pagina:
  • 1

ARGOMENTO: index.php

index.php 13 Anni, 10 Mesi fa #1778

  • plantage
  • Offline
  • Fresh Boarder
  • Messaggi: 4
Hi Thanks for this great component! I am having two issues I can't seem to get working.
I try to get rid of the duplicate "www.gtbv.nl" and "www.gtbv.nl/index.php". I entered /index.php as the from url and http://{siteurl} as the to url. Now that works fine but when I look at xmap the sitemap for google url is redirected as well. How can I avoid that?

I also tried the www and nonwww url to direct but that only seems to work in the .htaccess file?

Thanks for any help!

Marc
L'Argomento è stato bloccato.

redirect index 13 Anni, 10 Mesi fa #1779

  • plantage
  • Offline
  • Fresh Boarder
  • Messaggi: 4
Hi, first of all thanks for such a great component!

Installation was easy. I have a question about the redirect of the duplicate "www.gtbv.nl" and "www.gtbv.nl/index.php". In made an entry where the from url is "/index.php" and the to url is "http://{siteurl}". That works fine. But what I did not realize is that everything that starts with index.php is redirected.

For example the url of the xmap sitemap for google is now redirected to the homepage as well because it starts with "index.php?/".

What am I doing wrong?

Is a redirect from www and nonwww adresses only possible with the .htaccess file or is it possible with redj as well?

Thanks for any help!

Marc
L'Argomento è stato bloccato.

Re: index.php 13 Anni, 10 Mesi fa #1782

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Hi,
to redirect /index.php to / item should be configured as follow:

From URL: ^/index.php$
To URL: http://{siteurl}/


Any other way could create problems (the dollar at the end avoid them).

About the www and non-www problem, what you would like to to? Redirect the non-www to the www?

Best regards,
Luigi
L'Argomento è stato bloccato.

Re: index.php 13 Anni, 10 Mesi fa #1783

  • plantage
  • Offline
  • Fresh Boarder
  • Messaggi: 4
Hi Luigi,

That works perfect, thank you very much! Yes I tried to redirect nonwwww to www but I could not get it to work.

I now added it to the .htaccess file. but was wondering if it coud work with redj.

Marc
L'Argomento è stato bloccato.

Re: index.php 13 Anni, 10 Mesi fa #1785

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Hi Marc,
you are right, at the moment it's not possible with ReDJ but is in the wishlist of many users, so I will implement in the next version.

Problem is that at the moment ReDJ works on REQUEST_URI part, so any items must not contain the domain part. Maybe I will solve adding a plugin option to "globally" redirect ALL non-www requests to corresponding www and viceversa.

Best regards,
Luigi
Ultima modifica: 13 Anni, 10 Mesi fa Da admin.
L'Argomento è stato bloccato.

Re: index.php 13 Anni, 10 Mesi fa #1788

  • plantage
  • Offline
  • Fresh Boarder
  • Messaggi: 4
Hi Luigi,

I see... wel I am helped at this moment.

Thanks for your fast answers!

Great support!

Marc
L'Argomento è stato bloccato.
  • Pagina:
  • 1
Moderatori: admin
Tempo generazione pagina: 0.43 secondi
Cerca con Google
News
Chi è online
 195 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.