AI Assistant
Notifications
Clear all

[Closed] URL on posts

8 Posts
3 Users
0 Reactions
1,575 Views
Posts: 8
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@danigg)
Active Member
Joined: 3 years ago
[#50432]

Hello, I'm currently making a private forum for a client and one thing I struggle with is the URL's for posts. When entering af post it will add the #post-30 for example and then scroll down on the post page.

So basically the structure would be websitename / forumname / forum  / postname / postid

See attached image 1

What I would like, is get rid of the postid part, meaning in this example the #post-30, when users enter the post. Having the URL without the ID solves the problem, but i'm not sure how I can remove the ID for every single path.

Anyone knows how to do this, if it's even possible? 

Enjoying the plugin by the way 🙂

Cheers,

Daniel

The page I need help with
wpForo Version
2.2.2
WordPress Version
6.3.1

7 Replies
dimalifragis
Posts: 2600
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@dimalifragis)
Famed Member
Joined: 6 years ago

btw: Please read

https://wpforo.com/community/faq/wpforo-and-cache-plugins

and REMOVE rocket from wpForo.


BlackRaz
Posts: 396
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@blackraz)
Contributor
Joined: 9 years ago

Hi @danigg

If the problem persists even after excluding wpForo pages from the cache plugin settings, you can change the URL structure from slugs to post IDs by going to the dashboard, then navigating to wpForo > Settings > Board Settings > URL Structure.


Posts: 8
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@danigg)
Active Member
Joined: 3 years ago

I tried adding every URL to WP Rocket as suggested in the article. Also I tried changing the URL structure as suggested. - It still ads the #postid tag on every post created.

When I create a new post, it doesn't immediatly have the #tag on it, but when I navigate to the post the link that the post has, have the #postid on it. 


4 Replies
dimalifragis
(@dimalifragis)
Joined: 6 years ago

Famed Member
Posts: 2600
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@danigg WHY don't you check the HTML cource view from your browser to SEE at the END if Caching is Active or NOT?

because it still IS active ....


(@danigg)
Joined: 3 years ago

Active Member
Posts: 8
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@dimalifragis not really sure what more I can do other than put in the URL's as the article you linked suggested. But THANKS


dimalifragis
(@dimalifragis)
Joined: 6 years ago

Famed Member
Posts: 2600
dimalifragis
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@danigg Is this what you are excluding:

/community/
/participant/
/community/(.*)
/participant/(.*)

(@danigg)
Joined: 3 years ago

Active Member
Posts: 8
dimalifragis
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@dimalifragis Yes - and also excluding the URL's like /intranet/(.*)/ since that's the URL that's used - not sure if needed.

Before I asked here, I already had those 4 excluded under advanced rules -> never cache URL(s)

I'm starting to think this isn't even an issue, but it's intentional. It's just annoying that the #postid gets put on the URL as the image I attached shows


Share: