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

DareDevil1990

http://img185.imageshack.us/img185/4556/85738961nq0.jpg the mod installs without even a single error but i still get this error  :'( :'( i am using smf 1.1.4

Dannii

You need to fix your modifications.english.php file. Check that there is only one ?> in the file and that it's the very last thing.
"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."

ellion

Quote from: Dannii on July 12, 2008, 04:02:07 AM
Do you have other .htaccess files on the server?

thanks, that was the problem right there.

Angelotus

I have just installed the package and edit the settings. Now the urls are rewritten into pretty urls, but now not any page can be found anymore. What to do????

jepot5

^^do u have .htaccess?

redone

Quote from: Angelotus on July 13, 2008, 03:37:44 AM
I have just installed the package and edit the settings. Now the urls are rewritten into pretty urls, but now not any page can be found anymore. What to do????
Can you post a link?

Angelotus

Quote from: RedOne on July 13, 2008, 10:24:08 AM
Quote from: Angelotus on July 13, 2008, 03:37:44 AM
I have just installed the package and edit the settings. Now the urls are rewritten into pretty urls, but now not any page can be found anymore. What to do????
Can you post a link?


I manually uninstalled the package for now, so I can not give you a link now.
The webadres is at www.weeklyfun.nl (forum is at http://forum.weeklyfun.nl)

Maybe if I can make you a temp admin, you can take a look yourself? I couldn't find the solution for the prob...

jkrlvgn

Quote from: Dannii on July 10, 2008, 09:09:53 PM
It will show the titles if TinyPortal is using them. If TP is just using the numbers it won't.

Yeah...it's kinda not.  I'll check with the TP side of things, but they'll probably tell me that it's not their issue.  I'll figure it out, no worries.  Right now, it works for everything else without a hassle for me.  :D

wiidice

I went from one seo software to this because the other didn't work like it should.  is there a way to make this look like the other? 

Example:
Old SEO: hxxp:www.domain.com/forums/general/hello-world-t10.0.html [nonactive]
Pretty URL: hxxp:www.domain.com/forums/general/hello-world [nonactive]

I get allot of traffic from Search engines and need to see if I can put the Topic number, post number, and .html at the end. 

Can you help with this?  has this been asked?

Dice :)

SNBlog

#2009
Hi!
Actually my printpage url is like this:
http://darkwolf.altervista.org/forum/help-desk/informazioni/?action=printpage
but with this i can block in robots.txt only with "*"
(This robots.txt file has some errors. They are marked in pink color.)

Can i change url from:
http://darkwolf.altervista.org/forum/help-desk/informazioni/?action=printpage
to:
http://darkwolf.altervista.org/forum/printpage/help-desk/informazioni/
???
I want this mod for this reason:
http://www.google.it/search?hl=it&q=guida+alluso+di+ciclamab&btnG=Cerca&meta=  :)

DareDevil1990

Quote from: Dannii on July 12, 2008, 11:39:36 AM
You need to fix your modifications.english.php file. Check that there is only one ?> in the file and that it's the very last thing.

i did what u said but i am still getting the same error  :(

Carlos Gandra

Hello,

How can I change a Profile URL? Two of my users have changed their name and nick, but pretty urls didn't update the new name, so they can't actually access their profiles...

Thank you,
Regards from Portugal
Carlos Gandra
Mundo dos Animais

argimiro

#2012
Quick one - does anyone know the likely effect of trying to run SMF with Pretty URLs, over SSL? Would it work okay?

[edit] - don't worry, looks like we're not going to be using SSL afterall.

Carlos Gandra

Quote from: ac99 on July 18, 2008, 03:47:03 PM
Hello,

How can I change a Profile URL? Two of my users have changed their name and nick, but pretty urls didn't update the new name, so they can't actually access their profiles...

Thank you,
Regards from Portugal

Already solved it, only by truncating pretty_urls_cache table :)
Carlos Gandra
Mundo dos Animais

aldo

I keep getting thousands of errors like these:
http://mschat.net/forum/index.php?pretty;board=news-and-announcements.0 
2: Division by zero
File: /home/nscnet/mschat.net/home/forum/Sources/MessageIndex.php
Line: 539 (I also get the same error but for line 538)

I am running SMF 2.0 Beta 3.1, is this a known bug or something?

Dannii

Quote from: Angelotus on July 13, 2008, 03:37:44 AM
I have just installed the package and edit the settings. Now the urls are rewritten into pretty urls, but now not any page can be found anymore. What to do????
Can you confirm your server supports mod_rewrite and .htaccess?

Quote from: wiidice on July 13, 2008, 11:28:11 PM
I went from one seo software to this because the other didn't work like it should.  is there a way to make this look like the other? 

