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

Problem with redirecting subdomain URLs
(1 Online) (1) Ospite
  • Pagina:
  • 1

ARGOMENTO: Problem with redirecting subdomain URLs

Problem with redirecting subdomain URLs 13 Anni, 10 Mesi fa #1826

Hello there,

Am using your extension and am running into some issues I can't figure out.

I use to have a bunch of blogs under the subdomain
poproxnation.thekartel.com.

On my CPanel I set up a redirect for the subdomain and all wildcards to point to
thekartel.com/news/pop-rox-nation.html

This is where I'm having some trouble. I want all blogs under this previous subdomain to just point to
thekartel.com/news/pop-rox-nation.html

ie.
poproxnation.thekartel.com
poproxnation.thekartel.com/blogs
poproxnation.thekartel.com/blogs/1010/
poproxnation.thekartel.com/blogs/1010/index011.html

I tried variations of poproxnation.thekartel.com/*$ and such but it doesn't seem to work. Any idea what I'm doing wrong?

Thanks.
L'Argomento è stato bloccato.

Using ReDJ and another Redirect extension 13 Anni, 10 Mesi fa #1827

I seemed to have noticed that I can't run two redirect extensions at once. Is that correct? It seems like it should work. The other extension makes it much easier for me to see an error come up, and then type in the correct URL it should go to, and then archive that error.

As such, I wanted this extension to run 1st.

Then I wanted your extension to run so that I can capture all remaining redirects that can be done through your dynamic redirects.

Do you know if I can or can't do this?
L'Argomento è stato bloccato.

Re: Problem with redirecting subdomain URLs 13 Anni, 10 Mesi fa #1828

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Yes.

ReDJ works using REQUEST_URI, which doesn't contain the domain part of the URL. So your item is wrong, you should drop the domain part.

If you want to redirect all the blog try this:

From URL: /blog
To URL: http://thekartel.com/news/pop-rox-nation.html


To redirect also the homepage, use an item where "From URL" is ^/$ (means start and end with /).

Let me know.

Best regards,
Luigi
L'Argomento è stato bloccato.

Re: Problem with redirecting subdomain URLs 13 Anni, 10 Mesi fa #1869

admin ha scritto:
Yes.

ReDJ works using REQUEST_URI, which doesn't contain the domain part of the URL. So your item is wrong, you should drop the domain part.

If you want to redirect all the blog try this:

From URL: /blog
To URL: http://thekartel.com/news/pop-rox-nation.html


To redirect also the homepage, use an item where "From URL" is ^/$ (means start and end with /).

Let me know.

Best regards,
Luigi


Thanks Luigi,

However, what if I have several subdomains previously?
ie.
PopRoxNation.thekartel.com
GoGoMob.thekartel.com
Quest4000.thekartel.com

If I only included:
From URL: /blog

How would it know which subdomain it was from?

John
L'Argomento è stato bloccato.

Re: Problem with redirecting subdomain URLs 13 Anni, 10 Mesi fa #1870

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
You can't.

But maybe I don't get you request:

This is where I'm having some trouble. I want all blogs under this previous subdomain to just point to thekartel.com/news/pop-rox-nation.html


So, I would like to understand the problem.

Now you have a Joomla site (with ReDJ) under thekartel.com, and from the CPanel you configure a lot of third level subdomains, and all of these are "served" by this Joomla site. And you would like to manage them as they are different requests from different sites (one Joomla, many sites).

Is this correct?

Luigi
L'Argomento è stato bloccato.

Re: Problem with redirecting subdomain URLs 13 Anni, 10 Mesi fa #1874

Yes, my question was for a specific subdomain. But I was going to apply that same concept to several subdomains I once had under one domain.

I don't want to use subdomains anymore, so I'm trying to redirect several URLS from before that were under a subdomain. So it would look like:

Pop.TheKartel.com/blog
would now point to
TheKartel.com/Pop/blog
L'Argomento è stato bloccato.

Re: Problem with redirecting subdomain URLs 13 Anni, 10 Mesi fa #1876

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
If inside Pop.TheKartel.com there's Joomla+ReDJ you could redirect Pop.TheKartel.com/blog to TheKartel.com/blog, except if this domain (TheKartel.com) is THE SAME Joomla+ReDJ, just because you can't stop ReDJ to loop.

So, you should try with another solution that check also dor domain part. I'm checking if I can add this feature in the next ReDJ version (leaving compatibility with old ReDJ versions).

Best regards,
Luigi
L'Argomento è stato bloccato.
  • Pagina:
  • 1
Moderatori: admin
Tempo generazione pagina: 0.64 secondi
Cerca con Google
News
Chi è online
 170 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.