| Welcome to Webforumz.com. |
|
Nov 13th, 2007, 20:14
|
#1 (permalink)
|
Blog Moderator 
Join Date: Dec 2006
Location: Norwich
Posts: 601
|
Smf Nightmare
|
|
|
Nov 15th, 2007, 06:02
|
#2 (permalink)
|
Blog Moderator 
Join Date: Dec 2006
Location: Norwich
Posts: 601
|
Re: Smf Nightmare
Ps when i press home. it goes to /index.php
can i have that redirected
|
|
|
Nov 15th, 2007, 13:16
|
#3 (permalink)
|
|
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 4,231
|
Re: Smf Nightmare
Hey Simon, this appears to be in the correct forum. Could you possibly explain the problem more clearly? I don't understand the question.. sorry. 
|
|
|
Nov 15th, 2007, 14:43
|
#4 (permalink)
|
|
Elite Veteran
Join Date: Sep 2006
Location: The Kingdom of Rabbits
Age: 21
Posts: 2,381
|
Re: Smf Nightmare
/index.php - change the link so it doesnt have the /index.php extension.
The others will be done through .htaccess - can you post up your .htaccess for me and I'll tell you where to alter it.
|
|
|
Nov 15th, 2007, 19:32
|
#5 (permalink)
|
Blog Moderator 
Join Date: Dec 2006
Location: Norwich
Posts: 601
|
Re: Smf Nightmare
Lchad - If you look all of those links are the same content and different urls#
Daniel - here is my current .htaccess
Quote:
# Pretty URLs mod
# http://code.google.com/p/prettyurls/
# .htaccess file generated automatically on: October 2, 2007, 10:30
RewriteEngine on
# Rules for: boards
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/?$ ./index.php?pretty;board=$1.0 [L,QSA]
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([0-9]*)/?$ ./index.php?pretty;board=$1.$2 [L,QSA]
# Rules for: topics
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/?$ ./index.php?pretty;board=$1;topic=$2.0 [L,QSA]
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/([0-9]*|msg[0-9]*|new)/?$ ./index.php?pretty;board=$1;topic=$2.$3 [L,QSA]
|
|
|
|
Nov 15th, 2007, 19:50
|
#6 (permalink)
|
|
Elite Veteran
Join Date: Sep 2006
Location: The Kingdom of Rabbits
Age: 21
Posts: 2,381
|
Re: Smf Nightmare
- Code: Select all
RewriteEngine on
# Rules for: boards
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/?$ ./index.php?pretty;board=$1.0 [L,QSA]
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([0-9]*)/?$ ./index.php?pretty;board=$1.$2 [L,QSA]
# Rules for: topics
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/?$ ./index.php?pretty;board=$1;topic=$2.0 [L,QSA]
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/([0-9]*|msg[0-9]#*|new)/?$ ./index.php?pretty;board=$1;topic=$2.$3 [L,QSA]
Try that
|
|
|
Nov 15th, 2007, 20:01
|
#7 (permalink)
|
Blog Moderator 
Join Date: Dec 2006
Location: Norwich
Posts: 601
|
Re: Smf Nightmare
not really
when you press the home bottun it does to /index.php is there a .htaccess code for that.
Because i can't find were to change that any were
|
|
|
Nov 15th, 2007, 20:04
|
#8 (permalink)
|
|
Elite Veteran
Join Date: Sep 2006
Location: The Kingdom of Rabbits
Age: 21
Posts: 2,381
|
Re: Smf Nightmare
My .htaccess was for the #.
Remove the /index.php from the <a href=">
|
|
|
Nov 15th, 2007, 20:06
|
#9 (permalink)
|
Blog Moderator 
Join Date: Dec 2006
Location: Norwich
Posts: 601
|
Re: Smf Nightmare
i can't. If you know are the code is for that please tell me
|
|
|
| Thread Tools |
|
|
| Rate This Thread |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|