Pretty URLs

Started by SMFHacks.com Team, January 31, 2007, 10:56:43 AM

Previous topic - Next topic

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

s10dulkar

Quote from: vbgamer45 on December 16, 2020, 02:37:37 PM
Fixes found at https://www.simplemachines.org/community/index.php?topic=560538.msg4075764#msg4075764
followed steps able to activate and configure pretty url. again same issue logs out user when any board or topic clicked

vbgamer45

Same issue the pretty urls root is wrong..
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

s10dulkar

Quote from: vbgamer45 on December 17, 2020, 10:45:33 AM
Same issue the pretty urls root is wrong..

so how to correct it ?

vbgamer45

Go inside your smf_settings database table and adjust the pretty urls root value
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

s10dulkar

Quote from: vbgamer45 on December 18, 2020, 02:11:40 PM
Go inside your smf_settings database table and adjust the pretty urls root value

i cant see any row with pretty url in smf setting table :(

vbgamer45

If not enter a field pretty_root_url and put your board url in it...
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

s10dulkar

Quote from: vbgamer45 on December 18, 2020, 11:22:56 PM
If not enter a field pretty_root_url and put your board url in it...
done that with no luck it was there actually pretty_root_url and i have made http to https but still the same. keeps logging out whenever its enabled and clicked on any board

vbgamer45

I have no other idea at this time.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

K-Forum

For those who may have created the same problem as I did, here is the workaround.
For all the others here's a recipe for a problem you haven't had, yet.

After upgrading a damaged forum according to these steps to version from 2.0.12 or so to 2.0.17 existing members were not able to log in successfully.
https://wiki.simplemachines.org/smf/How_to_upload_a_fresh_set_of_files
This forum: https://www.georgkreisler.net/

Right after logging in the members got redirected to this page - in order to subscribe to the new settings. On my computer/Firefox appears to be a white page. Your view may differ:
https://www.georgkreisler.net/agreement/?sa=policy

My part of the problem: I have the index.php redirect to root via htaccess. This has killed the URL so much it could not be prettified.

Workaround: Excluding the action "agreement" in pretty-url-settings did it for me.

shadav

Quote from: K-Forum on January 21, 2021, 06:10:47 AM
For those who may have created the same problem as I did, here is the workaround.
For all the others here's a recipe for a problem you haven't had, yet.

After upgrading a damaged forum according to these steps to version from 2.0.12 or so to 2.0.17 existing members were not able to log in successfully.
https://wiki.simplemachines.org/smf/How_to_upload_a_fresh_set_of_files
This forum: https://www.georgkreisler.net/

Right after logging in the members got redirected to this page - in order to subscribe to the new settings. On my computer/Firefox appears to be a white page. Your view may differ:
https://www.georgkreisler.net/agreement/?sa=policy

My part of the problem: I have the index.php redirect to root via htaccess. This has killed the URL so much it could not be prettified.

Workaround: Excluding the action "agreement" in pretty-url-settings did it for me.

ehhh if memory serves from reading through posts...you can't drop the index.php or it will mess up functions of smf

K-Forum

Yeah, Shadav, you are right.
Our forum is nearly 20 years old and since it had been converted it had accumulated lots of rewrites and redirects.
Since I built it anew I already dropped most of them, now I think I should also drop this one. It was a solution yesterday but it should not become a problem tomorrow.
I will leave my reply for others with a similar problem.

Thank you

vbgamer45

Critical Update for SMF 2.0.x!!!
In order to use on SMF 2.0.18
You must upgrade the latest version otherwise you will have issues with boards/topics that quotes in the name of them.

Pretty Urls 2.4
Fix:
!Handle quote character storage changes in 2.0.18
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

gorbi

Does the new version work with php 7.2?

vbgamer45

Yes, it has been working for PHP 7.2 I run PHP 7.3 myself with it.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Vincent Volmer

 :o I'm still running 1.0RC5  :-[ .... and I updated to 2.0.18 and PHP7.4 ....

Quote from: vbgamer45 on January 29, 2021, 10:16:46 PM
Critical Update for SMF 2.0.x!!!
In order to use on SMF 2.0.18
You must upgrade the latest version otherwise you will have issues with boards/topics that quotes in the name of them.

Pretty Urls 2.4
Fix:
!Handle quote character storage changes in 2.0.18

Vincent Volmer

Pretty URLs 2.4 Up and Running  :D

AllMassive

Just upgraded from my ancient pretty 1.0 to 2.4 and SMF to 2.0.18 afterwards.
since then i get a lot of these errors:

https://url/index.php?pretty;action=.xml&type=webslice;PHPSESSID=uhfusifhiusdfoudsfhuodshfodshfuds
8: Undefined index: sa
File: /var/www/clients/client2/web6/web/Sources/News.php
Line: 68


These Errors only occur on unauthed users of the Forum - so maybe some bot/crawler.

vbgamer45

I think it is a 2.0.18 bug that fill be fixed I heard there is an xml issue outstanding.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

vinaykumar

Hi,
I am running smf 2.0.17 with pretty URLs 2.0.1.
Everything had been working fine till  I started getting the urls which seem to have spam topic. The board name is correct but the topic name has no relation to the actual topic. However they point correctly to the post.
Some of these are  as  follows:

https://www.chemtopper.com/smf/organic-chemistry/best-dissertation-results-writing-for-hire-au/ [nofollow]
https://www.chemtopper.com/smf/organic-chemistry/essay-duty-good-student/ [nofollow]
https://www.chemtopper.com/smf/organic-chemistry/bachelor-thesis-terrorism/ [nofollow]
https://www.chemtopper.com/smf/organic-chemistry/professional-descriptive-essay-writing-sites-uk/ [nofollow]

Kindly help to resolve this issue.

Advertisement: