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

apb91781

Quote from: vbgamer45 on October 06, 2010, 06:27:09 PM
Add a global statement before that code

global $sourcedir;

And see if that helps

that worked, kinda odd that it wasn't in there to begin with.

vbgamer45

Might have been missed in a mod edit or something.
Community Suite for SMF - Grow your forum with 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

apb91781

#5642
Next issue, Avatars not uploading properly.
Always getting a 404 error.
You don't have permission to access /profile/ on this server.
this is with pretty URLs active.
<edit>
Verified that I can't change my profile just in general without this triggering.
</edit>
<editx2>
Another thing just tested is the "Aeva Media Pretty Filter" for the Aeva Media 1.4 free version, when clicking upload or mass upload it goes back to the album main page.
</editx2>

dphc

Quote from: Dannii on September 07, 2007, 09:21:11 PM
QuoteIs the mod supposed to remove the Search Engine Friendly links option in features? Maybe I changed the wrong code manually because it's not there.
It is supposed to remove that option. If it's still there then it hasn't been installed properly.

[Using SMF 1.1.11 / Pretty URLs 1.0RC2]
Is Pretty URLs supposed to turn off this built-in SEF feature when you install it?  After installing, Pretty URLs works fine, but I see that both of these link formats still work:

http://site.com/forum/index.php?board=4.0
http://site.com/forum/index.php/board=4.0


will this cause problems with search engines penalizing for duplicate content? 

vbgamer45

The links should be redirected or marked as moved but yes the old formats will still work to access content.
Community Suite for SMF - Grow your forum with 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

Diomet

I have tryed to find in over 200 pages 2 things:

1. how to clear prettyurls cache. Can I just drop all lines from datebase table smf_pretty_urls_cache ?
2. how to change from www.forum.com/old-topic-or-subjct-name [nofollow] to www.forum.com/new-topic-or-subject-name [nofollow] ? I have tryed again to modify in database without succes..

I'm sorry if I have passed by a solution...

Thank you in advance!
SMF 2.0 RC3
My SMF Forum [nofollow]

chinu_491985

Hello Friends,

I had installed pretty urls mod in my website. Now the problem is that the pretty urls are working perfectly fine. But while editing the topics. It redirect to the post and the page is not found. See the example below and please help me out from this.

Pretty Urls
http://www.technologieshelp.co.cc/sports-news/how-to-buy-commonwealth-games-2010-delhi-tickets/

Url after modifying the topics. In this url it show page not found.
http://www.technologieshelp.co.cc/index.php/topic,26.msg30.html#msg30

Hope you have understood what i mean to ask. Please help me in this.

vbgamer45

Community Suite for SMF - Grow your forum with 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

chinu_491985

Hi VbGamer,

I have just modified the settings of pretty urls.
I above link will not work. I have disables the topics urls in the settings.
What the problem i am getting is whenever i use to edit the post it shows the error.
Suppose the post is

http://www.technologieshelp.co.cc/sports-news/how-to-buy-commonwealth-games-2010-delhi-tickets/

After editing the post the url use to be

http://www.technologieshelp.co.cc/index.php/topic,26.msg30.html#msg30

But the problem is that it don't use to redirect on the topic. It shows the error that LINK IS BROKEN.
Please help me in this.

dsanchez

Quote from: dsanchez on September 25, 2010, 02:57:04 PM
Quote from: vbgamer45 on September 25, 2010, 02:01:22 AM
Check the last topic on the troubleshooting page.
thank you! that solved the problem :)

I have another issue. I managed to make work

http://curefans.com/gallery

but I can't manage to make work the subdomain http://gallery.curefans.com because of the RewriteRule

RewriteRule ^gallery/?$ /gallery/index.php [L,QSA]

is there a way to make work both the subdomain and the sub folder?

Slateer

nice mod, but add bugs in my log:

Gość
123.125.68.126   
Dzisiaj o 10:50
7fffd24b2d4a3b4bb2d84e418459a7e7
Typ błędu: Nieokreślone
http://gamersite.pl/index.php?pretty;board=ogloszenia;topic=koniec-gamersite.msg7177&amp;topicseen8: Undefined variable: read_onlyPlik: /home/slateer/domains/gamersite.pl/public_html/cache/lang_Profile_polish-utf8_black.php (main sub template - eval?)
Linia: 783