Example:
Old SEO: http://www.domain.com/forums/general/hello-world-t10.0.html
Pretty URL: http://www.domain.com/forums/general/hello-world

I get allot of traffic from Search engines and need to see if I can put the Topic number, post number, and .html at the end. 

Can you help with this?  has this been asked?

Dice :)
Make sure you're using a 0.9 snapshot, then make a package from these files and install it: http://prettyurls.googlecode.com/svn/trunk/extras/

Quote from: Dark-Wolf on July 15, 2008, 07:45:17 AM
Hi!
Actually my printpage url is like this:
http://darkwolf.altervista.org/forum/help-desk/informazioni/?action=printpage
but with this i can block in robots.txt only with "*"
(This robots.txt file has some errors. They are marked in pink color.)

Can i change url from:
http://darkwolf.altervista.org/forum/help-desk/informazioni/?action=printpage
to:
http://darkwolf.altervista.org/forum/printpage/help-desk/informazioni/
???
I want this mod for this reason:
http://www.google.it/search?hl=it&q=guida+alluso+di+ciclamab&btnG=Cerca&meta=  :)
No you can't. Instead it would be better to add the noindex meta.

Quote from: keshav on July 17, 2008, 06:14:40 AM
i did what u said but i am still getting the same error  :(
If you're still having a problem post the file here.

Quote from: argimiro on July 18, 2008, 08:28:06 PM
Quick one - does anyone know the likely effect of trying to run SMF with Pretty URLs, over SSL? Would it work okay?

[edit] - don't worry, looks like we're not going to be using SSL afterall.
Well for future reference, unless your server has different rules for .htaccess, I don't see why it wouldn't work.

Quote from: aldo on July 18, 2008, 09:49:09 PM
I keep getting thousands of errors like these:
http://mschat.net/forum/index.php?pretty;board=news-and-announcements.0 
2: Division by zero
File: /home/nscnet/mschat.net/home/forum/Sources/MessageIndex.php
Line: 539 (I also get the same error but for line 538)

I am running SMF 2.0 Beta 3.1, is this a known bug or something?
I've never seen that before. Can you post lines 535-545 here.
"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."

aldo

Here it is:

'preview' => $row['last_body'],
'icon' => $row['last_icon'],
'icon_url' => $settings[$context['icon_sources'][$row['last_icon']]] . '/post/' . $row['last_icon'] . '.gif',
'href' => $scripturl . '?topic=' . ($row['approved'] == 2 && !empty($row['id_previous_topic']) ? $row['id_previous_topic'] : $row['id_topic']) . ($user_info['is_guest'] ? ('.' . (!empty($options['view_newest_first']) ? 0 : ((int) (($row['num_replies']) / @$context['pageindex_multiplier'])) * @$context['pageindex_multiplier']) . '#msg' . $row['id_last_msg']) : (($row['num_replies'] == 0 ? '.0' : '.msg' . $row['id_last_msg']) . '#new')),
'link' => '<a href="' . $scripturl . '?topic=' . ($row['approved'] == 2 && !empty($row['id_previous_topic']) ? $row['id_previous_topic'] : $row['id_topic']) . ($user_info['is_guest'] ? ('.' . (!empty($options['view_newest_first']) ? 0 : ((int) (($row['num_replies']) / @$context['pageindex_multiplier'])) * @$context['pageindex_multiplier']) . '#msg' . $row['id_last_msg']) : (($row['num_replies'] == 0 ? '.0' : '.msg' . $row['id_last_msg']) . '#new')) . '" ' . ($row['num_replies'] == 0 ? '' : 'rel="nofollow"') . '>' . $row['last_subject'] . '</a>'
),
'is_sticky' => !empty($modSettings['enableStickyTopics']) && !empty($row['is_sticky']),
'is_locked' => !empty($row['locked']),
'is_poll' => $modSettings['pollMode'] == '1' && $row['id_poll'] > 0,
'is_hot' => $row['num_replies'] >= $modSettings['hotTopicPosts'],
'is_very_hot' => $row['num_replies'] >= $modSettings['hotTopicVeryPosts'],

AlphaHot1

Any chance it will work with Blog: Community modification? http://custom.simplemachines.org/mods/index.php?mod=1209

Blogs with pretty URLs would be great :)

Dannii

aldo, are you sure the problem is this mod? I don't see how it could be related.

SunBeam, I'm sure it could... if someone made a filter I'd be happy to include it in the extras package, or I could make one if I find enough time.
"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."

AlphaHot1

Ok, I think Charles Hills (mod creator) is working on it. Thanks.

Advertisement: