News:

Join the Facebook Fan Page.

Main Menu

Pretty URLs

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

Previous topic - Next topic

tvkahani

i saved it as .php, but it still is a txt file =S

and wat to do after removing it? install again?


mariusfv

#6102
I think you must first set your Windows, Open explorer: Tools->Folder Options -> View - uncheck box: Hide extensions for known files types.
After rename again your .php file to have the .php extension, not .txt and upload it again.

BTW: Your smf copyright is in some way corrupted by others copyrights : http://www.forums.tvkahani.com/. (Is a bad policy by SMF that accept every mod to add copyright everywhere, I agree to add copyright on mod page but not on forum page, but this is their policy). I see few time ago an smf forum with 17 copyrights added by mods ofcourse, don't think this is to much ?

tvkahani

ive tried doing it but still saves the file as same =S

im so lost =(


as for the copyrite part.. yes it can get irritating, and makes the forum look a bit weak/unprof, but i guess there is nothing that we can do about it

mariusfv

This is your abcd.php with your write ed code:
Attached!
Upload him via ftp, I suggest you to use total commander software for ftp transfer.



 

w3bm4st3r

Hi!

Is possible to use pretty urls with .html only for topics?

:D

Arantor

Quote from: w3bm4st3r on April 11, 2011, 06:55:49 PM
Hi!

Is possible to use pretty urls with .html only for topics?

:D

For what benefit, exactly? Search engines do not care what extension the URL has.
Holder of controversial views, all of which my own.


w3bm4st3r

Quote from: Arantor on April 11, 2011, 07:17:34 PMFor what benefit, exactly? Search engines do not care what extension the URL has.

Because seems more pretty for me :)

alimrb

it doesn't work with non-English words such as Arabic, Persian, Hebrew (e.g درود بر شما) . is there any solution for this feature?

vbgamer45

No solution only standard latin characters are supported at this time.
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

carderne

Hi everyone,

I started my own thread about this but was recommended to come here.

I have a small problem with my combination of ADK Portal and Pretty URLs.

My home page is the portal and then the main forum page is at /index.php?action=forum but then once you go into an actual board, Pretty URLs kicks in and I get /off-topic/ and /off-topic/hello-world/ for topics. I'd like help on getting the main forum page to just be /forum...

Thanks

alexandervba

Hello,

Loving this mod, now I tweaked it a little bit because some links were really ******ed up. All sign such as ()*!?-_ ect... I have replaced them in subs-prettyurl.php to *, so they no longer show, now somehow I have removed spaces being replaced by -, but I cant find where I did that, now all the topics are replaced by 1 long word :s

Any idea's?

ty

olufemo

With the pretty Url installed, I have this issue of new messages. instead of displaying the newly posted message the page will keep running/loading until time-out but if the forum is refresh, you will actually see that the message is posted and display ok.

When I uninstall the pretty Url, this issue is solved.

I wish to keep the pretty Url mod installed, so help on how to deal with this error above will appreciated

oOo--STAR--oOo

Quote from: hadvisor on September 01, 2010, 04:10:22 AM
It took me half a day to figure this out and I thought I could give other the chance to spare that time on something more useful :)

Here's the idea: I found a dozen of solutions to the problem of making SMF work on Nginx + PrettyURL but _none_ worked (fully) for me so after a lot of struggle I figured out a solution that works for me and hopefully for others as well.

I use version 1.1.11 of SMF

The idea is to add in the host configuration these lines

if (!-e $request_filename)
        {

                # Rules for: profiles
                rewrite ^/forum/profile/([^/]+)/?$ "/forum/index.php?pretty;action=profile;user=$1" last;

                # Rules for: actions
                rewrite ^/forum/(activate|admin|ads|announce|attachapprove|ban|boardrecount|buddy|calendar|clock)/?$ "/forum/index.php?pretty;action=$1" last;
                rewrite ^/forum/(collapse|convertentities|coppa|credits|deletemsg|detailedversion|display|dlattach|editpoll|editpoll2)/?$ "/forum/index.php?pretty;action=$1" last;
                rewrite ^/forum/(emailuser|featuresettings|findmember|groups|help|helpadmin|im|jseditor|jsmodify)/?$ "/forum/index.php?pretty;action=$1" last;
                rewrite ^/forum/(jsoption|lock|lockvoting|login|login2|logout|manageboards|managecalendar|managesearch|manageattachments|maintain|markasread|mascot)/?$ "/forum/index.php?pretty;action=$1" last;
                rewrite ^/forum/(membergroups|mergetopics|mlist|moderate|modifycat|modifykarma|movetopic|movetopic2|news|notify)/?$ "/forum/index.php?pretty;action=$1" last;
                rewrite ^/forum/(notifyboard|optimizetables|openidreturn|packages|permissions|pm|post|postsettings|post2|printpage|profile|quotefast)/?$ "/forum/index.php?pretty;action=$1" last;
                rewrite ^/forum/(quickmod|quickmod2|recent|regcenter|register|register2|reminder|removepoll|removetopic2)/?$ "/forum/index.php?pretty;action=$1" last;
                rewrite ^/forum/(repairboards|reporttm|requestmembers|restoretopic|reports|search|search2|sendtopic|serversettings|smileys|smstats|suggest)/?$ "/forum/index.php?pretty;action=$1" last;
                rewrite ^/forum/(spellcheck|splittopics|stats|sticky|theme|trackip|about:mozilla|about:unknown)/?$ "/forum/index.php?pretty;action=$1" last;
                rewrite ^/forum/(unread|unreadreplies|verificationcode|viewErrorLog|viewmembers|viewprofile|vote|viewquery|viewsmfile|who)/?$ "/forum/index.php?pretty;action=$1" last;
                rewrite ^/forum/(\.xml|xmlhttp)/?$ "/forum/index.php?pretty;action=$1" last;

                # Rules for: boards
                rewrite ^/forum/([-_!~*'()$a-zA-Z0-9]+)/?$ "/forum/index.php?pretty;board=$1.0" last;
                rewrite ^/forum/([-_!~*'()$a-zA-Z0-9]+)/([0-9]*)/?$ "/forum/index.php?pretty;board=$1.$2" last;

                # Rules for: topics
                rewrite ^/forum/([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/?$ "/forum/index.php?pretty;board=$1;topic=$2.0" last;
                rewrite ^/forum/([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/([0-9]*|msg[0-9]*|new)/?$ "/forum/index.php?pretty;board=$1;topic=$2.$3" last;

                rewrite ^/(.*)$ /index.php?params=$1 last;
        }

I have installed nginx and looking to get pretty url working for this mod
I used this in my nginx.conf and the topics seem to redirect correctly.

But things like forum, media all the other links are not redirecting
Although it does show the URL in the browser correctly as it should be but its not on this page.

It just redirects to the home screen but the URL in the browser will be @
www.uniquez-home.com/v2/forum/
But I will be on the home page?

Can anyone help me fix this please.

I been searching and trying to get this right for a good day.
I am stuck :(

Thanks to the poster for this as it helps with some of the rewrites.. I just need help with the rest :(
You can't fool a sufficiently talented fool.

http://www.uniquez-home.com
In Design Phase!

Mods I am designing,  No refresh Collapse Categories , Poll Redesign , Pure CSS Breadcrumb , Profile Statuses, Profile Views.

xpubstargamingx

The maintenance tasks are no longer working and nothing has changed on my forum since I installed this mod. Any suggestions? Uninstall/reinstall?

mariusfv

#6115
vbgamer45 I find a bug with Pretty urls and 'SMF default captcha'. I've ask here for support because when I request another captcha image it reload the entire page and not only image: http://www.simplemachines.org/community/index.php?topic=432282.0 and SlammedDime guess can be Pretty urls and suggest me to disable Pretty urls and to try again and he was right, Pretty urls cause this error.

So in fact the bug is: with Pretty urls and SMF default captcha if you request a new captcha image it reload entire page, and for example at register page if you request another image will reload page and sends you to the agreement again. And on forum posts and send PM  is required for fist 5 posts/pm captcha and if you request another captcha image you must write again your text because it reload entire page.
I've check this issue on other SMF forum who use Pretty urls with 2.0 RC5 and the same problem.

I have SMF 2.0 RC5 (fresh install, not upgrade).
Can you help me please with what I must to edit/add and in which file please ?

10x in advance

EDIT: I've try the options:
1.Skip Actions List: register,post
2.Actions Rewrite Action URLs (ie, index.php?action=something) = unchecked, so disable.
After I check and isn't rewrite register,post but the same problem at SMF default captcha if I request another image at register page or post/pm it reload the entire page and on post or PM you must write again your post/pm because it reload entire page.

MiY4Gi

Man, installing this mod looks very risky considering all the problems people are reporting. Since Google doesn't consider "friendly urls" in it's ranking system, there doesn't appear to me much use for the mod other than to make the urls look pretty. In my case though, I would like to know if pretty urls could help me with a minor problem I'm having.

It may be due to the SMFBlog mod that was installed, but at the moment, I have multiple urls (each one with a different url query) pointing to the same webpage. This harms my page rank since each url is indexed, diluting my pagerank. I would like to know whether pretty urls will solve this problem.

The following urls on my forum point to the same page:

http://www.genshiken.uct.ac.za/
http://www.genshiken.uct.ac.za/index.php
http://www.genshiken.uct.ac.za/index.php?option=com_smfnews&Itemid=33

Someone suggested I use connonical meta tags, but this problem isn't only occuring with the above webpage, but with most of my other webpages as well. There appears to be a problem with the internal linking system, but I can't figure out what the cause is.

Would pretty urls fix this? 
Check out my new website, MyAnimeClub.net. I plan to create the largest anime community, and most fun and user-friendly anime forum in the world. It's still in the development stage though.

mariusfv

Could anyone please to help me to solve this bug with SMF captcha and Pretty Urls, request another captcha image reload entire page:
http://www.simplemachines.org/community/index.php?topic=146969.msg3031770#msg3031770
10x

MiY4Gi

Quote from: mariusfv on May 02, 2011, 03:38:49 AM
Could anyone please to help me to solve this bug with SMF captcha and Pretty Urls, request another captcha image reload entire page:
http://www.simplemachines.org/community/index.php?topic=146969.msg3031770#msg3031770
10x

Perhaps you can try using reCAPTCHA rather than the default Visual Verification system. Since it's a different system, it might work, even though the default one does not.
Check out my new website, MyAnimeClub.net. I plan to create the largest anime community, and most fun and user-friendly anime forum in the world. It's still in the development stage though.

mariusfv

reCAPTCHA isn't compatible with RC5, I installed with emulation but have a lot of technical bug after, for example if you try to post and is required recaptcha it tell you: you can't access this section, and all permissions are set ok .... and other technical bug....etc....this is why I don't use recaptch. 

Advertisement: