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

Dannii

Quote from: Sakae on June 23, 2009, 12:51:34 AM
Oh boy.

This MOD rewrote my entire .htaccess... That's a big problem when you trust it enough to don't make any backups.
It does make backups... check .htaccess.backup.

Quote from: [Daydreamer] on June 23, 2009, 02:39:20 AM
I have this errors on my error log.
.../index.php?action=mgallery;sa=item;id=934;
Database Error: Illegal mix of collations for operation ' IN '
File: /Sources/PrettyUrls-Filters.php
Line: 55

This error repeated in different sections..
index.php?pretty;board=konu-disi;topic=bu-siteye-erisim-kendi-karariyla-engellenmistir!.0
Database Error: Illegal mix of collations for operation ' IN '
File: /Sources/PrettyUrls-Filters.php
Line: 55

index.php?pretty;action=downloads&sa=view;down=12
Database Error: Illegal mix of collations for operation ' IN '
File: /Sources/PrettyUrls-Filters.php
Line: 55


52:     SELECT url_id, replacement
53:    FROM {db_prefix}pretty_urls_cache
54:    WHERE url_id IN ({array_string:urls})',
==>55:    array('urls' => $urls_query));
56:    while ($row = $smcFunc['db_fetch_assoc']($query))

I use 1.0 RC.
What encoding is your pretty_url_cache?

Quote from: _Anthony_ on June 23, 2009, 04:20:51 AM
So dannii are a majority of the glitches with 1.0 rc fixed now?
They appear to be yes.
"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."

Özgür

Quote from: Dannii on June 23, 2009, 12:16:51 PM
What encoding is your pretty_url_cache?

latin1_swedish_ci

Problem is this ?
Because my site encoding utf8
So Long

Dannii

Yeah try converting it to utf8. Might work..
"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."

Bruno36

#3943
Hello!

I install the mod Glossary
http://custom.simplemachines.org/mods/index.php?mod=1525

In the menu bar of the forum, when I click on "Glossary" then click "add a new word,"    
The small window that opens and closes immediately
Normally I should have a small window in javascript to add a word.

   
Normally I should have a small window in javascript to add a word.


login: invite
passe: 123456
http://www.scooter-chinois-4t.com/index.php?action=glossary
Bruno36 the French
SMF 2.0.9

bostonb

not sure if this has been answered in this really long thread already, but I am wondering if this mod really does any help for SEO, or is it not worth the trouble if SEO benefits are one's only goal?

I am debating on installing it but if it isn't going to make any difference in SEO then I will probably not go to the trouble..... any comments about this please? or any other recommendations?

Afro

the only issue i have with this mod is that it rewrote everything onmy .htaccess file.
now all the sites on my domain points to the root forum directory.

how do i fix that?

ryanhellyer

Quote from: bostonb on June 23, 2009, 11:01:32 PMI am debating on installing it but if it isn't going to make any difference in SEO then I will probably not go to the trouble..... any comments about this please? or any other recommendations?

I consider it one of the most important improvements to SEO you can make beyond what is possible at theme level.

The other thing which would be very beneficial SEO wise would be ping/track backs, but I haven't found a way to do that with SMF yet. The only softwares I've found which are capable of doing that are vBulletin (with a paid Mod) or bbPress which can do it straight out of the box.

Özgür

Quote from: Akpaka on June 24, 2009, 04:38:09 AM
the only issue i have with this mod is that it rewrote everything onmy .htaccess file.
now all the sites on my domain points to the root forum directory.

how do i fix that?

Install 1.0 RC
So Long

Dannii

Quote from: Bruno36 on June 23, 2009, 01:42:50 PM
Hello!

I install the mod Glossary
http://custom.simplemachines.org/mods/index.php?mod=1525
I suspect the mod is using relative URLs, or checking against $scripturl. Ask the mod author for help.

Quote from: bostonb on June 23, 2009, 11:01:32 PM
not sure if this has been answered in this really long thread already, but I am wondering if this mod really does any help for SEO, or is it not worth the trouble if SEO benefits are one's only goal?

I am debating on installing it but if it isn't going to make any difference in SEO then I will probably not go to the trouble..... any comments about this please? or any other recommendations?
If people post links to your forums without giving them a proper text, ie, http://forum.com/board/topic/ it will probably help. The best thing for SEO is to use a good theme and good content. And have backlinks. There's no easy trick.

Quote from: Akpaka on June 24, 2009, 04:38:09 AM
the only issue i have with this mod is that it rewrote everything onmy .htaccess file.
now all the sites on my domain points to the root forum directory.

