News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

Pretty URLs

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

Previous topic - Next topic

maihannijat

Quote from: aishaweb on February 16, 2010, 05:04:33 AM
Quote from: maihannijat on February 15, 2010, 01:46:14 AM
HI,

The pretty url work fine with administrator user, but when i am browsing my forum through guest user, the forum urls are original not pretty url.

Link?

Here is the link: www.afghanistanforums.com

Dannii

Angelotus, I can't see how that could be caused my this mod.

distante, read the trouble shooting page!
"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."

MordyT

As usual, I find that most of my mods I use are maintained by vbgamer45 :)


Anyways, I am trying to force the URL - meaning if you type in http://www.site.com and http://site.com, you get the same size. But Google caches it as two sites....so I want to add two very simple lines to the .htaccess file...

RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.site.com$
RewriteRule ^(.*)$ http://www.site.com/$1 [R=301]


But every time I do, it cause the forum to break...

Any ideas?
Want to see SMF in action? Head over to RvOClan.info

Angelotus

Quote from: Dannii on February 17, 2010, 09:47:38 PM
Angelotus, I can't see how that could be caused my this mod.

distante, read the trouble shooting page!

I don't know either, but it did happen after installing the mod.

Dannii

MordyT, does adding the L flag help? [L,R=301]
"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."

MordyT

Quote from: Dannii on February 18, 2010, 04:28:52 AM
MordyT, does adding the L flag help? [L,R=301]

I will try and post back...
Want to see SMF in action? Head over to RvOClan.info

Azrael1

hello,
i have moved the forum from one webspace hoster to another one. After this process, it is not possible to use pretty urls. When i enable it, than shows me the seo-friendly link an 404 error. But before it works great.

.htaccess is writeable and configurabel, mod write is 100% supported.

I have used after chanching the webhoster the repair php, the forum itself works, but not the pretty urls. I had still erased all entries of pretty urls in the database (include the tables in smf_options or smf_settings ((i forgot how it is named))).

Do any one have an answer?

Am'

Hi,

I'm confused, I use this module or simplesef of SlammedDime? what is the best ?

I only have a small forum

Thank you
اذا أحس أحد انه لم يخطأ ابدا في حياته, فهذا يعني أنه لم يجرب أي جديد في حياته
My Mods For SMF 2 RC3 : XQuote XCode - Vbulletin Style New Meta Tags

vbgamer45

Quote from: Am' on February 19, 2010, 10:30:15 AM
Hi,

I'm confused, I use this module or simplesef of SlammedDime? what is the best ?

I only have a small forum

Thank you
Either one works but you can only have one installed.

The advantage of Pretty Urls is that is very easy to expand and has support for the popular mods.
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

Am'

I noticed that :

- pretty stores the links in the tables sql and simplesef not.

- Simplesef add links in .html and not pretty.

Google does not prefer the links in .html ?
اذا أحس أحد انه لم يخطأ ابدا في حياته, فهذا يعني أنه لم يجرب أي جديد في حياته
My Mods For SMF 2 RC3 : XQuote XCode - Vbulletin Style New Meta Tags

vbgamer45

For google it really does not matter so much what the ending is as long as url does contain a ton of endless variables than it is fine.

Basically what you are doing with these mods is to create a more human readable link. Doing this also adds more keywords to your pages since you have the urls in a pretty format which then in turn helps your search engine ranking since there are more keywords on the page.
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

luismanson

is there any way to change one of the actions? im on dreamhost and /stats is already in use by the control panel and i can not change it  :(

vbgamer45

Check a couple posts back for a fix someone asked the same question
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

luismanson

oh, i didn't saw it.
thanks!

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

Dannii

Azrael1, did you follow the trouble shooting page?
"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."

Azrael1

Quote from: Dannii on February 21, 2010, 08:31:01 AM
Azrael1, did you follow the trouble shooting page?

yes, i did. but it can't fix the problem.

vbgamer45

Can you post your .htaccess file?
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

playdiune

I still have several errors like this;

QuoteGUEST   Today at 01:18 
guest IP     96d17f121b316cc2228eb3da9fb30740 
http://www.new-digital.net/index.php?topic=5221.0 
Erro na base de dados: Duplicate entry '5221' for key 'PRIMARY'
Ficheiro: /home2/newdigi3/public_html/Sources/PrettyUrls-Filters.php
Linha: 290

Is there a solution for this ?

thanks
My personal forum is now improving thanks to the Power of SMF

http://www.new-digital.net

L1F3

#4959
So, i installed pretty URLs. Everything is ok but one problem. When i write post or use some option of moderation in the topic, i'm redirecting to white page. If i press refresh, i get this error: You already submitted this post! You might have accidentally double clicked or tried to refresh.

And post appears, but that white window sux... Why is it?

Everything is ok when i disable URL rewriting on Topics and Boards.

Advertisement: