News:

Wondering if this will always be free?  See why free is better.

Main Menu

Pretty URLs

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

Previous topic - Next topic

vbgamer45

That would be in your html/css files for https:// issues

cross orgin policy you have to setup one or contact your host.
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

smartmouse

I have the same host of before, I just changed the plan.
Anyway removing Pretty URLs solve my problems...

Xpresskonami

Quote from: digger on March 15, 2018, 07:35:18 AM
vbgamer45, update characterHash array to support cyrillic, please.


// Do you know your ABCs?
$characterHash = array (
'a' => array ('a', 'A', 'à', 'À', 'á', 'Á', 'â', 'Â', 'ã', 'Ã', 'ä', 'Ä', 'å', 'Å', 'ª', 'ą', 'Ą', 'а', 'А', 'ạ', 'Ạ', 'ả', 'Ả', 'Ầ', 'ầ', 'Ấ', 'ấ', 'Ậ', 'ậ', 'Ẩ', 'ẩ', 'Ẫ', 'ẫ', 'Ă', 'ă', 'Ắ', 'ắ', 'Ẵ', 'ẵ', 'Ặ', 'ặ', 'Ằ', 'ằ', 'Ẳ', 'ẳ', 'а', 'А'),
'ae' => array ('æ', 'Æ'),
'b' => array ('b', 'B', 'б', 'Б'),
'c' => array ('c', 'C', 'ç', 'Ç', 'ć', 'Ć', 'č', 'Č', 'ц', 'Ц'),
'd' => array ('d', 'D', 'Ð', 'đ', 'Đ', 'ď', 'Ď', 'д', 'Д'),
'e' => array ('e', 'E', 'è', 'È', 'é', 'É', 'ê', 'Ê', 'ë', 'Ë', 'ę', 'Ę', 'е', 'Е', 'ё', 'Ё', 'э', 'Э', 'Ẹ', 'ẹ', 'Ẻ', 'ẻ', 'Ẽ', 'ẽ', 'Ề', 'ề', 'Ế', 'ế', 'Ệ', 'ệ', 'Ể', 'ể', 'Ễ', 'ễ', 'ε', 'Ε', 'ě', 'Ě', 'е', 'Е'),
'f' => array ('f', 'F', 'ф', 'Ф'),
'g' => array ('g', 'G', 'ğ', 'Ğ', 'г', 'Г'),
'h' => array ('h', 'H', 'х', 'Х'),
'i' => array ('i', 'I', 'ì', 'Ì', 'í', 'Í', 'î', 'Î', 'ï', 'Ï', 'ı', 'İ', 'Ị', 'ị', 'Ỉ', 'ỉ', 'Ĩ', 'ĩ', 'Ι', 'ι', 'и', 'И'),
'j' => array ('j', 'J', 'й', 'Й'),
'k' => array ('k', 'K', 'к', 'К', 'κ', 'Κ', 'к', 'К'),
'l' => array ('l', 'L', 'ł', 'Ł', 'л', 'Л'),
'm' => array ('m', 'M', 'м', 'М', 'Μ', 'м', 'М'),
'n' => array ('n', 'N', 'ñ', 'Ñ', 'ń', 'Ń', 'ň', 'Ň', 'н', 'Н'),
'o' => array ('o', 'O', 'ò', 'Ò', 'ó', 'Ó', 'ô', 'Ô', 'õ', 'Õ', 'ö', 'Ö', 'ø', 'Ø', 'º', 'о', 'О', 'Ọ', 'ọ', 'Ỏ', 'ỏ', 'Ộ', 'ộ', 'Ố', 'ố', 'Ỗ', 'ỗ', 'Ồ', 'ồ', 'Ổ', 'ổ', 'Ơ', 'ơ', 'Ờ', 'ờ', 'Ớ', 'ớ', 'Ợ', 'ợ', 'Ở', 'ở', 'Ỡ', 'ỡ', 'ο', 'Ο', 'о', 'О'),
'p' => array ('p', 'P', 'п', 'П'),
'q' => array ('q', 'Q'),
'r' => array ('r', 'R', 'ř', 'Ř', 'р', 'Р'),
's' => array ('s', 'S', 'ş', 'Ş', 'ś', 'Ś', 'š', 'Š', 'с', 'С'),
'ss' => array ('ß'),
't' => array ('t', 'T', 'т', 'Т', 'τ', 'Τ', 'ţ', 'Ţ', 'ť', 'Ť', 'т', 'Т'),
'u' => array ('u', 'U', 'ù', 'Ù', 'ú', 'Ú', 'û', 'Û', 'ü', 'Ü', 'Ụ', 'ụ', 'Ủ', 'ủ', 'Ũ', 'ũ', 'Ư', 'ư', 'Ừ', 'ừ', 'Ứ', 'ứ', 'Ự', 'ự', 'Ử', 'ử', 'Ữ', 'ữ', 'ů', 'Ů', 'у', 'У'),
'v' => array ('v', 'V', 'в', 'В'),
'w' => array ('w', 'W'),
'x' => array ('x', 'X', '×'),
'y' => array ('y', 'Y', 'ý', 'Ý', 'ÿ', 'Ỳ', 'ỳ', 'Ỵ', 'ỵ', 'Ỷ', 'ỷ', 'Ỹ', 'ỹ', 'ы', 'Ы'),
'z' => array ('z', 'Z', 'ż', 'Ż', 'ź', 'Ź', 'ž', 'Ž', 'Ζ', 'з', 'З'),
'jo' => array ('ё', 'Ё'),
'zh' => array ('ж', 'Ж'),
'ch' => array ('ч', 'Ч'),
'sh' => array ('ш', 'Ш'),
'sch' => array ('щ', 'Щ'),
'eh' => array ('э', 'Э'),
'yu' => array ('ю', 'Ю'),
'ya' => array ('я', 'Я'),
'' => array ('ъ', 'Ъ', 'ь', 'Ь', '?', '«', '»', ':', '&', '+', '@', '%', '^', '№', '#'),
'-' => array ('-', ' ', '.', ','),
'_' => array ('_'),
'!' => array ('!'),
'~' => array ('~'),
'*' => array ('*'),
"\x12" => array ("'", '"'),
'(' => array ('(', '{', '['),
')' => array (')', '}', ']'),
'$' => array ('$'),
'0' => array ('0'),
'1' => array ('1', '¹'),
'2' => array ('2', '²'),
'3' => array ('3', '³'),
'4' => array ('4'),
'5' => array ('5'),
'6' => array ('6'),
'7' => array ('7'),
'8' => array ('8'),
'9' => array ('9'),
);


