Notifications
Clear all

wpForo 1.x.x Remove the ability to use short URL

4 Posts
2 Users
1 Likes
642 Views
fawp
Posts: 153
 fawp
Topic starter
(@fawp)
Estimable Member
Joined: 3 years ago

Hi wpForo support,

 

I want to remove the ability for users to browse posts with the Short URL (e.g. https://wpforo.com/community/postid/44903/).

 

In other words, I want them only to be able to use the Full URL (e.g. https://wpforo.com/community/wpforo-announcements/wpforo-1-8-3-is-released/#post-44903).

 

Also pic attached.

 

How can I go about it?

3 Replies
Alvina
Posts: 1872
Moderator
(@alvina)
Member
Joined: 3 years ago

Hi @fawp,

Please use the following CSS code:

.wpforo-copy-url-wrap:last-child {
display: none !important;
}
#wpforo-dialog{
height: calc(100vh - 50%) !important;
}

The CSS code should be added in the Dashboard > Forums > Settings > Styles admin page "Custom CSS Code" textarea.

Don't forget to delete all caches and press CTRL+F5(twice) on the frontend before checking. 

Reply
2 Replies
fawp
 fawp
(@fawp)
Joined: 3 years ago

Estimable Member
Posts: 153

Hi @alvina, thanks but, this helps only by removing the Short URL structure from the link dialog box.

If a user were to be familiar with wpForo's URL structure they would still be able to use Short URLs.

 

Is there a way to remove the Short URL functionality completely?

Reply
Alvina
Moderator
(@alvina)
Joined: 3 years ago

Member
Posts: 1872

@fawp,

Is there a way to remove the Short URL functionality completely?

I'm sorry but there is no way to remove the short URL functionality.

Reply