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

xpubstargamingx

I have just started using this Mod today and I have noticed anything with a apostrophe in the Board title makes my forum time-out and not load the specific Board. I had to rename 3 of my Boards and didn't have a problem. I have turned this Mod off for now until I can figure out what I can do because when this renames somethings it will not load on my forums anymore.

I am using 1.1.13

vbgamer45

Don't use 's some servers have issues with it.
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

donw9876

#6042
I have a problem with this mod, given: Pretty URLS 1.0RC5 and SMF2 RC5.

I am getting the same error noted earlier by another person. The pretty URLs work for all topics and messages when viewed statically by the user - IE, not making thread changes.

But posting, editing or removing a message results in the Firefox error: "Problem Loading Page" and "The Page isn't redirecting properly".  The URL being returned by SMF for the updated browser page upon submitting the edit is an old style URL that looks something like

...forum/index.php/board,6.0.html

But, any message removals or message posts do get done correctly. One has to go back to the forum and display the thread or topic list again.

So the specific thing that seems to happen is that while the pretty URLs are normally being generated when I browse pages or forums, a non-pretty plain URL (which doesn't get parsed correctly by .htaccess or something) is emitted when any thread changes are made by the user that cause the browser to be refreshed.

The PrettyURL mod appeared to install with no errors - with one weird issue that seemed to go away.

At the start of the "Install" mod, where the error pre-checking is done, there was one problem noted at step 16, for file ./Themes/default/ManageBoards.template.php: the "find/replace" was alleged to fail if the install was performed. I went ahead and installed the mod.

HOWEVER - inspection of that file after the mod was installed shows that the "replace" text shown in the manual file edits list actually succeeded (there is new code that matches the code shown in the manual file edits list.)

I've tried things like disabling all the pretty URL stuff in the Pretty URL controls, and then re-enabling them. Thinking that toggling the settings might nudge something to work. No effect.

Please advise.

xpubstargamingx

Quote from: donw9876 on March 27, 2011, 12:06:40 AM
I have a problem with this mod, given: Pretty URLS 1.0RC5 and SMF2 RC5.

I am getting the same error noted earlier by another person. The pretty URLs work for all topics and messages when viewed statically by the user - IE, not making thread changes.

But posting, editing or removing a message results in the Firefox error: "Problem Loading Page" and "The Page isn't redirecting properly".  The URL being returned by SMF for the updated browser page upon submitting the edit is an old style URL that looks something like

...forum/index.php/board,6.0.html

But, any message removals or message posts do get done correctly. One has to go back to the forum and display the thread or topic list again.

So the specific thing that seems to happen is that while the pretty URLs are normally being generated when I browse pages or forums, a non-pretty plain URL (which doesn't get parsed correctly by .htaccess or something) is emitted when any thread changes are made by the user that cause the browser to be refreshed.

The PrettyURL mod appeared to install with no errors - with one weird issue that seemed to go away.

At the start of the "Install" mod, where the error pre-checking is done, there was one problem noted at step 16, for file ./Themes/default/ManageBoards.template.php: the "find/replace" was alleged to fail if the install was performed. I went ahead and installed the mod.

HOWEVER - inspection of that file after the mod was installed shows that the "replace" text shown in the manual file edits list actually succeeded (there is new code that matches the code shown in the manual file edits list.)

I've tried things like disabling all the pretty URL stuff in the Pretty URL controls, and then re-enabling them. Thinking that toggling the settings might nudge something to work. No effect.

Please advise.

Same issue I am having.

I set this Mod up and ever since installing the Mod after posting a new thread topic Mozilla and IE both timeout, but the topic was successfully posted.

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

xpubstargamingx

Quote from: vbgamer45 on March 27, 2011, 12:28:42 AM
Check on the previous page for a fix.

You talking about this?

Quote from: tabletsdroid on March 24, 2011, 05:34:36 PM
For all you cats having problems with a redirection error after posting new topics replies etc

step 1
uninstall pretty urls
uninstall simple portal

step 2
go to admin > features and options
uncheck search engine friendly urls

step 3
install pretty urls
install simple portal

the redirect error should be gone now...

I was going to try these steps, but...

go to admin > features and options
uncheck search engine friendly urls

I am unable to locate the option for Search Engine Friendly URLS.

Should I uninstall SimplePortal and Pretty URLs and re-install? Will this help with the timeout redirect?

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

donw9876

I just fixed the problem, using the same procedure noted by "xpub..." -

To answer your question, xpub... - that option in Admin/Features and Options is hidden (apparently) when PrettyURLs is installed. Removing PrettyURLs will reveal it. (No kidding). Then you can uncheck it. This is why you have to uninstall PrettyURL first.

I did the procedure quoted below and it works. The redirect issue is gone. Crossing fingers.

Quote from: tabletsdroid on March 24, 2011, 05:34:36 PM
For all you cats having problems with a redirection error after posting new topics replies etc

step 1
uninstall pretty urls
uninstall simple portal

step 2
go to admin > features and options
uncheck search engine friendly urls

step 3
install pretty urls
install simple portal

the redirect error should be gone now...

Thanks to tabletsdroid and vbgamer for their help. Much appreciated.

xpubstargamingx

Quote from: vbgamer45 on March 27, 2011, 01:01:56 AM
Yes it would

These steps did indeed fix my issue.

Next question...

Will there be a fix that will take parentheses out of the URL if they are in the thread title?

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

Rohan_

Proud To Be An Indian

vbgamer45

Not possible without modifying prettyurls
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

Dannii

Quote from: xpubstargamingx on March 27, 2011, 01:36:44 AM
Quote from: vbgamer45 on March 27, 2011, 01:01:56 AM
Yes it would

These steps did indeed fix my issue.

Next question...

Will there be a fix that will take parentheses out of the URL if they are in the thread title?
You can always just remove those rows from the big array in Subs-PrettyUrls.php, but it will only change new topics. Empty your pretty_topic_urls table for the rest.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Rohan_

Quote from: vbgamer45 on March 27, 2011, 06:56:52 PM
Not possible without modifying prettyurls

Then please tell me how to do it.. this mod still have something which are not good as SEO.. there should be no brackets () there should be no * there should be no ! and other symbols in the url's..

Urls always should be numeric from 0 to 9 and alphabetic from a to z....

Please tell me how to do it so if there title is

abc (2010)
url should be: /abc-2010

abc*zxc*
url should be: /abc-zxc (NOT /abc-*zxc*)

Please tell me the way to make it remove all symbols automatically and set a simple url
Proud To Be An Indian

Dannii

QuoteThen please tell me how to do it.. this mod still have something which are not good as SEO.. there should be no brackets () there should be no * there should be no ! and other symbols in the url's..

Urls always should be numeric from 0 to 9 and alphabetic from a to z....
Why do you say that? Those symbols are all perfectly fine! The specification for URLs says so. Check it yourself.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

XerraX

Running SMF 2 RC5 and Pretty URLs 2.0 RC5. Having the same problem as:

Quote from: MarkoKg on February 02, 2011, 10:54:41 AM
Hello there.

Ive been upgraded my forum from 1.1.12 to 2.0RC4, and i have a sort of "problem" with pretty urls mod.
Ive been using it on 1.1.12 forum too.
Then, i have a link like this:
http://www.samo-opusteno.info/forum/novi-clanovi/cao-svima-))))/
Thats ok, but when i upgraded, and installed pretty urls, the same topics looks the same way, i mean the link is the same, that is ok.
BUT...
When i am on forum index, my boards have links like:
http://www.samo-opusteno.info/forum/3/
All boards are numbered in link.
Also, i can browse the same forum with the link:
http://www.samo-opusteno.info/forum/novi-clanovi/
I dont understand how i have those 2 links. I want just last one to be displayed in forum index, and not numbered link.
Ive try mod mainteance, but it doesnt help.

Any suggestion?
Ive attached .htaccess file, if there can be a problem.

This does not solve my problem:
Quote from: 4LP3RUZ1 on February 04, 2011, 10:38:25 AM
@MarkoKg

You have to go into the admin center -> boards and categories and click the Pretty URL link next to all boards with numbered links. Then set the default to whatever you want and delete the numbers (or you can leave them)
Visiting MarkoKg Forum, shows it didnt work for him either...

PLEASE HELP =/
ReAliTy iS JuST a DrEAm. HaCk ThE PLaNet!

waruna

Can anyone teach me how to install this mod in RC2? Thanks in advance.
Trust of Lust

vbgamer45

I strongly suggest upgrading to RC5 but if not there should be an emulate version number option in the package manager.
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

Rohan_

Hello,

Currently when we browse different pages of any board or any topic the title in browser is still the same as original..

is it possible to add page 2, page 3 in the titles which appears on browsers title (no changes in url) ?

for example

currently if there is a board Jokes and it have 30 pages. and we are on any page the title is same all the time. but I want if i am on page 5 the title of the page should be this

Jokes - Page 5

not only Jokes on all pages... is it possible ?? Please help
Proud To Be An Indian

Arantor

That's not really anything to do with this mod, please ask in the relevant support board.
Holder of controversial views, all of which my own.


Advertisement: