Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL Structure changed after updating to Joomla 3.8.4 #19505

Closed
petmug opened this issue Jan 31, 2018 · 23 comments
Closed

URL Structure changed after updating to Joomla 3.8.4 #19505

petmug opened this issue Jan 31, 2018 · 23 comments

Comments

@petmug
Copy link

petmug commented Jan 31, 2018

Steps to reproduce the issue

I recently updated to joomla 3.8.4 from 3.8.3.

This affected the urls that were linked recently from around six months ago. The old urls same way generated are still okay..

Expected result

http://www.researchtopichelp.net/2-topic-help/18-dba-new-research-ideas

Actual result

http://www.researchtopichelp.net/component/content/article/2-topic-help/18-dba-new-research-ideas

System information (as much as possible)

joomla 3.8.4 updated yesterday

Additional comments

the addition of "/component/content/article" is the issue.

Please any help urgently before i get lots of 404 pages

Thanks

@OctavianC
Copy link
Contributor

Please see #19497 (it's a long read) and could you test if #19498 solves your issue?

@petmug
Copy link
Author

petmug commented Jan 31, 2018

I did that and i get a url with

"menu-alias" instead of the "/component/content/article"

That still creates a new link that is not resolving my issue... then

  1. why is it that the old article urls not affected?/
  2. If I have to have all new URls then my old URLs that are indexed will be lost and that will hurt my SEO
  3. Is there a way I can retain my old urlS AS THEY WERE?
    Thanks

@csthomas
Copy link
Contributor

You can create (instead "menu-alias") menu item "Category Blog" or "Category List" for your category "topic help" with alias "2-topic-help".

@petmug
Copy link
Author

petmug commented Jan 31, 2018

Hi, thanks.. that resolves the articles in the category topic help, how about the articles in the other categories, or i repeat the same procedure and use the respective category alias as well..
Last question, will the old urls at some point start getting affected?
Thanks for your help.

@csthomas
Copy link
Contributor

csthomas commented Jan 31, 2018

Usual folks do not create a menu item for category with alias like "2-topic-help" but only "topic-help".
But for you this is probably not a solution.

If you have more top categories without any menu item then the simplest way is to repeat the procedure.

@petmug
Copy link
Author

petmug commented Jan 31, 2018

let me deal, if i face any issues I will contact... I just dread future updates that would mess all this.. I just want to retain my urls TO AVOID hurting SEO..

Thanks alot..

@joomla-cms-bot
Copy link

Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/19505

@ghost
Copy link

ghost commented Feb 1, 2018

closed as Issue solved; it can always reopened if needed.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19505.

@petmug
Copy link
Author

petmug commented Feb 1, 2018

Hello, the trick is working for articles under categories but not those under subcategories.
Am stuck

@petmug
Copy link
Author

petmug commented Feb 1, 2018

Is there no remedy for this issue or it means we just have to get new structured urls...

@joomla-cms-bot joomla-cms-bot reopened this Feb 1, 2018
@joomla-cms-bot
Copy link

Set to "open" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/19505

@ghost
Copy link

ghost commented Feb 1, 2018

reopened as stated above.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19505.

@csthomas
Copy link
Contributor

csthomas commented Feb 1, 2018

You can use component redirect in joomla or you can add a redirect command in .htaccess file.

Is there no remedy for this issue or it means we just have to get new structured urls...

In 3.8.4 there is a "new structured urls", which is correct, but they are different that links from 3.8.3.

In the next version 3.8.5 this changes will be (in 99%) reverted
and IMO Joomla will have to live longer with incorrect (from the technical point of view) generated links (as before 3.8.3).

@petmug
Copy link
Author

petmug commented Feb 1, 2018

I kindly need your help with the kind of redirect command that I can add in .htaccess file.
As I wait for 3.8.5 release.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19505.

@petmug
Copy link
Author

petmug commented Feb 1, 2018

and the redirect command that can handle all urls and remove the ""/component/content/article" part in the new redirected URLs..


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19505.

@joomdonation
Copy link
Contributor

@csthomas Is the PR #19512 solve this issue, too? If Yes, I think @petmug can apply that PR using com_patchtester instead of waiting for 3.8.5

@csthomas
Copy link
Contributor

csthomas commented Feb 1, 2018

Is the PR #19512 solve this issue, too?

Yes, it may be the simplest way.

@csthomas
Copy link
Contributor

csthomas commented Feb 1, 2018

General advice:

For each article in the category tree, where neither (category) has its own menu item, and the article
does not have its own menu item, there may always be a problem with positioning and duplicate URLs.

@petmug
Copy link
Author

petmug commented Feb 1, 2018

I totally agree on your advice above; Infact I started seeing the effect months ago and bought some extensions.. what is then the long term best suggestion.. for consideration.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19505.

@brianteeman
Copy link
Contributor

Closed as the routing changes have been reverted for 3.8.5 with #19512

@petmug
Copy link
Author

petmug commented Feb 19, 2018

Hello, I am, back again with some observation. I created menu items for my categories (category list) under which my articles are grouped. (meaning each article has a menu item id of the category.
I used the modern routing option in articles integration option..

This is my challenge, any link I anchor or link up now is showing okay e.g
Link a) https://www.petrianeditingservice.co.uk/capstone-correction/review-assistants

but those links that were existing never are showing a new structure UNLESS i un-link and link them again...

they look like
Link b) https://www.petrianeditingservice.co.uk/?view=article&id=46:review-assistants

Link a and b are same article, one is showing in some pages and the other in others...

What should I do to correct this?
Any automatic way to update the urls rather that manual un-linking and re-linking?

Peter

@petmug
Copy link
Author

petmug commented Feb 19, 2018

with further research

old url are
index.php?option=com_content&view=article&id=48:editing-helpers&catid=17**:research-proposal&Itemid=101**

New ones are like...
index.php?option=com_content&view=article&id=48:editing-helpers&catid=17

Is there a way I can automatically update and remove the :research-proposal&Itemid=101 which is the homepage item it + alias on all the older links..

Peter

@ghost
Copy link

ghost commented Feb 19, 2018

@petmug please ask help on the forums. This repository concerns in first Place Joomla-Core coding, thanks.

@joomla joomla deleted a comment Jul 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants