Weblinks component and direct address for SEO

Discuss the development and implementation of Joomla! components here.

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.
Locked
raschidt
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 233
Joined: Mon Aug 22, 2005 7:01 pm
Contact:

Weblinks component and direct address for SEO

Post by raschidt » Fri Oct 20, 2006 8:19 pm

Hi.

The web links components don´t works for SEO, the way that it works don´t pass the Page Rank to the other addrees.

Then I put in the description the html code for a direct addrees, something like_:

Costa rica Directory stores,
movies, properties, etc.

But the component replace all that by:

Costa rica Directory stores,
movies, properties, etc.


Then I have not way to make direct links.

How can I hack this component?

I really don´t need the counter, i need keept that component, (I won´t loss my PR) but with direct links. How?

thanks

raschidt
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 233
Joined: Mon Aug 22, 2005 7:01 pm
Contact:

Re: Weblinks component and direct address for SEO

Post by raschidt » Sat Oct 21, 2006 3:00 pm

no body knows?

raschidt
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 233
Joined: Mon Aug 22, 2005 7:01 pm
Contact:

Re: Weblinks component and direct address for SEO

Post by raschidt » Sat Oct 21, 2006 5:17 pm

If someone needs that, there is my solution:

In Componentes-com-weblinks:weblinks.html

on line:

136

Original:

Code: Select all

				// cases are slightly different
				case 1:
					// open in a new window
					$txt = '<a href="'. $link .'" target="_blank" class="'. $menuclass .'">'. $row->title .'</a>';

and replace by

Code: Select all

				case 1:
					// open in a new window
					$txt = '<a href="'. $row->url  .'" target="_blank">'. $row->title .'</a>';
					break;

After that I select for each item the option 1 "New window with browser navigation"

and comment the next lines:

Code: Select all

				case 2:
					// open in a popup window
					/* $txt = "<a href=\"#\" onclick=\"javascript: window.open('". $row-> ."', '', 'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=780,height=550'); return false\" class=\"$menuclass\">". $row->title ."</a>\n"; */
:)

jscheving
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Tue Jul 24, 2007 2:15 pm

Re: Weblinks component and direct address for SEO

Post by jscheving » Tue Jul 24, 2007 3:04 pm

This does not give direct link? Is it maybe because I use S404sef?

User avatar
Abcplumb
Joomla! Intern
Joomla! Intern
Posts: 70
Joined: Sun Jan 08, 2012 9:09 am
Contact:

Re: Weblinks component and direct address for SEO

Post by Abcplumb » Fri Jun 21, 2013 7:39 pm

Hi Guys

Does anyone know what to do for joomla 2.5?
I can't submit my site to directories which require reciprocal links placed on my site.
By trade a gas engineer but by passion a graphic designer.


Locked

Return to “Components”