unknown created link and to redirect

Discuss Search Engine Optimization in relation to Joomla! 3.x. This forum will also have discussions on SEF/SEO Joomla! 3.x extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
mal2moh
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Fri Oct 22, 2010 1:41 pm

unknown created link and to redirect

Post by mal2moh » Mon Apr 06, 2020 7:19 pm

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.

 
User avatar
davidnguyen
Joomla! Intern
Joomla! Intern
Posts: 65
Joined: Thu Sep 06, 2018 9:38 am
Contact:

Re: unknown created link and to redirect

Post by davidnguyen » Fri Apr 10, 2020 1:47 am

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.
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

mal2moh
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Fri Oct 22, 2010 1:41 pm

Re: unknown created link and to redirect

Post by mal2moh » 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?

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 26941
Joined: Mon Oct 27, 2008 9:27 pm
Location: Akershus, Norway

Re: unknown created link and to redirect

Post by Per Yngve Berg » Fri Apr 10, 2020 10:50 am

Your first link is missing a Menu Item (&Itemid=xx)

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

mal2moh
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Fri Oct 22, 2010 1:41 pm

Re: unknown created link and to redirect

Post by mal2moh » Fri Apr 10, 2020 11:25 am

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?

User avatar
davidnguyen
Joomla! Intern
Joomla! Intern
Posts: 65
Joined: Thu Sep 06, 2018 9:38 am
Contact:

Re: unknown created link and to redirect

Post by davidnguyen » Tue Apr 14, 2020 9:05 am

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
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

mal2moh
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Fri Oct 22, 2010 1:41 pm

Re: unknown created link and to redirect

Post by mal2moh » Sun Jul 12, 2020 12:59 pm

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

The SEF URL is constructed using the Menu Item 'News'.
thank you but problem not solved. i have many link like :
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

 

Post Reply

Return to “Search Engine Optimization (Joomla! SEO) in Joomla! 3.x”