unknown created link and to redirect Topic is solved
-
- Joomla! Apprentice
- Posts: 18
- Joined: Fri Oct 22, 2010 1:41 pm
unknown created link and to redirect
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.
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.
- davidnguyen
- Joomla! Intern
- Posts: 66
- Joined: Thu Sep 06, 2018 9:38 am
- Contact:
Re: unknown created link and to redirect
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.
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.
David Nguyen - JoomlaShine
Joomla Templates: https://www.joomlashine.com/joomla-templates.html
Joomla Page Builder: https://www.joomlashine.com/joomla-exte ... ilder.html
10+ years in Joomla business
Joomla Templates: https://www.joomlashine.com/joomla-templates.html
Joomla Page Builder: https://www.joomlashine.com/joomla-exte ... ilder.html
10+ years in Joomla business
-
- Joomla! Apprentice
- Posts: 18
- Joined: Fri Oct 22, 2010 1:41 pm
Re: unknown created link and to redirect
many thanks, i hope solve this on new update joomla.
please tell me what best do way for canonical tag?
please tell me what best do way for canonical tag?
- Per Yngve Berg
- Joomla! Master
- Posts: 27418
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: unknown created link and to redirect
Your first link is missing a Menu Item (&Itemid=xx)
The SEF URL is constructed using the Menu Item 'News'.
The SEF URL is constructed using the Menu Item 'News'.
-
- Joomla! Apprentice
- Posts: 18
- Joined: Fri Oct 22, 2010 1:41 pm
Re: unknown created link and to redirect
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?
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?
- davidnguyen
- Joomla! Intern
- Posts: 66
- Joined: Thu Sep 06, 2018 9:38 am
- Contact:
Re: unknown created link and to redirect
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
David Nguyen - JoomlaShine
Joomla Templates: https://www.joomlashine.com/joomla-templates.html
Joomla Page Builder: https://www.joomlashine.com/joomla-exte ... ilder.html
10+ years in Joomla business
Joomla Templates: https://www.joomlashine.com/joomla-templates.html
Joomla Page Builder: https://www.joomlashine.com/joomla-exte ... ilder.html
10+ years in Joomla business
-
- Joomla! Apprentice
- Posts: 18
- Joined: Fri Oct 22, 2010 1:41 pm
Re: unknown created link and to redirect
thank you but problem not solved. i have many link like :Per Yngve Berg wrote: ↑Fri Apr 10, 2020 10:50 amYour first link is missing a Menu Item (&Itemid=xx)
The SEF URL is constructed using the Menu Item 'News'.
https://www.manisoft.ir/?view=article&id=649&catid=136
not sef, i try to solve with joomla redirect not solve, try with below code on htaccess :
RewriteCond %{QUERY_STRING} ^view=article&id=649&catid=136$ [NC]
RewriteRule ^(index\.php)?$ /https://www.manisoft.ir/on-eye/how? [L,R=301,NC]
but not solve.
please help me for resolve.
thanks
-
- Joomla! Apprentice
- Posts: 18
- Joined: Fri Oct 22, 2010 1:41 pm
Re: unknown created link and to redirect
link is dead but install another component and problem is solved.davidnguyen wrote: ↑Tue Apr 14, 2020 9:05 amSome 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
thanks.