Jump to content

Beta 5 Friendly URL

Featured Replies

Posted

I went here: 1. Tools & Settings >2. System Settings >3. System >4. Server Environment

To enable friendly URLs but it's not happening. How is this supposed to be done in beta 5? I have imported a test database fine. All of the (thousands and thousands) of existing threads do not have friendly URLs.

errhhm does rewrite have to use apache rewrite mod or is it a rewrite in php??

If you have mod_rewrite available you can get rid of index.php in the URL. If not, you can still use friendly urls but it will be formatted like so

http://domain.com/forums/index.php/topic/12345-Topic-title

Is there any way we can change the way the URLs are done? Because it looks really weird if you have your forum running in a directory on your site called "forum" and you go into a forum and are then left with a url which looks like http://www.random.com/forum/forum/1-new-forum

Yes, it has been discussed and posted elsewhere already. :)

oh.... ok. i'm going to assume it's on the customer support forums, no?

Yes, Matt posted some info in the customer lounge on it.

  • 3 weeks later...

any chance u can set me in the right direction as to how to change this? (i.e. the file which will need to be edited)

admin/applications/forums/extensions/furlTemplates.php

  • Author

[quote name='bfarber' date='14 May 2009 - 09:44 PM' timestamp='1242333882' post='1801815']
admin/applications/forums/extensions/furlTemplates.php


What editing needs to be done over there? (furlTemplates.php)

I understand that I need to add mod_rewrite to .htaccess:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /forumz/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !..+$
RewriteRule . /forum/index.php [L]
</IfModule>

and $INFO['use_friendly_urls'] = '1'; to conf_global.php.

You should post that sort of question in the peer to peer forum.

that was pretty easy to sort out, the downside is that with every upgrade I will have to go into the code and edit that file. Small price to pay i guess :)

Just keep a backup of the file. :)

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.