Modify Article Tag: Remove data-permalink

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.
tomnibus
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Thu Jul 02, 2009 3:23 am

Modify Article Tag: Remove data-permalink

Postby tomnibus » Wed Aug 16, 2017 2:39 pm

Google is indexing pages I don't want indexed. It's coming up with pages that I really don't want public.

I ran a quick "Site Map" plugin to see what URLs it's seeing and I realized that on my home page, I have featured articles and within the source code of the site there are these <article> tags that show a data-permalink option that has the URLs I don't like. For instance, this one:

<article class="uk-article" data-permalink="http://mydomain.org/9-uncatagorized/13-welcome">

I don't want this data-permalink in there! I don't link titles and there is no reason.

So, can I remove this from the system? Or do I create an entry in robots.txt to not index 9-uncatagorized? (I realized it's spelled wrong)

How do I prevent it from including these in google searches?

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

Who is online

Users browsing this forum: No registered users and 3 guests