• Home
  • Get help
  • Ask a question
Last post 6 hours 7 min ago
Posts last week 141
Average response time last week 4 hours 42 min
All time posts 67794
All time tickets 10475
All time avg. posts per day 21

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#7017 – Links in a Joomla module aren't working

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Wednesday, 25 March 2020 11:13 UTC
andrea2002
 Dear Support,

I installed Sh404Sef in this web site: http://www.xxxx.com/anto49/

all links are working well.
The only exception are the links in the OR * OSCO * PO OF THE SE * TTIM * ANA module.
See my attachment.
Its code is this:

<a class="zodiac-link" href="/oroscopo-della-settimana-ariete.html"> <img src="/anto49/images/icone-dei-12-segni-zodiacali/ariete.png" alt="ariete" width="120" /><h3>Ariete</h3></a>
<a class="zodiac-link" href="/oroscopo-della-settimana-toro.html"> <img src="/anto49/images/icone-dei-12-segni-zodiacali/toro.png" alt="toro" width="120" /><h3>Toro</h3></a>
<a class="zodiac-link" href="/oroscopo-della-settimana-gemelli.html"> <img src="/anto49/images/icone-dei-12-segni-zodiacali/gemelli.png" alt="gemelli" width="120" /><h3>Gemelli</h3></a>
<a class="zodiac-link" href="/oroscopo-della-settimana-cancro.html"> <img src="/anto49/images/icone-dei-12-segni-zodiacali/cancro.png" alt="cancro" width="120" /><h3>Cancro</h3></a>
<a class="zodiac-link" href="/oroscopo-della-settimana-leone.html"> <img src="/anto49/images/icone-dei-12-segni-zodiacali/leone.png" alt="leone" width="120" /><h3>Leone</h3></a>
<a class="zodiac-link" href="/oroscopo-della-settimana-vergine.html"> <img src="/anto49/images/icone-dei-12-segni-zodiacali/vergine.png" alt="vergine" width="120" /><h3>Vergine</h3></a><br>
<a class="zodiac-link" href="/oroscopo-della-settimana-bilancia.html"> <img src="/anto49/images/icone-dei-12-segni-zodiacali/bilancia.png" alt="bilancia" width="120" /><h3>Bilancia</h3></a>
<a class="zodiac-link" href="/oroscopo-della-settimana-scorpione.html"> <img src="/anto49/images/icone-dei-12-segni-zodiacali/scorpione.png" alt="scorpione" width="120" /><h3>Scorpione</h3></a>
<a class="zodiac-link" href="/oroscopo-della-settimana-sagittario.html"> <img src="/anto49/images/icone-dei-12-segni-zodiacali/sagittario.png" alt="sagittario" width="120" /><h3>Sagittario</h3></a>
<a class="zodiac-link" href="/oroscopo-della-settimana-capricorno.html"> <img src="/anto49/images/icone-dei-12-segni-zodiacali/capricorno.png" alt="capricorno" width="120" /><h3>Capricorno</h3></a>
<a class="zodiac-link" href="/oroscopo-della-settimana-acquario.html"> <img src="/anto49/images/icone-dei-12-segni-zodiacali/acquario.png" alt="acquario" width="120" /><h3>Acquario</h3></a>
<a class="zodiac-link" href="/oroscopo-della-settimana-pesci.html"> <img src="/anto49/images/icone-dei-12-segni-zodiacali/pesci.png" alt="pesci" width="120" /><h3>Pesci</h3></a>

I got 404 error from these links
I'll be gratefull if you may help me to solve this problem.
Thank you very much.
A nice day
Andrew
Wednesday, 25 March 2020 11:19 UTC
wb_weeblr
Hi

I installed Sh404Sef in this web site: http://www.xxxx.com/anto49/
Please only provide full and real links. Not much can be done without looking at the real site.

The only exception are the links in the OR * OSCO * PO OF THE SE * TTIM * ANA module.
What kind of module is that? Custom HTML? How were the links inside the module created ?

Best regards

Yannick Gaultier
weeblr.com
@weeblr
 
Wednesday, 25 March 2020 16:03 UTC
andrea2002
Dear Yannick,

the link posted by me is real.
The domain http://www.xxxx.com/anto49/ is an web hosting where I build the web site for my customers.
This web site is managed by my customer in his website here: http://www.xxxx.it/anto49/
This is the updated version where he is working now.
I think it will be finished in 1 to 2 weeks. I had a problem with a series of links that had IDs in the URLs and with Sh404sef I solved it.
The web site will be published in the main root http://www.xxxx.it
The only problem left is represented by that group of links in the Joomla custom module.
Let me know if you need admin keys or how I may help you to solve the problem.

Thank you very much.
Kind regards
Andrew
Wednesday, 25 March 2020 16:25 UTC
wb_weeblr
Hi Andrew,

Sorry about that, I thought the * was a way to conceal some characters!

Let me know if you need admin keys or how I may help you to solve the problem.
I'd just need to know what's the module type and how you created those links inside it.

If by "custom module" you mean a "Custom HTML" module, then there are 2 likely reasons for this:

- you created the links by entering directly the SEF URL, ie /oroscopo-della-settimana-ariete.html. This cannot work with sh404SEF which needs to be informed by Joomla of the fact that URL exists (I assume that URL is not linked from anywhere else?). Instead, you should create links using the Joomla standard form, index.php?option=com_content&view=article&id=xxx&Itemid=yyy. This is safer than entering directly SEF URLs (in case of future changes) and is fairly easily done by using an editor such as JCE.

- if you indeed created the links as non-sef URLs ( index.php?option=com_content&view=article&id=xxx&Itemid=yyy) then most likely the "Prepare content" option is disabled in the module settings and Joomla is not seeing those links. Enable "Prepare content", reload a page with that module and the links should be created. They will then appear in the SEF URL manager.

Best regards

Yannick Gaultier
weeblr.com
@weeblr
 
Thursday, 26 March 2020 11:31 UTC
andrea2002
Dear Yannick,

thank you very much for your reply.

Here are my admin keys: http://www.xxxx.com/anto49/administrator

- U: xxxx

- P: xxxx

I followed your first suggest and I replaced the SEF URLs with links using the Joomla standard form:
index.php?option=com_content&view=article&id=xxx&Itemid=yyy in the Custom HTML module called OROSCOPO DELLA SETTIMANA
in the home page.

Until yesterday the SEF URLs in this module came from a hidden module made by me. If you go to MENU --> NASCOSTO (HIDDEN)
you'll find these URLs
I tested on the first three zodiac signs: Ariete, Toro e Gemelli the links using the Joomla standard form:
index.php?option=com_content&view=article&id=xxx&Itemid=yyy and they are working well
how you suggested me.

I noticed an interesting thing: when I click on the 3 signs (Ariete, Toro e Gemelli) then the linked page
that appears has a SEF link. This is good.
It's normal?

If I like to change the meta tag TITLEs in these categories articles:
- http://www.xxxx.com/anto49/archivio-ricette/
- http://www.xxxx.com/anto49/archivio-nomi-di-persona.html
- http://www.xxxx.com/anto49/archivio-superstizioni.html
- http://www.xxxx.com/anto49/erbe-aromatiche-e-primaverili.html
- http://www.xxxx.com/anto49/come-conquistare.html
- http://www.xxxx.com/anto49/influenze-dei-piante-tutti-i-segreti.html

where have I to go? Now article TITLE and meta tag TITLE are the same in these articles.

---------------------
http://www.xxxx.com/anto49/archivio-ricette/ belongs to Articles » Category Blog
and it hasn't HTML suffix in URL.
Is it possible to add it?

Thank you very much!
A nice afternoom.
Andrew




















Thursday, 26 March 2020 12:10 UTC
wb_weeblr
Hi

Until yesterday the SEF URLs in this module came from a hidden module made by me. If you go to MENU --> NASCOSTO (HIDDEN)

you'll find these URLs
URLs are created when they are needed by Joomla. If those links appear in a hidden module, they are not created and therefore other places were the links are found (in direct SEF form) will generate 404.

