• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

why did you *not* use friendly seo urls?

Marcus

Well-known member
#1
I am planning to migrate to xf 1.1 very soon and I am tempted to enable friendly urls only in the way that the title is not part of the url:

/forum/thread/435345/
/forum/forums/1234/

What are your reasons to not put in the page title within the url? Here are some of my ideas:
- once you switch the title later, all the older title urls would be different
- harder to find and replace, manipulate existing urls as you have to rewrite the title, too.
- possible very minimal effect on page generation time
- cleaner url
 

Forsaken

Well-known member
#3
I am planning to migrate to xf 1.1 very soon and I am tempted to enable friendly urls only in the way that the title is not part of the url:

/forum/thread/435345/
/forum/forums/1234/

What are your reasons to not put in the page title within the url? Here are some of my ideas:
- once you switch the title later, all the older title urls would be different
- harder to find and replace, manipulate existing urls as you have to rewrite the title, too.
- possible very minimal effect on page generation time
- cleaner url
Just so you know, the only part that matters in the URL is the ID.

You can change all the words in the title and leave the ID, and it'll work fine.

http://xenforo.com/community/threads/random-long-title-for-example.21269/
http://xenforo.com/community/threads/qwerty.21269/
http://xenforo.com/community/threads/another-example-title.21269/
 

Kier

XenForo Developer
Staff member
#4
once you switch the title later, all the older title urls would be different
Thread titles hardly ever change.
harder to find and replace, manipulate existing urls as you have to rewrite the title, too.
No you don't, just use the ID
possible very minimal effect on page generation time
So minimal as to be completely inconsequential
cleaner url
... which is also significantly less useful to any human seeing the URL and wondering what its content might be before the click it.
 

Brogan

XenForo moderator
Staff member
#6
The supplied .htaccess file needs no changes made to it on a standard installation.
The server must support mod_rewrite though.