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

metallica48423

Does .6 include the 301 redirects?

Thanks eldacar :)
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

schled

Quote from: BlackMage on May 01, 2007, 10:59:15 PM
Does .6 include the 301 redirects?
They seem to be working on my forum :)

Dannii

#322
Quote from: schled on May 01, 2007, 09:55:01 PMFound my problem... had to remove "/" from the .htaccess file by changing
Weird.. but those don't look like the automatically generated .htaccess files. Anything in the error log?

Quote from: BlackMage on May 01, 2007, 10:59:15 PMDoes .6 include the 301 redirects?
Yep!
"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."

schled

Quote from: eldʌkaː on May 02, 2007, 02:23:31 AM
Quote from: schled on May 01, 2007, 09:55:01 PMFound my problem... had to remove "/" from the .htaccess file by changing
Weird.. but those don't look like the automatically generated .htaccess files. Anything in the error log?

Sorry... I copied into my post parts of the old .htaccess content when I was trouble shooting. The correct ones work fine after removing the initial "/".

Dannii

I think I've found the problem that caused it, but your manual edit should be fine too.
"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."

metallica48423

eldacar:

The mod installed beautifully and i have not had a problem since.  the redirects work wonders :)

Thanks, i really appreciate the effort and time you have put into the mod!
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

Dannii

Everyone, let me know how your performance goes. The mod changes the load time string if you have it enabled.
"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."

metallica48423

Quote(Pretty URLs adds 0.015s, 3q)

This is on a board with little to no activity to speak of (a board that is being developed for an upcoming site) 

I will load the mod on my active forums tomorrow and see what sort of impact it has, and let you know.
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

Dannii

It should reduce down to 1 query once it has been used a bit more.. the URLs are cached in the database.
Also, not all of the time is caused by the mod, because SMF doesn't calculate it as the very last thing it does. Unless you're getting several seconds however, it shouldn't be a big problem.
"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."

metallica48423

Just an update, installed on my other forum.  Got the 404 error.  Made the change to the .htaccess - they worked.

Quote(Pretty URLs adds 0.035s, 3q)

I will let it sit installed for a bit and see what happens :)
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

Dannii

#330
"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."

metallica48423

you were right, it did drop down to 1 query
Quote
(Pretty URLs adds 0.031s, 1q)

Id say thats not a bad performance hit for such a useful mod :)
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

schled

2 Questions about the database;

Should we have a pretty_url column in smf_topics table or has this been carried over from older versions?

Can we delete single (or all) entries from the smf_pretty_urls_cache table?

Dannii

QuoteShould we have a pretty_url column in smf_topics table or has this been carried over from older versions?
You can remove it. Once I release version 1.0, I'll make upgrades remove any columns (if they ever need to that is) but for now it's just not worth it. The few people who are using the mod are pretty technically able.

QuoteCan we delete single (or all) entries from the smf_pretty_urls_cache table?
You can delete any you like. Additionally, if you install any other filter packages, they will empty that table too. And.. entries older than a day aren't used either. I think I'll add a setting that will allow you to change that age though.. so that you could set it to a week or something. There shouldn't be many circumstances where URLs should be changing more frequently than that.
"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."

CrazyMerlin

always good to have user-friendly urls.

the bit you said about it being good for SEO though...no longer true.

All search engines now follow query strings. This didn't used to be the case, but now is.

But still, good urls are good for members.

//erlin!

Dannii

Query strings isn't the issue so much as having keyword rich URLs. I have noticed improvements.
Mostly however this is a people friendly mod :)
"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."

Matthew Schenker

I really want to install this modification on my forum.  This is a great idea!

But in reading the comments from people, it looks like there are some errors with the modification.  Should I wait to install it?  Or is it good to go now?

I'm running SMF 1.1.2.

Thanks!

Dannii

"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."

Matthew Schenker

eldʌka,
So, there are just two bugs (you said you found "a few").  That's not bad at all!

When are you planning on doing the next release of this?

Is this going to be a basic feature in SMF 2.0?

Thanks!

Dannii

When I have some more features and filters to add. When I'm less busy with uni ;)
Probably not in 2.0. I'll update it for 2.0 though.
"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."

Advertisement: