News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

how Change alias of all downloads using title

Started by 4eng.ir, 08.09.2015 07:06:53

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

4eng.ir

Hi

i want to update all alias of downlads , and use file title in alias
i can edit each file but  h have to many file
  •  

4eng.ir

sorry to spam

but don't have solution to Rewrite all alias? some of my downloads link have date in URL and its bad for seo
  •  

Arno

Hi,
i think your problem has to do with older Downloads.
Where the unicode setting in Joomla configuration was not activated.

But this is not a jDownloads problem. So please use a Joomla support forum for it.

You can open every download and remove the current alias and save it then again.
Or you create a small php script what this can do for you.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

4eng.ir

Hi tank you for reply
but how i can create php script   to perform this i don't know php
please help
  •  

Arno

Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

4eng.ir

  •  

Arno

Okay that is to much to do it manually.  ::)
But i have in the moment not the time to help here.

Maybe a freelancer?
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

Arno

Hi,
maybe can you use this ploy:
- create at first a backup from your complete database
- create then a backup from your jD DB tables (via jD tools page)
- open the file: administrator/components/com_jdownloads/controllers/restore.php 
  (but use for this an editor like notepad++ - as he must support utf8 files)
- insert in line 163:
    $file['file_alias'] = "";
- save the file
- make sure that you have activated the unicode support in Joomla SEO settings
- start then the restauration process in the jD tools page and check the results

Please note that you can do this only when you have greater values for some server settings (php.ini):
- max_execution_time 600
- memory_limit 500M
- max_input_time -1

Important:
- i have not tested this really! So it is your risk whether you will try this.

Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

4eng.ir

  •  

Arno

Fine! Please forget not to restore the line 163 again. ;)
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •