seo urls do not work correctly for me Topic is solved

Discuss Search Engine Optimization in relation to Joomla! 4.x. This forum will also have discussions on SEF/SEO Joomla! 4.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.
Locked
pra75020
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Thu Jan 20, 2022 12:43 pm

seo urls do not work correctly for me

Post by pra75020 » Fri Jan 21, 2022 10:57 am

joomla is a fresh install without additional template , with or without aimy sitemap pro extension (no other extension installed) give some strange result you can take a look by your self https://pra.rip
seems working a bit for menus par example :


md5 of .htaccess : e5156e1070893aea9df525fb91b8bed4
config in gui seems good as i saw in tuto


apache is correctly configured (rewrite module loaded)
apache 2 :
>apachectl -V
Server version: Apache/2.4.52 (Debian)
Server built: 2021-12-20T17:42:09
Server's Module Magic Number: 20120211:121
Server loaded: APR 1.7.0, APR-UTIL 1.6.1
Compiled using: APR 1.7.0, APR-UTIL 1.6.1
Architecture: 64-bit
Server MPM: prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_PROC_PTHREAD_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D HTTPD_ROOT="/etc/apache2"
-D SUEXEC_BIN="/usr/lib/apache2/suexec"
-D DEFAULT_PIDLOG="/var/run/apache2.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="mime.types"
-D SERVER_CONFIG_FILE="apache2.conf"

php :
php -v
PHP 8.1.1 (cli) (built: Jan 3 2022 14:34:56) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.1, Copyright (c) Zend Technologies
with Zend OPcache v8.1.1, Copyright (c), by Zend Technologies

php-fpm :
php-fpm8.1 -v
PHP 8.1.1 (fpm-fcgi) (built: Jan 3 2022 14:34:56)
Copyright (c) The PHP Group
Zend Engine v4.1.1, Copyright (c) Zend Technologies
with Zend OPcache v8.1.1, Copyright (c), by Zend Technologie

thank you for your help

pra

pra75020
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Thu Jan 20, 2022 12:43 pm

Re: seo urls do not work correctly for me

Post by pra75020 » Fri Jan 21, 2022 11:38 am

sorry i can t write my example directly and give my url link for tuto because it saw as a spam by engine
please look attachment

thank you for your help

pra
You do not have the required permissions to view the files attached to this post.

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24974
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: seo urls do not work correctly for me

Post by pe7er » Fri Jan 21, 2022 11:51 am

Welcome to Joomla forum!

How did you create your menu that is shown on the left?
Did you use Joomla's menu?

Did you create menu items of type Articles > Category Blog or Articles > Category List for each category?

The SEF URLs in Joomla are created on basis of the menu structure (which you configure with all the menu items). It uses the "alias" of the menu items to create the URL structure.
And if you create menu items of type Category Blog/List, then the alias of the articles within those categories that are not linked from the menu (menu item type "Single Article") will be used for the URL structure.
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

pra75020
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Thu Jan 20, 2022 12:43 pm

Re: seo urls do not work correctly for me

Post by pra75020 » Fri Jan 21, 2022 12:27 pm

oh thank you for :
=> removed the real spammer
=> answer quickly

Did you use Joomla's menu? <= yes
Did you create menu items of type Articles > Category Blog or Articles > Category List for each category?
i think yes i create category and tag in menu i use tag not category

is it a wrong used need to use category and not tag for populate the menu ?

please see my screenshoot in attachment

thank you very much
You do not have the required permissions to view the files attached to this post.

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24974
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: seo urls do not work correctly for me

Post by pe7er » Fri Jan 21, 2022 1:14 pm

pra75020 wrote:
Fri Jan 21, 2022 12:27 pm
Did you create menu items of type Articles > Category Blog or Articles > Category List for each category?
i think yes i create category and tag in menu i use tag not category

is it a wrong used need to use category and not tag for populate the menu ?
You need to create menu items to Category Blog/List to get nice URLs.

Just try adding a menu item of type Category Blog or List for one of your categories.
And see if the Tags pointing to the article in that category, will take that URL.

btw: You can hide the new menu items from the menu, or add them to a new menu that you don't display.
And you can switch on the Modern Router to remove the number from the URL.
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

pra75020
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Thu Jan 20, 2022 12:43 pm

Re: seo urls do not work correctly for me

Post by pra75020 » Fri Jan 21, 2022 4:08 pm

oh ok thank you very much i try this way

thank you again

pra

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24974
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: seo urls do not work correctly for me

Post by pe7er » Fri Jan 21, 2022 4:11 pm

You're welcome!
Please report back to let know if it works (which is also useful for other users who have the same issue), thanks!
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

pra75020
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Thu Jan 20, 2022 12:43 pm

Re: seo urls do not work correctly for me

Post by pra75020 » Fri Jan 21, 2022 4:53 pm

@pe7er sorry to boring you with my newbies questions

i m trying , and i have a quick question

it s running well for article but not for the menu i have a test?filter_tag[0]=3 (test is the name of my test menu (i give the same name for all ))

you can see my screenshots


thank you again for your help
You do not have the required permissions to view the files attached to this post.

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24974
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: seo urls do not work correctly for me

Post by pe7er » Fri Jan 21, 2022 5:01 pm

No problem!

pra75020 wrote:
Fri Jan 21, 2022 4:53 pm
it s running well for article but not for the menu i have a test?filter_tag[0]=3 (test is the name of my test menu (i give the same name for all ))
Sorry, I do not understand your question. The URL of that menu item looks good.

Could you create a menu item called "Application" with alias "application",
and see if the link under your tag item "Aide mémoire : Application" (url aide-memoire-application?layout=list&types[0]=1) changes to /application/
and how the URLs for the articles in that category will be?
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

pra75020
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Thu Jan 20, 2022 12:43 pm

Re: seo urls do not work correctly for me

Post by pra75020 » Fri Jan 21, 2022 5:28 pm

Again thank you very much @pe7er , i need to experiment / test / learn ....

thank you for your help and your kindness

pra

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24974
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: seo urls do not work correctly for me

Post by pe7er » Fri Jan 21, 2022 7:58 pm

You're welcome!
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com


Locked

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