Pretty URLs

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

Previous topic - Next topic

Dannii

Can you post lines 610-620?
"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."

dWhite

I've got a question Dannii. Unlike seo4smf, does this mod rewrite the URL for themes where you can click the table to get to places?

MacX

#2662
Quote from: Frozt on October 31, 2008, 02:51:45 PM
you could try this, first click the link of:

Admin > Maintenance > Convert HTML-entities to UTF-8 characters


and then in phpmyadmin

select this tables:

smf_pretty_topic_urls
smf_pretty_urls_cache


and empty it

that delete all urls



after that go to admin > Configuration > Pretty URLs

click in Maintance button
and then in Run maintenance tasks link


I did it.

Lot of thanks frozt ;)
Afer doing it titles of boards with accents are right. The characters with accents are replaced for characteres without accents.

Boards titles still equal, but anyway, i am gonna use the pretty_url table to change its name for a number.

Thank you man ;)

anakmacan

Quote from: Dannii on November 01, 2008, 08:30:54 AM
Can you post lines 610-620?

$queriesDiff = $db_count + $context['pretty']['db_count'] - (int) $matches[2];
// Remove the link if you like, I won't enforce it like others do
$newLoadTime = '<span class="smalltext">' . $txt['smf301'] . $newTime . $txt['smf302'] . $db_count . $txt['smf302b'] . ' (<a href="http://code.google.com/p/prettyurls/">Pretty URLs</a> adds ' . $timeDiff . 's, ' . $queriesDiff . 'q)</span>';
$buffer = str_replace($matches[0], $newLoadTime, $buffer);
}

*/

// Rewrite the buffer with Pretty URLs!
if ($modSettings['pretty_enable_filters'])
{



Another mod that also change htaccess is sitemap mod ive installed. Maybe they both clashed n cant be used together?

Dannii

Quote from: dWhite on November 01, 2008, 10:49:55 AMI've got a question Dannii. Unlike seo4smf, does this mod rewrite the URL for themes where you can click the table to get to places?
I don't know what you mean.

anakmacan, it looks like the mod has been installed twice. You'll need to manually go through all the files and check the changes are correct.
"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."

anakmacan

Dannii: Thanks, and Gladly it was test forum, i tried to install another (this one i installed pretty url first, then, smf sitemap) and no similar problem happened :) And youre right, my forum got error from other mods as well (becoz they're installed twice).

Assistance

The pretty urls work; sometimes
I would have to say about 90% of the time is shows pretty

On my front page I have ssi : board news, boards and welcome (pm)/login

Quote from: Assistance on October 25, 2008, 10:15:12 AM
<?php
ob_start
('ob_sessrewrite');
ssi_boardNews($board 1.0$limit 2$start null$length 250$output_method 'echo');
?>


perfect, thank you
~playing poker~

Dannii

That's not working properly?
"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."

Assistance



I did have ob_start('ob_sessrewrite'); used twice
(just removed one instance in one module) still reproduces non pretty

if I empty the cache it will always reproduce on first click after
~playing poker~

Dannii

What URLs aren't being prettified?
"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."

Assistance

ssi_boardNews
ssi_topBoards
~playing poker~

Dannii

Which specific URLs? Link?
"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."

Assistance

I'm kinda confused about specific urls, when its ALL of them

the urls when in the forum work fine 100%
its only using ssi with Joomla
~playing poker~

Dannii

Ahh, well I don't think it's really compatible with Joomla sorry.
"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."

Assistance

nope thats fine, was just playing around with options for the front page
~playing poker~

SISPro

Help lost my site.

after i installed and click the enable this and saved site went blank


Not Found

The requested URL /admin/ was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Now i am running simpleportal and the main site works with it just nothing else

http://www.freeimageforum.com

as you can see for yourself

SISPro

Help lost my site.

after i installed and click the enable this and saved site went blank


Not Found

The requested URL /admin/ was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Now i am running simpleportal and the main site works with it just nothing else

http://www.freeimageforum.com

as you can see for yourself

Dannii

http://code.google.com/p/prettyurls/wiki/TroubleShooting
Follow these instructions.

Does your server support mod_rewrite and .htaccess?
"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."

SISPro

yes

was going to take it out but can't even do that

SISPro

oh yea forgot to say that i have tags mod installed and that works just done of the other links work

Advertisement: