Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1921

Search Engine Optimization (Joomla! SEO) in Joomla! 5.x • Re: SEF URLs working except for article links

$
0
0
I'm not sure where you think I indicated not being able to remove the index.php.
Please allow me to attempt to clarify:

Let me start by stating that I am specifically looking for a solution that does not require creating menu items.

**The 1st and main part of my question is this:

I am getting nice URLS that look like this:
example.com/menucategory/menuitem

however any article links look like this:
example.com/menucategory/menuitem?view=article&id=378:name-of-article&catid=42

From the 3 examples given from the Joomla Documentation, it looks like SEF rewriting is not working as intended.

From the Joomla Documentation:
Without SEF URLs turned on, the URL is example.com/index.php?option=com_content&view=article&id=1:welcome-to-joomla&catid=1:latest-news&Itemid=50
With SEF URLs on and mod_rewrite off, it's example.com/index.php/the-­news/1-­latest­-news/1­-welcome­-to­-joomla
With both SEF URLs and mod_rewrite on, it's example.com/the-­news/1­-latest-­news/1-­welcome-­to­-joomla

Since my URL looks like:
example.com/menucategory/menuitem?view=article&id=378:name-of-article&catid=42

example.com/menucategory/menuitem
This first part of the URL is correct. We can see that the index.php is being removed, which indicates the mod_rewrite is working

?view=article&id=378:name-of-article&catid=42
however the SEF URL component does not appear to be working for the rest of the URL.
Is there something I need to do to get this working as intended? It was working in J3.


** The second part of my question is this:

In Articles / Options / Integration there is a switch called "Remove IDs from URLs".
It looks like this will go one step further and remove the id's from the URL. Great!
I have this enabled but it doesn't seem to do anything.
Is there something I need to do to get this working as intended?
Is the fact that the SEF URLs part isn't working, stopping this from working maybe?

Thanks.


Ok

Your first post suggested that you can remove the index.php but get category and article id's for articles that have no menu item.

Your last post says you can't remove the index.php and are not concerned about category and article id's showing.

To solve the former create menu items.

For the latter see https://docs.joomla.org/Enabling_Search ... EF%29_URLs

Statistics: Posted by Mykoss — Mon Jun 10, 2024 1:47 am



Viewing all articles
Browse latest Browse all 1921

Trending Articles