Can I ask why you would put content in a hidden module?

I tested on the first three zodiac signs: Ariete, Toro e Gemelli the links using the Joomla standard form:

index.php?option=com_content&view=article&id=xxx&Itemid=yyy and they are working well

how you suggested me.



I noticed an interesting thing: when I click on the 3 signs (Ariete, Toro e Gemelli) then the linked page

that appears has a SEF link. This is good.

It's normal?
And those links now work fine to me, all is normal.

If I like to change the meta tag TITLEs in these categories articles:

- http://www.xxxx.com/anto49/archivio-ricette/

- http://www.xxxx.com/anto49/archivio-nomi-di-persona.html

- http://www.xxxx.com/anto49/archivio-superstizioni.html

- http://www.xxxx.com/anto49/erbe-aromatiche-e-primaverili.html

- http://www.xxxx.com/anto49/come-conquistare.html

- http://www.xxxx.com/anto49/influenze-dei-piante-tutti-i-segreti.html



where have I to go? Now article TITLE and meta tag TITLE are the same in these articles.
This is a different question, right?

Anyway, I checked

- http://www.xxxx.com/anto49/archivio-ricette/
- http://www.xxxx.com/anto49/archivio-nomi-di-persona.html
- http://www.xxxx.com/anto49/archivio-superstizioni.html

And they look ok: they do NOT have the same page title or meta. They have nothing in common at all. Maybe you fixed that already somehow? Did I miss something?

Best regards

Yannick Gaultier
weeblr.com
@weeblr




 
Thursday, 26 March 2020 15:19 UTC
andrea2002
Dear Yannick,

thank you for your reply.

YOUR QUESTION: Can I ask why you would put content in a hidden module?

MY REPLY: The web site has different categories layouts:
- http://www.xxxx.com/anto49/archivio-ricette/
- http://www.xxxx.com/anto49/archivio-nomi-di-persona.html
- http://www.xxxx.com/anto49/archivio-superstizioni.html
- http://www.xxxx.com/anto49/erbe-aromatiche-e-primaverili.html
- http://www.xxxx.com/anto49/come-conquistare.html
- http://www.xxxx.com/anto49/influenze-dei-piante-tutti-i-segreti.html

all layouts are made by RAXO All-mode PRO module.
I used hidden menus to have more control on SEO menu items building and thus I made some hidden menus as:
- nascosto
- nascosto come conquistare
- nascosto erbe
- nascosto nomi persona
- nascosoto oroscopo
- nascosto ricette
- nascosto supersitizioni

I didn't know that after installing Sh404Sef they would stop working.
What do you recommend to do to solve the problem?

-----------------------
YOUR QUESTION: And they look ok: they do NOT have the same page title or meta.
They have nothing in common at all. Maybe you fixed that already somehow? Did I miss something?

MY REPLY: Yes, it is another question. I ask for this because if some month I need to change the meta tag TITLE how I can get this?

Thank you very much for your help!!!
A nice afternoom
Andrew



Thursday, 26 March 2020 16:10 UTC
wb_weeblr
Hi

I used hidden menus to have more control on SEO menu items building and thus I made some hidden menus as:
Hidden menus are fine and common. You said "Hidden modules" so that was something new!

I need to change the meta tag TITLE how I can get this?
You can change page title and all meta data by clicking on any URL in the SEF URL manager.

Best regards

Yannick Gaultier
weeblr.com
@weeblr


 
Friday, 27 March 2020 08:47 UTC
andrea2002
Hi,
thank you very much for your help!

YOU WROTE: Hidden menus are fine and common. You said "Hidden modules" so that was something new!

MY REPLY: I wrote "hidden module". Excuse me. I meant a hidden menu.
I didn't know that after installing Sh404Sef the links in hidden menus would stop working.
What do you recommend to do to solve the problem?

Thank you very much.
Regards
Andrew
Friday, 27 March 2020 10:19 UTC
wb_weeblr
Hi

I didn't know that after installing Sh404Sef the links in hidden menus would stop working.

What do you recommend to do to solve the problem?
The important thing to undestand here is how sh404SEF differs a bit from Joomla.:

- when using Joomla, URLs are not "pre-built". Joomla does not need to learn about a URL before using it. When a request comes for, for example: /my-article, Joomla looks at the URL and tries to decode it on the fly, identify the non-sef version (index.php?option=com_content....) which is the only it can use to respond.
So even if the links in your module have never been displayed, they will still work with Joomla

- when using sh404SEF, we have a preliminary phase where we build the SEF URL based on the non-sef URL and we store both in the database. The URL building happens the first time a URL is needed (to be displayed on a page for instance). It only happens once and then the URL is stored in the database and can be used for ever. We do this for mostly 2 reasons: build URLs that not attached to menu items (a major SEO issue in Joomla) and also to have a list of pages of the site and easily enter meta, OGP, aliases, etc

This is why if a link only exists in a hidden module, it will never be displayed, is never created and therefore will generate a 404.

Here is what I can say at this point: one solution and one question:

1 - Solution: In your case, the solution I recommend is instead of setting the module to be "hidden", set it to display (to any module position on your template) but with an access level of Super user. After logging in as a super user on the front end, you will be able to view the module and therefore sh404SEF will create the links: they will be stored in the database and will work normally. In addition, you have the added benefit of being able to access those pages easily, from a menu.

2 - Question: those links appear to be archive pages. The question is: why is the module hidden? why are those pages not linked from anywhere else? how can your visitors find those pages if you do not link them from anywhere else?

Best regards

Yannick Gaultier
weeblr.com
@weeblr
 
Friday, 27 March 2020 12:31 UTC
andrea2002
Dear Yannick,

thank you very much!

You wrote: ....The URL building happens the first time a URL is needed (to be displayed on a page for instance). It only happens once and then the URL is stored in the database and can be used for ever.....
---------
Does this mean that I will have to click on each link in the front end to build each web site link that will be stored in the Sh404sef database?
Or does Sh404sef make this automatically?

You told I used a "hidden module".
But I simply added a module (RAXO) into an Joomla article.
Is this what doesn't let Sh404Sef work?
***************
1 - Solution: do you have a detailed tutorial explaining how to do this?

2 - Question: those links appear to be archive pages. The question is: why is the module hidden?
why are those pages not linked from anywhere else? how can your visitors find those pages if you do not link them from anywhere else?
--------------
The web site has 240 web pages (articles). Where can I publish 240 links to these web pages?
I want to give importance to the web pages with these categories (see below). Then search engines will follow the links.
The categories pages use "prev" and "next" tags. Then I'll install JSitemap extension.

- http://www.xxxx.com/anto49/archivio-ricette/
- http://www.xxxx.com/anto49/archivio-nomi-di-persona.html
- http://www.xxxx.com/anto49/archivio-superstizioni.html
- http://www.xxxx.com/anto49/erbe-aromatiche-e-primaverili.html
- http://www.xxxx.com/anto49/come-conquistare.html
- http://www.xxxx.com/anto49/influenze-dei-piante-tutti-i-segreti.html

You're right that the visitor will have to search for the web pages, but I don't see any other solution.
Have you a better solution?

-----------------------------------
http://www.xxxx.com/anto49/archivio-ricette/ belongs to Articles » Category Blog
and it hasn't HTML suffix in URL.
Is it possible to add it?

Thank you very much!!!
A nice weekend
Andrew



Friday, 27 March 2020 14:39 UTC
wb_weeblr
Hi

Does this mean that I will have to click on each link in the front end to build each web site link that will be stored in the Sh404sef database?
Nope. I did not say that each page needs to be displayed. I said that a link is created when the link is displayed.. For instance, when you load the home page, all the links on that page are created - all the links in your menus, in the module on your home page, etc It's done onces and for good.
Now if you, or someone else, or a search engines bots (the most common case) click on one of the links on your home page, this will open another page and all the links on that second page will be created and stored in sh404SEF database. As this page probably also has your menu, those links actually don't need to be created again as we already have them in the database.