Please this has stop working on my forum... The symbols () , " , ' are now showing in my pretty-url link. and i check my Subs-Prettyurl.php  all this code is in the file


Xpresskonami

Quote from: Xpresskonami on February 29, 2020, 04:29:36 AM
Quote from: digger on March 15, 2018, 07:35:18 AM
vbgamer45, update characterHash array to support cyrillic, please.


// Do you know your ABCs?
$characterHash = array (
'a' => array ('a', 'A', 'à', 'À', 'á', 'Á', 'â', 'Â', 'ã', 'Ã', 'ä', 'Ä', 'å', 'Å', 'ª', 'ą', 'Ą', 'а', 'А', 'ạ', 'Ạ', 'ả', 'Ả', 'Ầ', 'ầ', 'Ấ', 'ấ', 'Ậ', 'ậ', 'Ẩ', 'ẩ', 'Ẫ', 'ẫ', 'Ă', 'ă', 'Ắ', 'ắ', 'Ẵ', 'ẵ', 'Ặ', 'ặ', 'Ằ', 'ằ', 'Ẳ', 'ẳ', 'а', 'А'),
'ae' => array ('æ', 'Æ'),
'b' => array ('b', 'B', 'б', 'Б'),
'c' => array ('c', 'C', 'ç', 'Ç', 'ć', 'Ć', 'č', 'Č', 'ц', 'Ц'),
'd' => array ('d', 'D', 'Ð', 'đ', 'Đ', 'ď', 'Ď', 'д', 'Д'),
'e' => array ('e', 'E', 'è', 'È', 'é', 'É', 'ê', 'Ê', 'ë', 'Ë', 'ę', 'Ę', 'е', 'Е', 'ё', 'Ё', 'э', 'Э', 'Ẹ', 'ẹ', 'Ẻ', 'ẻ', 'Ẽ', 'ẽ', 'Ề', 'ề', 'Ế', 'ế', 'Ệ', 'ệ', 'Ể', 'ể', 'Ễ', 'ễ', 'ε', 'Ε', 'ě', 'Ě', 'е', 'Е'),
'f' => array ('f', 'F', 'ф', 'Ф'),
'g' => array ('g', 'G', 'ğ', 'Ğ', 'г', 'Г'),
'h' => array ('h', 'H', 'х', 'Х'),
'i' => array ('i', 'I', 'ì', 'Ì', 'í', 'Í', 'î', 'Î', 'ï', 'Ï', 'ı', 'İ', 'Ị', 'ị', 'Ỉ', 'ỉ', 'Ĩ', 'ĩ', 'Ι', 'ι', 'и', 'И'),
'j' => array ('j', 'J', 'й', 'Й'),
'k' => array ('k', 'K', 'к', 'К', 'κ', 'Κ', 'к', 'К'),
'l' => array ('l', 'L', 'ł', 'Ł', 'л', 'Л'),
'm' => array ('m', 'M', 'м', 'М', 'Μ', 'м', 'М'),
'n' => array ('n', 'N', 'ñ', 'Ñ', 'ń', 'Ń', 'ň', 'Ň', 'н', 'Н'),
'o' => array ('o', 'O', 'ò', 'Ò', 'ó', 'Ó', 'ô', 'Ô', 'õ', 'Õ', 'ö', 'Ö', 'ø', 'Ø', 'º', 'о', 'О', 'Ọ', 'ọ', 'Ỏ', 'ỏ', 'Ộ', 'ộ', 'Ố', 'ố', 'Ỗ', 'ỗ', 'Ồ', 'ồ', 'Ổ', 'ổ', 'Ơ', 'ơ', 'Ờ', 'ờ', 'Ớ', 'ớ', 'Ợ', 'ợ', 'Ở', 'ở', 'Ỡ', 'ỡ', 'ο', 'Ο', 'о', 'О'),
'p' => array ('p', 'P', 'п', 'П'),
'q' => array ('q', 'Q'),
'r' => array ('r', 'R', 'ř', 'Ř', 'р', 'Р'),
's' => array ('s', 'S', 'ş', 'Ş', 'ś', 'Ś', 'š', 'Š', 'с', 'С'),
'ss' => array ('ß'),
't' => array ('t', 'T', 'т', 'Т', 'τ', 'Τ', 'ţ', 'Ţ', 'ť', 'Ť', 'т', 'Т'),
'u' => array ('u', 'U', 'ù', 'Ù', 'ú', 'Ú', 'û', 'Û', 'ü', 'Ü', 'Ụ', 'ụ', 'Ủ', 'ủ', 'Ũ', 'ũ', 'Ư', 'ư', 'Ừ', 'ừ', 'Ứ', 'ứ', 'Ự', 'ự', 'Ử', 'ử', 'Ữ', 'ữ', 'ů', 'Ů', 'у', 'У'),
'v' => array ('v', 'V', 'в', 'В'),
'w' => array ('w', 'W'),
'x' => array ('x', 'X', '×'),
'y' => array ('y', 'Y', 'ý', 'Ý', 'ÿ', 'Ỳ', 'ỳ', 'Ỵ', 'ỵ', 'Ỷ', 'ỷ', 'Ỹ', 'ỹ', 'ы', 'Ы'),
'z' => array ('z', 'Z', 'ż', 'Ż', 'ź', 'Ź', 'ž', 'Ž', 'Ζ', 'з', 'З'),
'jo' => array ('ё', 'Ё'),
'zh' => array ('ж', 'Ж'),
'ch' => array ('ч', 'Ч'),
'sh' => array ('ш', 'Ш'),
'sch' => array ('щ', 'Щ'),
'eh' => array ('э', 'Э'),
'yu' => array ('ю', 'Ю'),
'ya' => array ('я', 'Я'),
'' => array ('ъ', 'Ъ', 'ь', 'Ь', '?', '«', '»', ':', '&', '+', '@', '%', '^', '№', '#'),
'-' => array ('-', ' ', '.', ','),
'_' => array ('_'),
'!' => array ('!'),
'~' => array ('~'),
'*' => array ('*'),
"\x12" => array ("'", '"'),
'(' => array ('(', '{', '['),
')' => array (')', '}', ']'),
'$' => array ('$'),
'0' => array ('0'),
'1' => array ('1', '¹'),
'2' => array ('2', '²'),
'3' => array ('3', '³'),
'4' => array ('4'),
'5' => array ('5'),
'6' => array ('6'),
'7' => array ('7'),
'8' => array ('8'),
'9' => array ('9'),
);


