Info
- 3 posts
- 2 voices
- Started 4 years ago by Burkie
- Latest reply from Burkie
- This topic is not resolved
Changing Topic Folder Name
-
- Posted 4 years ago #
I want to change the default topic/ folder to people/ for a new project I am working on, firstly I tried just renaming topic.php in the root to people.php which works when pretty urls is set to false, but using mutliviews or even modifying the rewrite-rules manually it still appears as topic/ any ideas?
-
- Posted 4 years ago #
Can you post your modified rewrite rules, the ones that did not work? You should be able to make any link with topic.php appear in the URL as
people. -
- Posted 4 years ago #
have tried the default rewrite rules
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^forum/([^/]+)/page/([0-9]+)/?$ /forum.php?id=&page= [L,QSA]
RewriteRule ^forum/([^/]+)/?$ /forum.php?id= [L,QSA]
RewriteRule ^people/([^/]+)/page/([0-9]+)/?$ /topic.php?id=&page= [L,QSA]
RewriteRule ^people/([^/]+)/?$ /topic.php?id= [L,QSA]
RewriteRule ^location/([^/]+)/page/([0-9]+)/?$ /tags.php?tag=&page= [L,QSA]
RewriteRule ^location/([^/]+)/?$ /tags.php?tag= [L,QSA]
RewriteRule ^location/?$ /tags.php [L,QSA]
RewriteRule ^profile/([^/]+)/page/([0-9]+)/?$ /profile.php?id=&page= [L,QSA]
RewriteRule ^profile/([^/]+)/([^/]+)/?$ /profile.php?id=&tab= [L,QSA]
RewriteRule ^profile/([^/]+)/([^/]+)/page/([0-9]+)/?$ /profile.php?id=&tab=&page= [L,QSA]
RewriteRule ^profile/([^/]+)/?$ /profile.php?id= [L,QSA]
RewriteRule ^view/([^/]+)/page/([0-9]+)/?$ /view.php?view=&page= [L,QSA]
RewriteRule ^view/([^/]+)/?$ /view.php?view= [L,QSA]
RewriteRule ^rss/?$ /rss.php [L,QSA]
RewriteRule ^rss/forum/([^/]+)/?$ /rss.php?forum= [L,QSA]
RewriteRule ^rss/people/([^/]+)/?$ /rss.php?topic= [L,QSA]
RewriteRule ^rss/tags/([^/]+)/?$ /rss.php?tag= [L,QSA]
RewriteRule ^rss/profile/([^/]+)/?$ /rss.php?profile= [L,QSA]
</IfModule>
-
You must log in to post.