News:

Join the Facebook Fan Page.

Main Menu

Pretty URLs

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

Previous topic - Next topic

Tomy Tran

#6700
- The question was answered before.
- There's no solution, sorry.
- I forgot about your post.

(edit: please be nice to other users)

fma965

Quote from: Tomy Tran on July 04, 2012, 08:21:48 PM
- The question was answered before.
- There's no solution, sorry.
- I forgot about your post.

(edit: please be nice to other users)

ok well firstly when the hell was the question answered before?, how can there be no solution there obviously is just may not be simple. Make your mind up!

nend

Quote from: fma965 on July 05, 2012, 10:06:14 AM
Quote from: Tomy Tran on July 04, 2012, 08:21:48 PM
- The question was answered before.
- There's no solution, sorry.
- I forgot about your post.

(edit: please be nice to other users)

ok well firstly when the hell was the question answered before?, how can there be no solution there obviously is just may not be simple. Make your mind up!

I don't want to sound blunt, but I am real familiar with this mod and if you disable action rewriting then Pretty URLs is no longer rewriting action urls. The problem is most likely caused by another mod and not Pretty Urls


RewriteRule ^(projects|p2map|fcbrowser|youtube)/?$ ./index.php?pretty;page=$1 [L,QSA]
# Rules for: boards


This line is also suspicious since the first line isn't used by Pretty Urls. Also Pretty Urls adds a empty line between actions and boards. Something is going on in your .htaccess that is not related to Pretty Urls.

fma965

Quote from: nend on July 06, 2012, 01:21:37 AM
Quote from: fma965 on July 05, 2012, 10:06:14 AM
Quote from: Tomy Tran on July 04, 2012, 08:21:48 PM
- The question was answered before.
- There's no solution, sorry.
- I forgot about your post.

(edit: please be nice to other users)

ok well firstly when the hell was the question answered before?, how can there be no solution there obviously is just may not be simple. Make your mind up!

I don't want to sound blunt, but I am real familiar with this mod and if you disable action rewriting then Pretty URLs is no longer rewriting action urls. The problem is most likely caused by another mod and not Pretty Urls


RewriteRule ^(projects|p2map|fcbrowser|youtube)/?$ ./index.php?pretty;page=$1 [L,QSA]
# Rules for: boards


This line is also suspicious since the first line isn't used by Pretty Urls. Also Pretty Urls adds a empty line between actions and boards. Something is going on in your .htaccess that is not related to Pretty Urls.

yep i added that my self to make simple portal pages redirect to /pagename and even without that it doesnt work. i tried on a fresh install of smf and pretturl and cookie law but the same thing happens so it clearly is prettyurls causing it. but as you already know i moved back to MyBB but thanks for the help.

mark7144

I have recently changed the PrettyURL of a few important topics in my forum. I then created 301 redirects in .htaccess so the old PrettyURLs would redirect to the new. The problem is, those redirects are being overridden by this mod causing them to fail because it adds this string at the end: ?pretty;board=example;topic=example.0 (I renamed the board and topic to example here).

Please can you help? How do I get my basic 301s to work?

the_shadow

hello people.... i've install this mod on smf 2.0.2... but i've one problem... when i modify one title topic.. the url remains the same... there's some option to rebuild this?? for expemple

1º -  topic www...../test.php
e wanna rename to old_teste
and it shuld be like this the topic www..../old_test
but remais iqual to the original....

ther's any solution?

vbgamer45

It does not change url if you modify the topic would hurt seo.
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

the_shadow

Quote from: vbgamer45 on July 21, 2012, 11:02:33 AM
It does not change url if you modify the topic would hurt seo.
but i wanna change it!!!! :S :(

SMFHacks.com Team

Only way to do is you would have to modify it in the database in the prettyurls cache i believe.
Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

the_shadow


brzmarou

Hello
I have a problem ... I try to do something like this:
breadcrumbs looks like:
domain.com  » board » forum » subforum » test topic

By contrast URL like this:
domain.com/subforum/test-topic/

The question is - if you can, or how to set up (I suppose. Htaccess;)) to the address looks like this:
domain.com/board/forum/subforum/test-topic/

or even as a last resort

domain.com/forum/subforum/test-topic/


I try with configuration in prettyulr (admin>forum>boards and categories>prettyulrs on chosen subforum) but ...

when i

when I enter forum/subforum get forumsubforum , ... not -> forum/subforum in the url address

/ Does not work ..
for example: board/forum shows as boardforum
Someone help me with this? :)