Please this has stop working on my forum... The symbols () , " , ' are now showing in my pretty-url link. and i check my Subs-Prettyurl.php  all this code is in the file

This problem occurs after i re-update my pretty-url.

Xpresskonami

Quote from: Xpresskonami on June 10, 2018, 04:52:33 AM
Quote from: GigaWatt on May 29, 2018, 08:23:50 PM
Try this.

Code (Subs-PrettyUrls.php) Select
'-' => array ('-', ' ', '.', ',', "'", '"', '`', '(', ')', '[', ']'),
'_'   =>   array ('_'),
'!'   =>   array ('!'),
'~'   =>   array ('~'),
'*'   =>   array ('*'),
"\x12"   =>   array ("'", '"'),
// '('   =>   array ('(', '{', '['),
// ')'   =>   array (')', '}', ']'),



This work for Me. thanks to the Developers in the forum.. The pretty-url is now fine and friendly

This has fix my error i just comment on previously. Thanks!!!

SMFHacks.com Team

Update
2.0.2
!Fixes for urls for other character sets
!Minor code optimizations
!Improved session variable generation to 2.1 standards if not present.
Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

smartmouse

Hello, I have tried to install this mod on SMF 2.1 and all files have "Test successful".

...but I opened all arrows and I have found some files having errors! (see the attached image)

