Page 1 of 1

unknown created link and to redirect

Posted: Mon Apr 06, 2020 7:19 pm
by mal2moh
Hi
Good time.
I have the following link
https://www.manisoft.ir/?view=article&i ... ng&catid=2

The first question:
Why is this link created as follows, if its correct state is as follows:
https://www.manisoft.ir/news/premiere-pro-mix-editing

The second question:
Whatever I do, both with htaccess and with Joomla redirect, the first link to the second is not redirect. What to do?
Thank you for guiding me.

Re: unknown created link and to redirect

Posted: Fri Apr 10, 2020 1:47 am
by davidnguyen
As far as I know, the 1st link is automatically generated by Joomla system. You have to enable SEF URL to make it look like the second.

For your second question, instead of using the redirect system, you can consider using a canonical tag for the URL. By that way, the search engine will identify what is the canonical version of your URL. So you don't have to worry about Google will index the wrong one.

Re: unknown created link and to redirect

Posted: Fri Apr 10, 2020 8:59 am
by mal2moh
many thanks, i hope solve this on new update joomla.
please tell me what best do way for canonical tag?

Re: unknown created link and to redirect

Posted: Fri Apr 10, 2020 10:50 am
by Per Yngve Berg
Your first link is missing a Menu Item (&Itemid=xx)

The SEF URL is constructed using the Menu Item 'News'.

Re: unknown created link and to redirect

Posted: Fri Apr 10, 2020 11:25 am
by mal2moh
you right.
when i search on google by آموزش میکس فیلم عروسی
found
https://www.manisoft.ir/?view=article&i ... ng&catid=2
but correct link is
https://www.manisoft.ir/news/premiere-pro-mix-editing
content with alias : premiere-pro-mix-editing on news category : news and create menu for news category.
i want direct below link
https://www.manisoft.ir/?view=article&i ... ng&catid=2
to
https://www.manisoft.ir/news/premiere-pro-mix-editing
not work!!!
please tell me why?

Re: unknown created link and to redirect

Posted: Tue Apr 14, 2020 9:05 am
by davidnguyen
mal2moh wrote:
Fri Apr 10, 2020 8:59 am
many thanks, i hope solve this on new update joomla.
please tell me what best do way for canonical tag?
Some Joomla templates have already built the canonical system inside their template. Otherwise, I think it best to use an extension: https://extensions.joomla.org/instant-s ... =canonical

There are free and paid, if you plan for Free you could check out: Custom Canonical by Daniel Moreli