Pretty URLs

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

Previous topic - Next topic

Neubivljiv

How to rewrite old urls (when I change board name)?

I also tried PU maintenance and clear cache but it wont work. I still get: "/forum/general-disscusion/" instead of "/forum/my-real-board-name" for first board.

Thanks in advance.

Dannii

When you go to the modify boards page there are links for setting their URLs.
"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."

Neubivljiv

There aren't PU options, but I reinstall PU and then it's working (probably missing in modification.english.php or something). Thanks for help.

ukhalik2

Sir! I have a problem!
Actually I moved my SMF, ie,  downloaded the database from a host and uploaded to the another host!
I had already installed the PretyurlS in the previous data!
Everything is now working fine!
Now I again installed the prettyurlS in the new smf!

but now when i activate it, it point the boards to the previous domain
i.e my previous doamin was eg, www.mysite.co.cc
but now I moved to www.mysite.com
but when I activate the mod and click on any board! eg, mysite.com/board1
it points me to mysite.co.cc/board1
how to solve this!

hope I explained my problem!
I am using smf 1.1.10.
plz help!

Dannii

Hi ukhalik2, please read the trouble shooting page, it shows you how to fix that problem. :)
"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."

ukhalik2

Quote from: Dannii on January 03, 2010, 07:11:28 AM
Hi ukhalik2, please read the trouble shooting page, it shows you how to fix that problem. :)
but I have already used repair_settings.php to repair all the links
and they work fine when the pretyURLs is deactivated!

Dannii

Yes but there is one more setting to fix. Using the code in the second section of the trouble shooting page will fix it.
"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."

ukhalik2

Quote from: Dannii on January 03, 2010, 09:28:47 AM
Yes but there is one more setting to fix. Using the code in the second section of the trouble shooting page will fix it.
where is SSI.php file????

MaXiForum.cz


rd

1 question, what will happen if I have 2 topics with the same name, in the same board?

Example: /board2/topic.     /board2/topic1

will there be a conflict? Or dies the mod add something to the URL to show that the two topics are different.



Dannii

ukhalik2, same place as your forum's index.php

mohd7590, it will add the topic ID to one of them.
"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."

ukhalik2

Quote from: Dannii on January 04, 2010, 12:13:25 AM
ukhalik2, same place as your forum's index.php
thanks, this one solved!
prettyURLs is working great now!
but! another problem! :(
I am using PrettyURLs and the sitemap mod...
but in XML sitemap dont shows links like this mysite.com/category
but it shows like this mysite.com/board1
I am using SMF1.1.10

SilverKnight

Pretty Url needs to be updated to support board name changes, as it doesn't change it to the correct one after renamed.

sherwinaval

I'm not sure if this has been asked before.. But using Pretty URL, how do you know the topic ID of a specific topic? Thanks.

Dannii

ukhalik2, try reinstalling the sitemap mod.

SilverKnight, URLs aren't supposed to change! But you can modify the board URLs in the modify boards page.

sherwinaval, it's not easy. Why do you need to know? You should be able to check the page source and find the topic ID in some javascript code.
"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."

saintsinner

I am using Pretty URL on my SMF 2.0RC2
The problem is how do i know post id or poll id as the url doesnt show it?
can anyone help me?

thanks

Dannii

"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."

sherwinaval

@Dannii
Thanks for the reply. I need to know for topic merging and poll displays. I'm using simpleportal. Well, I hope soon it would be easier :)

smith_13

This feature must be in core! :) I will try it later some time.

Mike Vartan

Nevermind. I found my issue in the troubleshooting page. You should add the "new-domain" thing into the maintenance button

Advertisement: