• Home
  • Get help
  • Ask a question
Last post 35 min ago
Posts last week 89
Average response time last week 30 min
All time posts 67728
All time tickets 10465
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.

#5582 – how can I excelude a URL from being converted to SEF?

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.
Thursday, 31 January 2019 11:47 UTC
cnielsen
 I have a specific URL in digistore that refuses to work properly.
how can I excelude this URL from being converted to sef?
It's not an important URL for google as it's behind the users account password.
Thursday, 31 January 2019 11:56 UTC
wb_weeblr
Hi

You cannot exclude a single URL. You exclude a component or not.

1 - What's the full and exact URL? the SEF version and most importantly the non-SEF version.
2 - Does it have any duplicates listed under the "Duplicates" column and if so, which ones?

Best regards
 
Thursday, 31 January 2019 14:37 UTC
cnielsen
the non sef URL is
https://www.xxxx.net/index.php?option=com_digistore&controller=digistoreLicenses&task=register&licid=4164&Itemid=715&no_html=1
This opens in a popup
the problem is being caused by the no_html=1 at the end of the url I think
Thursday, 31 January 2019 14:39 UTC
cnielsen
the sef URL is https://www.xxxx.net/my-account/digistoreLicenses.html&no_html=1
although I've tried many variants.
attaching my router.php and sef_ext file
Thursday, 31 January 2019 17:03 UTC
wb_weeblr
Hi

the sef URL is https://www.xxxx.net/my-account/digistoreLicenses.html&no_html=1
euh yes, this is wrong. IT should be

the sef URL is https://www.xxxx.net/my-account/digistoreLicenses.html?no_html=1

although I've tried many variants.

attaching my router.php and sef_ext file
What do you mean, you have a custom plugin for digistore?

Best regards
 
Friday, 01 February 2019 10:02 UTC
cnielsen
yes I've written a sef_ext file for digistore.
I tried to zip and attach it, but seems it wont attach to the ticket.
Friday, 01 February 2019 10:54 UTC
wb_weeblr
Hi

We cannot provide support for custom written code anyway.

If you are handling the no_html parameter in your plugin, make sure you add a ? instead of a & to attach it.

If you're not handling this in your plugin, then there are good chances this is a bug in Digistore, I think they are doing this in javascript and simply appending "&no_html=1" to the URL without checking first whether this is a SEF one or non-sef one. If so, you can talk to them and ask to fix the problem.

Another thing you can do in your plugin is to leave the URL non-sef if

$controller == 'digistoreLicenses'
or
$task == 'register'

That would work as well. Just use $dosef = false in that case and retun. Look at the many sh404SEF built-in plugins that do that for examples.

Best regards

 
Saturday, 16 February 2019 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.