• Home
  • Get help
  • Ask a question
Last post 2 min ago
Posts last week 141
Average response time last week 4 hours 42 min
All time posts 67795
All time tickets 10476
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.

#7287 – Canonical URLs

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, 01 July 2020 09:31 UTC
[email protected]
 Hi,

Can you tell me please if there is a way to import multiple canonical URLs? We have thousands of SEF URLs that we need to add canonical URLs to, which would take forever doing manually.

Many thanks,

Martin.
Wednesday, 01 July 2020 09:38 UTC
wb_weeblr
Hi,

You can export the SEF URLs from the SEF URL manager, open that into Excel or similar. You'll get a "Canonical" column in which you can stick your desired canonical URL.
After that import back.

Additional comments:

1 - Do that on a test copy of your site first and test extensively afterwards
2 - Your URL database and therefore the exported file will have most likely several lines with the same SEF URL, each of them corresponding to a duplicate created by Joomla that was grouped by sh404SEF under the same public SEF. You'll want to put your canonical URL either in ALL lines that have the same SEF URL, or if you only want one, put it on the line that has the field "rank" equal to 0, that's the "main" URL.

If you have thousands of SEF, you'll probably want some kind of programmatic way of creating the import file, to be able to match SEF URL and their respective canonicals.

Best regards

Yannick Gaultier
weeblr.com
@weeblr
 
Thursday, 16 July 2020 05:34 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
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.