admin管理员组

文章数量:1392105

Can someone help me fix this links from /?symbol=DTR make it ? the link I posted here is handle by iFrame, I just want to make the links looks clean instead of having "?symbol="

Can someone help me fix this links from https://smallcaps.au/stocks/?symbol=DTR make it https://smallcaps.au/stocks/DTR ? the link I posted here is handle by iFrame, I just want to make the links looks clean instead of having "?symbol="

Share Improve this question edited Mar 3, 2020 at 9:05 fuxia 107k39 gold badges255 silver badges459 bronze badges asked Mar 3, 2020 at 2:15 carlo piacarlo pia 1 0
Add a comment  | 

1 Answer 1

Reset to default 0

What you want is not possible.

The iframe on your page is generated by a script from WebLink that requires the ?symbol= parameter in the URL to be able to generate the correct iframe.

If you rewrote the URL the way you want the script would not work, since the symbol parameter doesn't exist anymore. WordPress would be able to access the value, but the script would not see it anymore, and it's the script that creates the iframe.

You will need to check with WebLink to see if it's possible to set the stock symbol for the iframe a different way.

本文标签: iFrame permalinks on Wordpress