Why these errors were hidden? ...and how to install mod without errors?

vbgamer45

Safe to ignore which is is why I have it hidden.
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

smartmouse

Quote from: vbgamer45 on March 03, 2020, 08:54:57 AM
Safe to ignore which is is why I have it hidden.
How installation figures out that it has to ignore and then hide them?

vbgamer45

I code it manually in the mod to check which ones are safe to ignore.
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

Xpresskonami

Quote from: vbgamer45 on February 02, 2020, 11:22:14 AM
If you are on SMF 2.0.
Copy this file to Sources folder and see if it helps...

I raise complain on Optimus Brave topic that my sitemap is not working with pretty url.

No one is responding to my comments on the topic. The error begins after you tell me to upload this file. Can you please help to check on it why the sitemap not working with pretty url mod??

Thanks

vbgamer45

I wouldn't know as Optimus Brave is not part of this mod...sorry.
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

Xpresskonami

Quote from: vbgamer45 on March 08, 2020, 09:07:29 PM
I wouldn't know as Optimus Brave is not part of this mod...sorry.

Ok thanks

Xpresskonami

Quote from: Xpresskonami on March 08, 2020, 08:21:47 PM
Quote from: vbgamer45 on February 02, 2020, 11:22:14 AM
If you are on SMF 2.0.
Copy this file to Sources folder and see if it helps...

I raise complain on Optimus Brave topic that my sitemap is not working with pretty url.

No one is responding to my comments on the topic. The error begins after you tell me to upload this file. Can you please help to check on it why the sitemap not working with pretty url mod??

Thanks

Please Vbgamer45 is there anyway I can use htacess to rewrite the sitemap urls?

The optimus brave support topic is ignoring my comments on the Error. This sitemap url has get my forum deranked , all the index topics are not in Google SEO anymore. I can't keep shut and be looking at the forum this way.

Please any idea or help to assist on this.

Xpresskonami

Quote from: Xpresskonami on February 23, 2020, 12:15:21 AM
Please i discovered low indexing from my google webmaster tools. i tried to check the search performance and i see my forum pretty url stop working on sitemap.xml

All my submitted topic and board has now change from www.url.com/this-is-my-forum/ to www.url.com/index.php?topic=143.0 And my pretty url is working fine on my website. How can i fix this??

My issues about the error am facing on the rewrite url is not from "Optimus Brave" Before I could update the Optimus brave to lastest version, I have been facing the error.

If I disable the pretty url mod the forum url work fine with no error including the sitemap url.

But if I enable the pretty url mod. The url automatically change to this

www.url.com/index.php?board;=1.0

What I later found in this error is, when I disable the pretty url, the working url link is like this www.url.com/index.php?board=1.0

But after I enable pretty url, this symbol ; is added after index.php?board;=1.0

What has cause the url to convert the link to that automatically?? I later install the latest version of pretty url mod so I can see maybe the problem is from the old version. But the error is still the same.

If I disable the pretty url, the url links re all working fine including on sitemap!..

vbgamer45

What SMF version? Are you not rewriting board urls?
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

Xpresskonami

Quote from: vbgamer45 on March 11, 2020, 11:38:00 AM
What SMF version? Are you not rewriting board urls?

The smf version is SMF 2.0.17
Am rewriting both the boards, topic and action urls. And I was confused about how the url link automatically change.


Xpresskonami

Quote from: Xpresskonami on January 29, 2020, 09:55:02 PM
Anytime i try to upload attachment, I got this error

Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate 4570229 bytes) in /public_html/Sources/PrettyUrls-Filters.php on line 114

Back to this

I come to complain about this error before I start facing the error on the rewrite urls. You give a "PrettyUrls-Filters.php" file to upload and see if I will have the error or not. After I upload the file, the attachment error fix.

After fixing the attachment error, the pretty url rewrite url error link occurs. And I find out the url is attached with the symbols ;

So I was thinking maybe the fixing attached might cause the error or not. And also I think updating the pretty url latest version will fix it but did not!

Xpresskonami

Quote from: Xpresskonami on March 11, 2020, 11:42:06 AM
Quote from: vbgamer45 on March 11, 2020, 11:38:00 AM
What SMF version? Are you not rewriting board urls?

The smf version is SMF 2.0.17
Am rewriting both the boards, topic and action urls. And I was confused about how the url link automatically change.

Am yet to get your respond back

vbgamer45

I am busy at the moment takes time for me to look at. I may have time in a week or so. I haven't had others have that issue...
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

Advertisement: