News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Pretty URLs

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

Previous topic - Next topic

ukhalik2

Quote from: MarcusJ on March 24, 2010, 06:22:34 PM
Quote from: Leemy on March 24, 2010, 12:49:18 AM
I have 1 forum under /forum and one forum under /testforum... i did this mod on testforum but the rewritten URLs are pointing to /forum!  I've checkd repair_settings.php and all is in order. What do you suspect is causing this?

In the test forum database for 'smf_settings' find the row called 'pretty_root_url'.  I had to change this manually after moving from one domain to another.

Good luck.


thanks, it helped me also ;)

Bec

#5041
I have just installed wordpress into a directory off my main forum, when installed it gave me the following link to access the admin backend {url removed} but... its not working and I think it might have something to do with this mod... any ideas on how to fix it? even the direct link to my blog - {url removed} doesnt work it just comes up with a messed up home page. I have run the maintenance tasks thinking that might correct the link but nothing.

vbgamer45

Yeah that would be an issue with the mod if you have anything in the same folder as Pretty urls it would mess up. This happens on my site too don't have a fix or a way to ignore yet.
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

Bec

wow! considering it is in the main directory that is a huge concern and major flaw of this mod!!
may have to consider removing it because i need to have the blog installed!

are there any plans to have fixed?!

vbgamer45

Plan to in the future. First need to figure out what causes it. Then need to find a fix
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

sneijder23

It is compatible with the mod Globals Headers and footers?
When active the mod pretty url,header and footer does not work on the page redirected, and index only pages that do not have the friendly url.

,thanks.

vbgamer45

It should work fine with global headers and footers.
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

sneijder23

Thanks for responding vbgamer45
As might solve my problem?

,thanks.

MarkoKg

Hello there.
i have a problem with installing this mod.
Please take a look at this post:
http://www.simplemachines.org/community/index.php?topic=373236.msg2558617#msg2558617

i would be grateful if someone can help me with this.
Regards.

evilfx

Hi, i'm using smf 2.0 rc3. ( forum.blackberrypt.com [nofollow] )

I installed this but my links end in http://...//?wwwRedirect

My users can't reply or create topics with this mod installed.

Help ?

anto74

Thanks again for this Mod!
I have one problem with SMF Gallery filters ( SMF Gallery Pro licensed from smfhacks.com )
In .htaccess file i have this rule after enabled filters:
RewriteRule ^gallery/([^/]+)/([^/]+)/([0-9]*)/?$ ./index.php?action=gallery;sa=view;id=$3 [L,QSA]
RewriteRule ^gallery/([^/]+)/([^/]+)/([0-9]*)/?$ ./index.php?action=gallery;sa=view&id=$3 [L,QSA]

but the picture url is same...why?
Thanks!
Antonio

anto74

Quote from: anto74 on March 30, 2010, 04:37:40 AM
Thanks again for this Mod!
I have one problem with SMF Gallery filters ( SMF Gallery Pro licensed from smfhacks.com )
In .htaccess file i have this rule after enabled filters:
RewriteRule ^gallery/([^/]+)/([^/]+)/([0-9]*)/?$ ./index.php?action=gallery;sa=view;id=$3 [L,QSA]
RewriteRule ^gallery/([^/]+)/([^/]+)/([0-9]*)/?$ ./index.php?action=gallery;sa=view&id=$3 [L,QSA]

but the picture url is same...why?
Thanks!
Antonio
I solved, sorry....the prettyurl-filters installation it's broken ...now it's ok...i added the code manually.
Only one question: can i change the word gallery/ in the rewrite rule or not?

Thanks
Antonio

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

MarkoKg

Hello there.
Can you please help me with installation?
I got this error:

Fatal error: require() [function.require]: Failed opening required '/var/www/web25/web/Packages/temp/./SMF1-1/install.php' (include_path='.:/usr/share/php') in /var/www/web25/web/Sources/Packages.php  on line 556

anto74

#5054
Quote from: vbgamer45 on March 31, 2010, 01:46:57 AM
Yeah you can that is safe to change.
Thanks vbgamer45 :-)
I changed ^gallery/ in ^macrofotografia/ but i have 404 error in the photo page.
Now the url is: http://www.macroforum.org/gallery/odonati/sympetrum-fonscolombii/4633
I would this url: http://www.macroforum.org/macrofotografia/odonati/sympetrum-fonscolombii/4633
I have attached htaccess file.
Any suggestions?
Thanks!
Antonio

Achilles.

When I tried uninstalling Pretty URLs, I ended up with this:

   1.   Execute Modification   ./index.php   Test successful
   2.   Execute Modification   ./SSI.php   Test successful
   3.   Execute Modification   ./Sources/Admin.php   Test successful
   4.   Execute Modification   ./Sources/ManageErrors.php   Test successful
   5.   Execute Modification   ./Sources/ManageSettings.php   Test successful
   6.   Execute Modification   ./Sources/News.php   Test successful
   7.   Execute Modification   ./Sources/QueryString.php   Test successful
   8.   Execute Modification   ./Sources/Security.php   Test successful
   9.   Execute Modification   ./Sources/Subs.php   Test successful
   10.   Execute Modification   ./Sources/Subs-Post.php   Test successful
11.   Execute Modification   SMF2-0/BoardsAndTopics.xml   Modification parse error
12.   Execute Modification   SMF2-0/BoardsAndTopics.xml   Modification parse error
13.   Execute Modification   SMF2-0RC2/Themes.xml   Modification parse error
14.   Execute Modification   SMF2-0RC2/Themes.xml   Modification parse error
15.   Execute Modification   Languages.xml   Modification parse error
16.   Execute Modification   Languages.xml   Modification parse error

17.   Delete File   ./Sources/PrettyUrls.php   
18.   Delete File   ./Sources/PrettyUrls-Filters.php   
19.   Delete File   ./Sources/PrettyUrls-Tests.php   
20.   Delete File   ./Sources/Subs-PrettyUrls.php   
21.   Delete File   ./Themes/default/PrettyUrls.template.php   
22.   Delete Tree   ./Themes/default/pretty   
23.   Delete File   ./Themes/default/languages/PrettyUrls.english.php   
24.   Delete File   ./Themes/default/languages/PrettyUrls.french.php   
25.   Execute Code   uninstall.php

Help PLEASE?

- All donations will proceed to my Youth Foundation.

http://poseidondesigners.tk/ -- Affordable Website Designs // Banners & More!

vbgamer45

You can try manually uninstalling.

Otherwise mods need to be uninstalled in the order in which they were installed last to first
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

anto74

Quote from: anto74 on March 31, 2010, 05:34:00 AM
Quote from: vbgamer45 on March 31, 2010, 01:46:57 AM
Yeah you can that is safe to change.
Thanks vbgamer45 :-)
I changed ^gallery/ in ^macrofotografia/ but i have 404 error in the photo page.
Now the url is: http://www.macroforum.org/gallery/odonati/sympetrum-fonscolombii/4633
I would this url: http://www.macroforum.org/macrofotografia/odonati/sympetrum-fonscolombii/4633
I have attached htaccess file.
Any suggestions?
Thanks!
Antonio
It's not possible?
Thanks!
Antonio

vbgamer45

Yeah now that I look at it requires modifying of Pretty Urls too I think Sub-PrettyFilters.php
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

Bruno36

Hello!

I SimplePortal 2.3.2 installer
I can not find the line of code in sub.php

if (!empty($modSettings['queryless_urls']) && (empty($context['server']['is_cgi']) || @ini_get('cgi.fix_pathinfo') == 1 || @get_cfg_var('cgi.fix_pathinfo') == 1) && (!empty($context['server']['is_apache']) || !empty($context['server']['is_lighttpd'])))
{
if (defined('SID') && SID != '')
$setLocation = preg_replace('/^' . preg_quote($scripturl, '/') . '\?(?:' . SID . '(?:;|&|&))((?:board|topic)=[^#]+?)(#[^"]*?)?$/e', "\$scripturl . '/' . strtr('\$1', '&;=', '//,') . '.html\$2?' . SID", $setLocation);
else
$setLocation = preg_replace('/^' . preg_quote($scripturl, '/') . '\?((?:board|topic)=[^#"]+?)(#[^"]*?)?$/e', "\$scripturl . '/' . strtr('\$1', '&;=', '//,') . '.html\$2'", $setLocation);
}

Bruno36 the French
SMF 2.0.9

Advertisement: