• Home
  • Get help
  • Ask a question
Last post 4 hours 44 min ago
Posts last week 94
Average response time last week 34 min
All time posts 67913
All time tickets 10496
All time avg. posts per day 20

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.

#7253 – SEF URLs from RSFOrm Pro using "Preview" link in backend

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.
Tuesday, 16 June 2020 12:54 UTC
arcaswebdesign
 I've recently redeveloped a site for a client and on the old site when I create a form using RSFORM PRO then click on the PREVIEW link in the admin area it would generate an SEF URL such as https://www.xxxx.uk/myformname-2.html or something like that whereas on the new version of the site I only get the raw URL https://www.xxxx.uk/index.php?option=com_rsform&view=rsform&formId=209

Obviously I can create a menu item but doing so each time would be laborious and I didn't have to do that on the old version of the site.

What am I missing in my setup?
Tuesday, 16 June 2020 13:04 UTC
wb_weeblr
Hi

I only get the raw URL https://www.xxxx.uk/index.php?option=com_rsform&view=rsform&formId=209
Which is exactly what it should be doing. There's no way to properly get a SEF URL from the backend so it's becoming a standard now that all those preview links are staying non-sef so that they will always work.

Obviously I can create a menu item
A menu item won't change anything, this is not about menu items but just that extensions are now using non-sef URLs for their preview link. Another reason of course being that making them SEF is not needed actually.

Best regards

Yannick Gaultier
weeblr.com
@weeblr
 
Tuesday, 16 June 2020 13:11 UTC
arcaswebdesign
Okay thanks for that - though I'm sure on the old site I could create a new form, click on PREVIEW and it would load the page on the frontend using an SEF URL without me needing to do anything else? Which to me implied that the link was being loaded through the frontend somewhere so that it could be indexed?

So in order to get the SEF URL I need to create a menu or other type of link to it on the frontend?
Tuesday, 16 June 2020 13:36 UTC
wb_weeblr
Hi

though I'm sure on the old site I could create a new form, click on PREVIEW and it would load the page on the frontend using an SEF URL without me needing to do anything else?
Which indicates that RSForms changed the way they build the URL to that preview and now use the non-SEF version instead of the SEF version - which is 100% good and exactly how it should always have been in the first place.

Which to me implied that the link was being loaded through the frontend somewhere so that it could be indexed?
Indexed by who? search engines? sh404SEF does not do any indexing or "picking up" links, it only processes non-sef URLs that are sent to it by Joomla or extensions.

So in order to get the SEF URL I need to create a menu or other type of link to it on the frontend?
Yes, you would need to start using that URL for something. Until you actually put it up somewhere on your site, you don't have a SEF URL for it.

Best regards

Yannick Gaultier
weeblr.com
@weeblr
 
Tuesday, 16 June 2020 14:43 UTC
arcaswebdesign


Which indicates that RSForms changed the way they build the URL to that preview and now use the non-SEF version instead of the SEF version - which is 100% good and exactly how it should always have been in the first place.


Only it's the same version of RSFORMPRO on both sites so I'm not clear on how it can do one thing on one site and another thing on the other? There's obviously something different but RSForm versions isn't it. When I click on the preview link it opens up a new tab on the frontend with the form loaded into it and the URL is non-SEF for a brief moment, then quickly changes to an SEF one.



Indexed by who? search engines? sh404SEF does not do any indexing or "picking up" links, it only processes non-sef URLs that are sent to it by Joomla or extensions.


Sorry, wrong phrasing but yeah I meant that in order for the SEF URL to be generated by sh404SEF it needs to appear somewhere on the frontend so normally speaking adding a link to it or a menu item would do this, however on the old site I don't do this, I just create a brand new form, save it, click on PREVIEW and a new tab opens with the form frontend of the site and it already has an SEF URL without adding any links.

i have an example video I can show you but it's too big to upload here
Tuesday, 16 June 2020 14:51 UTC
arcaswebdesign
Solved it!

it was the setting "301 redirect from non-sef to sef" in the main configuration which needed turned on. I think!
Tuesday, 16 June 2020 15:03 UTC
wb_weeblr
Hi

it was the setting "301 redirect from non-sef to sef" in the main configuration which needed turned on. I think!
I extremely strongly advice you disable that setting. It's a remain from the past and will be removed in the future. It can only cause trouble with some extensions and does not serve any purpose.

There's no need to have a SEF URL for the preview. And like I said, you will get the fully SEF URL for that page when you actually use that page on your site, so there's no need for this.

Best regards

Yannick Gaultier
weeblr.com
@weeblr
 
Tuesday, 16 June 2020 15:08 UTC
arcaswebdesign
Okay, fair enough, I'll take your advice, it was just to save having to create a menu link for every form we add to the site (they have over 125 of them now...) but I'll trust your judgement and switch that back off.
Tuesday, 16 June 2020 15:23 UTC
wb_weeblr
Hi

it was just to save having to create a menu link for every form we add to the site (they have over 125 of them now...)
So those forms are not linked from anywhere? they are landing pages?

If so indeed, the link would never be created unless they are linked from somewhere, can be a menu item, can be just any article.

Another way to do it to create each time a custom URL for them:

- copy the non-sef URL given by RSForm in the preview (index.php?option=....)
- go to the SEF URL manager, click on "New' and enter

non-sef: (paste the non-sef)
SEF: /whatever-you-want

Not as convenient as the auto redirect but probably easier than creating a menu item.

You can enable back the auto-redirect. Just be aware of it in case you find any issue with some strange redirects happening, forms not submitting properly etc., this setting would be the first thing to check and disable.

Best regards

Yannick Gaultier
weeblr.com
@weeblr
 
Tuesday, 16 June 2020 15:27 UTC
arcaswebdesign
Hi Yannic

Yeah the forms are usually used as standalone pages rather than embedding within pages for various reasons (though we have that option too) which was why simply using that Preview button to create a link for us without having to link from elsewhere or add another menu item was handy, however it's not a major deal to simply create the SEF URL myself each time so I'll stick with doing that to avoid any issues of the sort you mentioned (though to be honest we never experienced any in the 5 or 6 years we'd be using the previous version of the site).

Thanks for your guidance.
Tuesday, 16 June 2020 15:32 UTC
wb_weeblr
Hi

(though to be honest we never experienced any in the 5 or 6 years we'd be using the previous version of the site).
Then you might want to continue doing it. My advice is general. If you do not have any issue, by all means continue just be aware that it "might" be a source of problem, depending on which extensions you use.

Best regards

Yannick Gaultier
weeblr.com
@weeblr
 
Wednesday, 01 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.