MiY4Gi

Check out my new website, MyAnimeClub.net. I plan to create the largest anime community, and most fun and user-friendly anime forum in the world. It's still in the development stage though.

Arantor

E.g. domain.com/smf/general-discussion/some-stuff/my-topic

(Remember that other systems call the entire forum 'the board' and the same software calls individual boards 'forums')
Holder of controversial views, all of which my own.


MiY4Gi

I see. Anyway, he sounds like he's requesting almost the same thing that I need. Portamx's SEF, which I'm using at the moment, only gives the immediate location in the URL (e.g. website.tld/topic_name), not the "link tree" as well.

It seems that Pretty URL's does most of what I need, but since I have a portal (Portamx), I would like "/forum/" indicated in my URL as well (e.g. website.tld/forum/board/topic_name). Will it be difficult to do this?
Check out my new website, MyAnimeClub.net. I plan to create the largest anime community, and most fun and user-friendly anime forum in the world. It's still in the development stage though.

hellboy78

what happen if into settings I check
Use caching instead of database table for PrettyUrls ???

at the moment, pretty urls cache is saved into database, and increase about 10MB per day,
I have to run the maintenance pretty url to empty that table.

vbgamer45

Quote from: hellboy78 on July 27, 2012, 03:29:55 AM
what happen if into settings I check
Use caching instead of database table for PrettyUrls ???

at the moment, pretty urls cache is saved into database, and increase about 10MB per day,
I have to run the maintenance pretty url to empty that table.
Quote from: hellboy78 on July 27, 2012, 03:29:55 AM
what happen if into settings I check
Use caching instead of database table for PrettyUrls ???

at the moment, pretty urls cache is saved into database, and increase about 10MB per day,
I have to run the maintenance pretty url to empty that table.
If you rename topic it will not keep the old url etc.
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

Tomy Tran

Quote from: vbgamer45 on July 27, 2012, 10:36:30 AM
Quote from: hellboy78 on July 27, 2012, 03:29:55 AM
what happen if into settings I check
Use caching instead of database table for PrettyUrls ???

at the moment, pretty urls cache is saved into database, and increase about 10MB per day,
I have to run the maintenance pretty url to empty that table.
Quote from: hellboy78 on July 27, 2012, 03:29:55 AM
what happen if into settings I check
Use caching instead of database table for PrettyUrls ???

at the moment, pretty urls cache is saved into database, and increase about 10MB per day,
I have to run the maintenance pretty url to empty that table.
If you rename topic it will not keep the old url etc.

right.

MaTheRyS

Hello,

I would like to report a critical bug in this mod: the end of urls of the categories are not filtered.
For example:
hxxp://domain.tld/forum/categorie1/ is the normal url. But we can add anything after !
hxxp://domain.tld/forum/categorie1scam
hxxp://domain.tld/forum/categorie1_thieves
hxxp://domain.tld/forum/categorie1/anythingthatdoesnotexist

All these virtual url exist (they don't redirect to hxxp://domain.tld/forum/categorie1/) but they all show the /categorie1/ content instead of generate a 404 error (or really redirect to /categorie1/).

This opens the door to an easy negative SEO. (no need to publicly explain the entire procedure, but I hope you understand that this problem is critical !)

----------------------------------

I had a second problem but certainly it's my fault this time :
I tried to redirect hxxp://www.domain.tld/forum/ to hxxp://domain.tld by using .htaccess.
It works with no problem with basic smf but as soon as Pretty URLs is installed, no way to success with this redirection.
(not so important as we can define the prefered domain in google webmaster tool, but it's a little dirty)

----------------------------------

Third problem : the same with redirection of that type :
hxxp://domain.tld/index.php to hxxp://domain.tld/
All my attempts produce a bad redirection in all navigators as soon as Pretty URLs is installed.

If someone has a solution to the 2nd and 3rd problem, i would be very happy :-)

Do not think that I disparage this mod, i think it's a must have for any smf forum !
But i'm just trying to share some bugs in order to improve it.
(sorry for my awful english)

Arantor

That's a problem in regular SMF as well, not just this mod.

(And no, it's not a must have for any SMF forum. Almost all of the multi-million post SMF forums are quite happy WITHOUT it, for example)
Holder of controversial views, all of which my own.


nend

If you wish though the file with the error that is produced when these invalid URL's are entered is Load.php. The text string is topic_gone, so if you want you can code in a redirect or a 404. Myself I have coded a call to my 404 function when this error occurs. ;)

Advertisement: