Notifications
Clear all

wpForo 1.x.x [Closed] Remove the ability to use short URL

4 Posts
2 Users
1 Reactions
1,850 Views
Posts: 201
 fawp
Topic starter
(@fawp)
Reputable Member
Joined: 5 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: 1862
Moderator
(@alvina)
Member
Joined: 5 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. 

2 Replies
 fawp
(@fawp)
Joined: 5 years ago

Reputable Member
Posts: 201

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?

Alvina
Moderator
(@alvina)
Joined: 5 years ago

Member
Posts: 1862

@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.