[code] Gość
123.125.68.126   
Dzisiaj o 10:50
7fffd24b2d4a3b4bb2d84e418459a7e7
Typ błędu: Nieokreślone
http://gamersite.pl/index.php?pretty;board=ogloszenia;topic=koniec-gamersite.msg7177&amp;topicseen8: Undefined offset: 470Plik: /home/slateer/domains/gamersite.pl/public_html/Sources/Load.php
Linia: 1384

Gość
123.125.68.126   
Dzisiaj o 10:50
7fffd24b2d4a3b4bb2d84e418459a7e7
Typ błędu: Nieokreślone
http://gamersite.pl/index.php?pretty;board=ogloszenia;topic=koniec-gamersite.msg7177&amp;topicseen8: Undefined index: submitPlik: /home/slateer/domains/gamersite.pl/public_html/Themes/default/GenericControls.template.php (main sub template - eval?)
Linia: 11

Gość
123.125.68.126   
Dzisiaj o 10:50
7fffd24b2d4a3b4bb2d84e418459a7e7
Typ błędu: Nieokreślone
http://gamersite.pl/index.php?pretty;board=ogloszenia;topic=koniec-gamersite.msg7177&amp;topicseen8: Undefined index: commentPlik: /home/slateer/domains/gamersite.pl/public_html/Themes/default/GenericControls.template.php (main sub template - eval?)
Linia: 11

ziycon

Quote from: ziycon on October 05, 2010, 06:54:03 PM
Quote from: Dannii on September 23, 2010, 12:22:15 PM
Quote from: ziycon on September 20, 2010, 01:36:09 PM
Quote from: ziycon on September 15, 2010, 02:15:11 PM
Can anyone help me with the below issue, I'm getting the below error for the below line of code, can't figure it out??

Quote8: Undefined index: board
File: ~/forum/Sources/Display.php
Line: 85

Line 85:
if ((isset($context['pretty']['oldschoolquery']) || $context['pretty']['query_string']['board'] != $context['pretty']['board_urls'][$board]) && $modSettings['pretty_enable_filters'])
Any ideas, really need to fix this as its causing problems with users viewing posts??
Check that all the changes the mod makes were made correctly, especially to QueryString.php
How do I check or what files do I look at to see where and what changes should have been made?

Its version 2.
Can anyone help me please, my users are having trouble posting?

yorks1964

Hi All

I have just installed this mod and it just logs me out everytime I go to admin. I cant uninstall it it either as the board just logs me out.

Does anyone know how I can uninstall it or disable it ?

thanks

vbgamer45

Check the FAQ/troubleshooting page in the first post of this topic
Community Suite for SMF - Grow your forum with 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

xpubstargamingx

I wanted to install this Mod, but it comes back with Test failed...

9. Execute Modification ./Sources/Subs.php Test failed

I don't want to mess something up. Any idea why it is failing here?

vbgamer45

Most likely another mod installed in the same spot that this mod is trying to alter which caused the conflict. Another option would be to try a manual install or run the package install then make the changes to Subs.php manually.
Community Suite for SMF - Grow your forum with 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

xpubstargamingx

Quote from: vbgamer45 on October 19, 2010, 05:27:19 PM
Most likely another mod installed in the same spot that this mod is trying to alter which caused the conflict. Another option would be to try a manual install or run the package install then make the changes to Subs.php manually.

Not comfortable with that. Last time I made manual changes, my forum went down for a few hours. I will look into having someone look into this for me. Thanks for the update.

dsanchez

Got this when trying to send a newsletter. Any ideas?

Fatal error: Maximum execution time of 30 seconds exceeded in /home6/curefans/public_html/Sources/PrettyUrls-Filters.php on line 99

vbgamer45

Check the action in the url when sending a newsletter and add it to the skip actions list.
Community Suite for SMF - Grow your forum with 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

dsanchez

these errors are being shown as critical in my error log list:

http://curefans.com/index.php?pretty;board=curenews;topic=happy-birthday-robert-smith-50-years!!.0&amp;prev_next=prevDatabase error, given array of string values is empty. (new_urls)
Function: pretty_urls_topic_filterFile: /home6/curefans/public_html/Sources/PrettyUrls-Filters.php
Line: 287

Advertisement: