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

New multi-category blog/portal (ReDj settings)
(1 Online) (1) Ospite

ARGOMENTO: New multi-category blog/portal (ReDj settings)

Re: New multi-category blog/portal (ReDj settings) 13 Anni, 10 Mesi fa #1825

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Hi,
Facebook likes are based on the URL, so if you change the URL with a redirect (e.g. because you want a short or a new one), for Facebook the URL is different and no likes are preserved.

A solution could be an "internal redirect", but is possible and useful only if you can leave the same URL and just want to change the "content" inside it.

Hope I was clear.

Best regards,
Luigi
L'Argomento è stato bloccato.

Re: New multi-category blog/portal (ReDj settings) 13 Anni, 9 Mesi fa #1921

admin ha scritto:
Welcome back.

1. If I want to redirect all the news from a section to another, like "mysite.com/news/music/" to "mysite.com/news/"
Do I have to write "^/news/music/*$" in one, and the other "http://{siteurl}/news/" right?


Yes. With this you redirect all articles under /music to the news home.

Let me know if you solve.

Best regards,
Luigi

So, my url's look like this:
www.mysite.com/news/music/item/1097-new-album-from-mj.html
And if I do the following thing you told me, my url's will look like this:
www.mysite.com/news/item/1097-new-album-from-mj.html
But if I want them to be displayed without the "/item/1097" & ".html" so it would show the links without loosing my rank in sites like google,like this:
www.mysite.com/news/new-album-from-mj

What do I have to do about it?
L'Argomento è stato bloccato.

Re: New multi-category blog/portal (ReDj settings) 13 Anni, 9 Mesi fa #1923

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
The only way is to create internale redirect, but for each article you want to redirect. As example:

From URL: ^/news/new-album-from-mj$
To URL: http://{siteurl}/news/music/item/1097-new-album-from-mj.html
Redirect: 200 (internal)


So when user call:

www.mysite.com/news/new-album-from-mj

He get:

www.mysite.com/news/music/item/1097-new-album-from-mj.htm

Without any url changes in address bar. But this must be done for each article, because in the source URL a part of the slug information (1097) is missing, so there is no macro available at the moment to get it. I'm planning to do something like this in future, but for now is not implemented yet.

Best regards,
Luigi
L'Argomento è stato bloccato.

Re: New multi-category blog/portal (ReDj settings) 13 Anni, 9 Mesi fa #1930

admin ha scritto:
The only way is to create internale redirect, but for each article you want to redirect. As example:

From URL: ^/news/new-album-from-mj$
To URL: http://{siteurl}/news/music/item/1097-new-album-from-mj.html
Redirect: 200 (internal)


So when user call:

www.mysite.com/news/new-album-from-mj

He get:

www.mysite.com/news/music/item/1097-new-album-from-mj.htm

Without any url changes in address bar. But this must be done for each article, because in the source URL a part of the slug information (1097) is missing, so there is no macro available at the moment to get it. I'm planning to do something like this in future, but for now is not implemented yet.

Best regards,
Luigi

I want redirect .
my normal url
www.mysite.com/news/music/item/1097-new-album-from-mj.html

I remove .html with the help of global configuration of joomla, "Add suffix to URLs" and mark it on "no". So which macro should I give so all of my url's that I call that had .html go to urls without .html?
www.mysite.com/news/music/item/1097-new-album-from-mj
L'Argomento è stato bloccato.

Re: New multi-category blog/portal (ReDj settings) 13 Anni, 9 Mesi fa #1932

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
This destination should work:

http://{host}/{pathrtrim .html}{queryfull}


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

Re: New multi-category blog/portal (ReDj settings) 13 Anni, 9 Mesi fa #1935

admin ha scritto:
This destination should work:

http://{host}/{pathrtrim .html}{queryfull}


Best regards,
Luigi

First i do this to move the sub folder to primary
FROM:^/news/music/*$
TO:http://{siteurl}/news/


and after i remove the ".html" with "Add suffix to URLs", and all the url's that had .html
to redirect to url's without .html
And what macro do I write in redj??
From: ?
To:?

Many apologies for all this explanation but am trying not to do anything wrong and understand your program.
L'Argomento è stato bloccato.

Re: New multi-category blog/portal (ReDj settings) 13 Anni, 9 Mesi fa #1936

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
If you create two items you will get two redirects, and this is not so pretty.

This could be done with a single item using a regexp macro, but this is not for community version.

If you agree with the two redirects, the items should be:

FROM:^/news/music/
TO:http://{siteurl}/news/{pathltrim /news/music/}{queryfull}
 
FROM:^/news/
TO:http://{host}/{pathrtrim .html}{queryfull}
 


The first item drop the music folder from url, and the second drop the .html at the end. Beware to put thew first one BEFORE the second one.

Best regards,
Luigi
L'Argomento è stato bloccato.

Re: New multi-category blog/portal (ReDj settings) 13 Anni, 9 Mesi fa #1937

admin ha scritto:
If you create two items you will get two redirects, and this is not so pretty.

This could be done with a single item using a regexp macro, but this is not for community version.

If you agree with the two redirects, the items should be:

FROM:^/news/music/
TO:http://{siteurl}/news/{pathltrim /news/music/}{queryfull}
 
FROM:^/news/
TO:http://{host}/{pathrtrim .html}{queryfull}
 


The first item drop the music folder from url, and the second drop the .html at the end. Beware to put thew first one BEFORE the second one.

Best regards,
Luigi

i have bay the Enterprise version!
L'Argomento è stato bloccato.

Re: New multi-category blog/portal (ReDj settings) 13 Anni, 9 Mesi fa #1938

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
So,
I will prepare a regexp for you.

Let me make some tests on my local site.

I'll be back soon.

L.
L'Argomento è stato bloccato.

Re: New multi-category blog/portal (ReDj settings) 13 Anni, 9 Mesi fa #1949

admin ha scritto:
So,
I will prepare a regexp for you.

Let me make some tests on my local site.

I'll be back soon.

L.

any new?
L'Argomento è stato bloccato.
Moderatori: admin
Tempo generazione pagina: 1.01 secondi
Cerca con Google
News
Chi è online
 205 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.