So basically when you are developing the site, you create and store URLs as you click around. And when the site is live, search engines will crawl all pages, which will create all links as needed.

You can use a sitemap maker or a broken link checker to do this yourself ahead of times, but it's not needed.

1 - Solution: do you have a detailed tutorial explaining how to do this?
Sorry now, that's standard Joomla stuff, we do have anything on that. Each module has an "Access" setting which you can set to an "Access level". Users have an access level based on their user group and only users with that access level can view the module (they need to login on the front end to see the module). Access levels are defined under "Users " -> "Access levels" and Joomla comes with a few predefined ones that you can surely use.

The web site has 240 web pages (articles). Where can I publish 240 links to these web pages?
I don't know, it depends on your site navigation. The question you have to ask yourself is : how are your users going to access those pages, that's all I'm asking.

I want to give importance to the web pages with these categories (see below). Then search engines will follow the links.

The categories pages use "prev" and "next" tags. Then I'll install JSitemap extension.
So I think I understand it will not be possible for a user arriving at your home page to navigate and find those articles? you want to rely on providing a sitemap to search engines, and then people will only find a given article if they search for it in Google?

If I understand correctly, then this is not going to give very good result. It's very unlikely anyone will find your pages.

The first problem is that search engines only use a sitemap as a hint. They will not load and index a page just because it's in your sitemap. And certainly not if there is no link to thoses articles from your site. That's a no go. Don't do that.

A common site structure is to have a menu link that goes to a "Blog" category view. In a blog view of a category, Joomla will list all articles in that category. So with one menu link, you provide a navigation path for users to find all articles inside a given category.

So with only a few links in your menu, you can "open" all your site's articles to your visitors (and search engines).

This is definitely not related to sh404SEF so I can't really go much further but I think you need to give some thoughts to your site structure before going any further.

Note that as soon you have those those categories linked from your menu, all links will be created properly by sh404SEF very quickly when you navigate to those category pages.

http://www.xxxx.com/anto49/archivio-ricette/ belongs to Articles » Category Blog

and it hasn't HTML suffix in URL.

Is it possible to add it?
We do not add html suffix to categories, that's for article. Actually, unless you have URLs from the past, already indexed in Google for instance, we do not recommend using .html suffix in URLs, that's just a waste of characters.

Best regards

Yannick Gaultier
weeblr.com
@weeblr

 
Monday, 30 March 2020 15:34 UTC
andrea2002
Dear Yannick,

YOU WROTE: 1 - Solution: do you have a detailed tutorial explaining how to do this?

Sorry now, that's standard Joomla stuff, we do have anything on that. Each module has an "Access" setting which you can set to an "Access level". Users have an access level based on their user group and only users with that access level can view the module (they need to login on the front end to see the module). Access levels are defined under "Users " -> "Access levels" and Joomla comes with a few predefined ones that you can surely use.

MY REPLY: During the weekend I entered Sh404sef and deleted all the links from the database.
After that I checked all the links of the categories:
- http://www.xxxx.com/anto49/archivio-ricette/
- http://www.xxxx.com/anto49/archivio-nomi-di-persona.html
- http://www.xxxx.com/anto49/archivio-superstizioni.html
- http://www.xxxx.com/anto49/erbe-aromatiche-e-primaverili.html
- http://www.xxxx.com/anto49/come-conquista.html
- http://www.xxxx.com/anto49/influenze-dei-piante-tutti-i-segreti.html

All links to categories articles are working properly. I found no 404 error.
May this be a solution to this question?

----------------------------------
YOU WOTE: I want to give importance to the web pages with these categories (see below). Then search engines will follow the links.

The categories pages use "prev" and "next" tags. Then I'll install JSitemap extension.

So I think I understand it will not be possible for a user arriving at your home page to navigate and find those articles? you want to rely on providing a sitemap to search engines, and then people will only find a given article if they search for it in Google?

If I understand correctly, then this is not going to give very good result. It's very unlikely anyone will find your pages.

