url's to reach MyBlog content instead of Joomla content

15 years 3 months ago #4765 by wadzaloo
Dear All,

I am using Myblog 3.0 from Azrul now as main interface for my site (Joomla 1.5.12)

For SEF, i am obviously using SEF Advance 2008 ...

My concern is about the difference of SEF url's :

With my parameters,  SEF generate url as : www.mysite.com/section/alias
==> this go to articles in "joomla content template "

My blog component generate url as        : www.mysite.com/myblog/permalink ==> this go to articles in "myblog content template"

As i am currently using the 1st type of url (and lot of external sites uses my adresses in this format), is there a trick to avoid the usage of the 2nd one ??

Exemple ; the same article use :

http://www.legrattonaute.net/blog/williamson-redbee-muzicosphere/                                                
Good url but Joomla content template (i don't want to use this template anymore)

http://www.legrattonaute.net/myblog/red-bee-une-guitare-a-gagner-sur-muzicospha-re.html            
Myblog url that break all my previous links (internal & external)


Actually, this create a big issue for the users

Thanks by advance for your support (and sorry if my request is not clear..)

Please Log in or Create an account to join the conversation.

15 years 3 months ago #4767 by Saka
If you use myBlog component then you have to use its URLs too.

You can't avoid usage of myBlog URLs, you can only redirect built-in URLs to the new format using .htaccess (if titles are same).

You could use something like:
RedirectMatch /blog/(.*) /myblog/$1

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

15 years 3 months ago #4775 by wadzaloo
Thank you Saka.

Unfortunatly, MyBlog don't use Joomla alias to create URL but a "permalink" based on title.
A mess  :'(

Please Log in or Create an account to join the conversation.

15 years 3 months ago #4781 by wadzaloo
Yes. Regarding answers from Azrul, no other way to:

- replicate all previous Joomla content article alias to my blog "permalink"
- redirect the url by using Saka's advice (see above)

By doing this, it works (i.e for exemple you can use a Joomla module "latest news" where links go normally to Joomla content..)

Unfortunatly, i have more than 500 permalinks to change  ::)

But this thread can be closed  ;)

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch