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
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
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.
Hi tank you for reply
but how i can create php script to perform this i don't know php
please help
How many Downloads must you change?
Hi
3000 files must changed
Okay that is to much to do it manually. ::)
But i have in the moment not the time to help here.
Maybe a freelancer?
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.
tank you Arno its work
for me
Fine! Please forget not to restore the line 163 again. ;)