The first problem is that search engines only use a sitemap as a hint. They will not load and index a page just because it's in your sitemap. And certainly not if there is no link to thoses articles from your site. That's a no go. Don't do that.

A common site structure is to have a menu link that goes to a "Blog" category view. In a blog view of a category, Joomla will list all articles in that category. So with one menu link, you provide a navigation path for users to find all articles inside a given category.

So with only a few links in your menu, you can "open" all your site's articles to your visitors (and search engines).

This is definitely not related to sh404SEF so I can't really go much further but I think you need to give some thoughts to your site structure before going any further.

Note that as soon you have those those categories linked from your menu, all links will be created properly by sh404SEF very quickly when you navigate to those category pages.
------------
MY REPLY: From the beginning all categories links are placed in the horizontal menu located under the slide show.
Perhaps this detail had eluded you.
I don't understand the difference between the category pages structure in my site and a normal e-commerce site structure.
If I have the Nike shoes category this will be similar to one of the 6 categories of mine.
In my web site each category contains links to various articles; the same happens for the Nike shoes category which will contain the links to the product sheets with the various Nike shoe models.

Please tell me if I'm wrong.

Thank you very much for your valuable help!
A nice evening.
Andrew







Monday, 30 March 2020 16:48 UTC
wb_weeblr
Hi

MY REPLY: From the beginning all categories links are placed in the horizontal menu located under the slide show.

Perhaps this detail had eluded you.

I don't understand the difference between the category pages structure in my site and a normal e-commerce site structure.

If I have the Nike shoes category this will be similar to one of the 6 categories of mine.

In my web site each category contains links to various articles; the same happens for the Nike shoes category which will contain the links to the product sheets with the various Nike shoe models.
Not sure what this has to do with that. There is no difference, ecommerce or articles are exactly structured in the same way.

All this discussion happened because you said that some links in a module were not working. And then you said something that I understood as "those articles are not linked from anywhere on the site except from the module which is not displayed anywhere (and people were supposed to find the articles by searching in Google and not be able to navigate to them by means of menu and categories)."

Apparently this is not the case and articles are linked from categories as is most common. In that case, there's no problem anywhere. The links will be created as soon as someone (you or a search engines) displays a category page.
This probably explains why the links are now working.
And the likely reason they were not working was maybe caching?

Best regards

Yannick Gaultier
weeblr.com
@weeblr
 
Tuesday, 31 March 2020 16:10 UTC
andrea2002
Hi Yannick,
thank you very much for your replies!

YOU WROTE: And the likely reason they were not working was maybe caching?
----------
MY REPLY: Joomla cache isn't working. Perhaps it depends by Sh404 database?
It has been updated since the links were not working.

If I go to SEF URL Panel (in Sh404) and then I delete all links. Then will I lose also the meta tags added in TITLES AND METAS Panel?

This is the last question :)

Thank you very much for every thing!!!
A nice evening
Andrew
Tuesday, 31 March 2020 16:25 UTC
wb_weeblr
Hi

Joomla cache isn't working. Perhaps it depends by Sh404 database?
There is no relationship between Joomla caching and sh404SEF.

If I go to SEF URL Panel (in Sh404) and then I delete all links. Then will I lose also the meta tags added in TITLES AND METAS Panel?
No, they are stored separately. You can try by deleting one single URL.

Best regards

Yannick Gaultier
weeblr.com
@weeblr
 
Wednesday, 01 April 2020 15:14 UTC
andrea2002
Thank you very much for your help.
Kind regards
Andrew
Wednesday, 01 April 2020 16:13 UTC
wb_weeblr
Hi Andrew

You're welcome! Closing this ticket now, feel free to open a new one as needed. If you do so, please mention this ticket number in the new one.

If you created any superadmin account for us, be sure to delete or block it now to avoid unnecessary risk in the future.

Be sure to also check out wbAMP, our Accelerated Mobiles pages plugin for Joomla - without AMP, you're missing out on mobile visitors!



Best regards

Yannick Gaultier
weeblr.com
@weeblr
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.