how do i fix that?
It will have made a backup. 1.0RC will also not overwrite anything outside its section.
"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."

Bruno36

   
Unfortunately the creator of the mod does not respond to my question, and I want to keep the mod pretty url that I find super cool
Bruno36 the French
SMF 2.0.9

Afro

QuoteIt will have made a backup. 1.0RC will also not overwrite anything outside its section

the pretty url rewrote every thing.
eve the .htacces backup has the same codes with the main .htacess file.

i dont know what to do about that

Afro

so after uninstalling the mod, i cant go the other sites on my domain too..
someone need to tell me what to do here.

my whole .htaccess was rewritten. and no backup made by this mod.

Dannii

Quote from: Akpaka on June 24, 2009, 06:11:12 PM
QuoteIt will have made a backup. 1.0RC will also not overwrite anything outside its section

the pretty url rewrote every thing.
eve the .htacces backup has the same codes with the main .htacess file.

i dont know what to do about that
Then you must have run it twice. And if you don't have your own backup... well I guess you'll have to write it out again by hand?
"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."

ryanhellyer

Quote from: Akpaka on June 24, 2009, 07:57:12 PM
my whole .htaccess was rewritten. and no backup made by this mod.

Upload one of your own backups then. If you haven't done that then you are pretty much screwed. I always recommend backing everything up before install unknown software, who knows what the heck it is going to do to your site.

Arkangel

topic answer error:

       
do not display images in response topic .. even when I quote



ScopeXL

I installed this and everything said it installed fine, however when it redirects me after install it tells me "install_template could not be loaded" And I see no admin options for it. How can this be fixed? I'm running SMF 1.1.9

Afro

Quote from: Dannii on June 24, 2009, 10:41:11 PM
Quote from: Akpaka on June 24, 2009, 06:11:12 PM
QuoteIt will have made a backup. 1.0RC will also not overwrite anything outside its section

the pretty url rewrote every thing.
eve the .htacces backup has the same codes with the main .htacess file.

i dont know what to do about that
Then you must have run it twice. And if you don't have your own backup... well I guess you'll have to write it out again by hand?

Ok Danni, i guess the option left now is to write the file out by hand again.
Do i have to include the codes added by the pretty url mod?

2 - the original codes inside the .htaccess file was about 3 lines of short codes. though i dont remember it but it was something like "allow/deny and some strings like / or \"
i will b happy if someone write that out for me or do you know if my host can recall that?

Bruno36

Quote from: Bruno36 on June 24, 2009, 10:28:18 AM
   
Unfortunately the creator of the mod does not respond to my question, and I want to keep the mod pretty url that I find super cool
Bruno36 the French
SMF 2.0.9

ryanhellyer

Hi,
I received a PM asking for more information about recommended SEO features in themes which I mentioned above. Since it was related to this topic I'll post it here.

Theme SEO is just like any other onsite SEO methods, correct use of headings, semantic tags etc. A good example of how to code semantic themes can be seen any of Eren/Forsakenlad's themes which are the best coded SMF themes available (that I'm aware of). Most SMF themes have appalling on site SEO and would take very little to improve. They almost always feature a massive over abundance of tags, abuse of tables, headings etc.

Other important things to consider are title tags and possibly using noindex on pages which you don't need indexed by search engines (registration, profile, search pages etc.). If you don't want to noindex some pages then you could use the nofollow attribute to stop the main parts of your site form passing page rank to them.

Beyond that the sky is the limit on SEO. There are many resources out there on the subject and it isn't possible to explain all of it in a single forum post. A good source of information/discussion on the topic is on the SitePoint forums ... http://sitepoint.com/

Rajasekharan

1.) I have the a WordPress blog installed in the subfolder 'blog.'
2.) I have the SMF version 1.1.9 installed in the subfolder 'forum.'
3.) Wordpress is working fine as far as redirect to non-www, traling slash and stripping index.php are concerned with htaccess code.
4.) I have pretryurl working for forum.
The url for blog is http://example.com/article-name/
The url for forum is http://example.com/forum/board-name/article-name/

Now my problems:

1.) What htaccess code needs to be added for the forum to be redirected to non-www url (either in the root htaccess code or in the subfolder)?
2.) What htaccess code needs to be added for the forum to add a trailing slash in the browser if it's missing (in the root htaccess code or in the subfolder htaccess code)?
3.) What htaccess code needs to be added for the forum to strip the index.php from url?

Advertisement: